| variable | contenu |
|---|---|
| $variable | contenu |
| variable | type | contenu |
|---|---|---|
| $totals | Array | sub_total,tax,total, voir précisions plus bas |
| $products | Array | liste des produits dans le panier, voir précisions plus bas |
| $vouchers | Array | liste des réductions, voir précisions plus bas |
| variable | type | contenu |
|---|---|---|
| $heading_title | String | “Shopping cart”, “Panier” |
| text_items | String | <nombre d'article> - <prix> ex : “2 item(s) - 299.86 €” |
| text_empty | String | texte “Votre panier est vide !” |
| text_cart | String | texte “voir panier” |
| text_checkout | String | texte “commander” |
| text_payment_profile | string | text “Profil de paiement “ |
| button_remove | String | texte “enlever” |
| variable | type | contenu |
|---|---|---|
| $cart | String | url absolue de la route=checkout/cart |
| $checkout | String | url absolue de la route=checkout/checkout |
| $totals | ||
|---|---|---|
| x | Array | |
| code | String | |
| title | String | |
| text | String | |
| value | Float/Int ? | |
| sort_order | Int |
| $totals | ||
|---|---|---|
| 0 | Array | |
| code | sub_total | |
| title | Sub_total | |
| text | “248.49 €” | |
| value | 248.49 | |
| sort_order | 1 | |
| 1 | Array | |
| code | tax | |
| title | Eco Taxe (-2.00) | |
| text | “2.00 €” | |
| value | 2 | |
| sort_order | 5 | |
| 2 | Array | |
| code | tax | |
| title | TVA (19,60%) | |
| text | “16.06 €” | |
| value | 16.06024 | |
| sort_order | 5 | |
| 3 | Array | |
| code | tax | |
| title | TVA (20.00%) | |
| text | “33.31 €” | |
| value | 33.31 | |
| sort_order | 5 | |
| 4 | Array | |
| code | total | |
| title | Total | |
| text | “299.86 €” | |
| value | 299.86024 | |
| sort_order | 9 |
| $products | |||||
|---|---|---|---|---|---|
| x | Array | ||||
| key | String? | ||||
| thumb | String (url absolue) | ||||
| name | String | ||||
| model | String | ||||
| option | array | ||||
| x | array | ||||
| name | String | ||||
| value | String | ||||
| type | String | ||||
| quantity | Int | ||||
| price | String | ||||
| total | String | ||||
| href | String (url du produit) | ||||
| recurring | String | ||||
| profile | String |
| x | Array | ||||
|---|---|---|---|---|---|
| key | 52:YToxOntpOjIzNztzOjI6IjMzIjt9: | ||||
| thumb | http://localhost/opencart/image/cache/data/qb/IMG_8487-sd-47x47.jpg | ||||
| name | Vêtement 1 FR | ||||
| model | MOD.V1 | ||||
| option | array | ||||
| x | array | ||||
| name | Taille | ||||
| value | M | ||||
| type | radio | ||||
| quantity | 1 | ||||
| price | 199,86 € | ||||
| total | 199,86 € | ||||
| href | http://localhost/opencart/index.php?route=product/product&product_id=52 | ||||
| recurring | String | ||||
| profile | String |
| $vouchers | ||
|---|---|---|
| x | Array | |
| key | ||
| description | ||
| amount |