variables d'entrées GET
| variable | contenu | |
| $search | String | recherche |
| $tag | String | tag |
| $search | String | description |
| $category_id | String | id catégorie |
| $sub_category | String | sous-catégorie |
| $sort | String | tri |
| $order | String | ordre |
| $page | String | page |
| $limit | String | nombre d'items par page |
| $search | String | recherche |
variables générales
| variable | type | contenu |
| $breadcrumbs | Array | breadcrumbs |
| $categories | Array | catégories |
| $products | Array | catégories |
| $sorts | Array | catégories |
| $limits | Array | catégories |
| $pagination | String | pagination pré-formatée en html |
| $search | String | recherche |
| $description | String | description |
| $category_id | String | id catégorie |
| $sub_category | String | id sous-catégorie |
variables d'élément de langue
| variable | type | contenu |
| $heading_title | String | titre de la page recherche + recherche |
| $text_empty | String | void |
| $text_critea | String | void |
| $text_search | String | void |
| $text_keyword | String | void |
| $text_category | String | void |
| $text_sub_category | String | void |
| $text_quantity | String | void |
| $text_manufacturer | String | void |
| $text_model | String | void |
| $text_price | String | void |
| $text_tax | String | void |
| $text_points | String | void |
| $text_compare | String | void |
| $text_display | String | void |
| $text_list | String | void |
| $text_grid | String | void |
| $text_sort | String | void |
| $text_limit | String | void |
| $entry_search | String | void |
| $entry_description | String | void |
| $button_search | String | void |
| $button_cart | String | void |
| $button_wishlist | String | void |
| $button_compare | String | void |
variables de liens
| variable | type | contenu |
| $compare | String | lien vers page de comparaison |
Précisions sur certains Arrays
| $breadcrumbs | | |
| clé | type | contenu |
| text | String | breadcrumbs |
| href | String | lien |
| separator | String | séparateur défini dans le fichier langue |
| $categories | | |
| clé | type | contenu |
| category_id | String | id catégorie |
| name | String | nom |
| children | Array | $level_2_data |
| $level_2_data | | |
| clé | type | contenu |
| category_id | String | id catégorie |
| name | String | nom |
| children | Array | $level_3_data |
| $level_3_data | | |
| clé | type | contenu |
| category_id | String | id catégorie |
| name | String | nom |
| $products | |
| clé | contenu |
| product_id | id du produit |
| thumb | image du produit |
| name | nom du produit |
| description | description raccourcie du produit (100 premiers caractères) |
| price | prix du produit |
| special | prix promotionnel le cas échéant |
| tax | taxes |
| rating | note du produit |
| reviews | avis sur le produit |
| href | lien vers la page produit |
| $sorts & $limits | |
| clé | contenu |
| text | texte |
| value | valeur |
| href | lien |
exemple
Array
(
[0] => <div class="links"> <b>1</b> <a href="http://localhost/opencart/index.php?route=product/category&path=59&page=2">2</a> <a href="http://localhost/opencart/index.php?route=product/category&path=59&page=2">></a> <a href="http://localhost/opencart/index.php?route=product/category&path=59&page=2">>|</a> </div><div class="results">1 à 2 sur 3 (2 Pages)</div>
)
notes