User Tools

Site Tools


catalog_controllers_module_cart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
catalog_controllers_module_cart [2015/09/09 14:34] 95.211.60.11catalog_controllers_module_cart [2015/09/09 15:13] (current) 95.211.60.11
Line 6: Line 6:
 ^variable^type^contenu^ ^variable^type^contenu^
 ^$totals|Array|sub_total,tax,total, voir précisions plus bas| ^$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|
 +
  
 === variables d'élément de langue === === variables d'élément de langue ===
 ^variable^type^contenu^ ^variable^type^contenu^
-^$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"|
  
 === variables de liens === === variables de liens ===
 ^variable^type^contenu^ ^variable^type^contenu^
-^$variable|type|contenu|+^$cart|String|url absolue de la route=checkout/cart| 
 +^$checkout|String|url absolue de la route=checkout/checkout|
  
 === Précisions sur certains Arrays === === Précisions sur certains Arrays ===
 +
 +==== $totals ====
 ^**$totals**^ ^ ^ ^**$totals**^ ^ ^
 ^x|Array| | ^x|Array| |
Line 24: Line 36:
 | ^sort_order|Int| | ^sort_order|Int|
  
-==== exemple ====+===== exemple =====
  
 ^**$totals**^ ^ ^ ^**$totals**^ ^ ^
Line 47: Line 59:
 ^3|Array| | ^3|Array| |
 | ^code|tax| | ^code|tax|
-| ^title|TVA (19,60%)|+| ^title|TVA (20.00%)|
 | ^text|"33.31 €"| | ^text|"33.31 €"|
 | ^value|33.31| | ^value|33.31|
Line 58: Line 70:
 | ^sort_order|9| | ^sort_order|9|
  
-==== exemple ====+ 
 + 
 +==== $products ==== 
 +^**$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| | | 
 + 
 +===== exemple ===== 
 +^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 ==== 
 +^**$vouchers**^ ^ ^ 
 +^x|Array| | 
 +| ^key| | 
 +| ^description| | 
 +| ^amount| | 
 + 
 +===== exemple =====
 <code></code> <code></code>
  
 === notes === === notes ===
catalog_controllers_module_cart.1441802065.txt.gz · Last modified: 2015/09/09 14:34 by 95.211.60.11