cartCount
Ritorna il numero totale di oggetti nel carrello.
cartCount()
cartItems
Ritorna gli oggetti nel carrello.
cartItems()
{
"1224100":{
"count":1,
"price":12.3,
"options":"",
"title":"Aboca Digererbe Tavolette",
"sku":"905988263"
},
"1226260":{
"count":1,
"price":4.5,
"options":"",
"title":"Sapone profumo Mughetto",
"sku":"907906097"
},
"1226267":{
"count":3,
"price":4.5,
"options":"",
"title":"Sapone profumo Melograno",
"sku":"907906162"
},
"1231285#|#100x200_marrone":{
"count":1,
"price":100,
"options":"100x200_marrone",
"title":"Asciugamano varie misure",
"sku":"109178"
}
}
cartTotal
Ritorna l'importo totale dei prodotti nel carello.
cartTotal()
verifyCoupon
Controlla l'esistenza di un coupon.
verifyCoupon(couponCode)
| param | type | note | default |
|---|---|---|---|
| couponCode | string | Codice del coupon |
Non verifica la validità rispetto al carrello. Vanno usate le funzioni JS relative al carrello.
marketplaceGetSellerName
Ritorna il nome del seller
marketplaceGetSellerName(sellerUID)
| param | type | note | default |
|---|---|---|---|
| sellerUID | int | Codice unico del seller |
Ritorna un array chiave/valore con "name" valorizzato se seller trovato
Commenti