[Skip to main content](#vessel-content)

#   $this-&gt;params-&gt;get('small\_cart') introuvable

##

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2705
- Thank you received: 74
-
-

12 years 6 months ago [\#157118](#157118) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[$this-&gt;params-&gt;get('small\_cart') introuvable](/forum/5-support-en-francais-french-support-/868441-this-params-get-small-cart-introuvable#157118 "-- HikaShop version -- :231 -- Joomla version -- : 330  dans template/..../com&#95;hikashop/product/cart.php  il y a un parametre $this-&gt;params-&gt;get('small&#95;cart') pour afficher quantite et prix or dans la base de données table hikashop config il n'y a pas de key = small&#95;cart  $this-&gt;params-&gt;get('small&#95;cart', 1) m'affiche le prix  est ce que cette entree manque ?  ensuite il y a $text = JText::sprintf('X&#95;ITEMS&#95;FOR&#95;X',$qty,$this-&gt;loadTemplate());  quel est ce template ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

-- HikaShop version -- :231
-- Joomla version -- : 330

dans template/..../com_hikashop/product/cart.php

il y a un parametre $this-&gt;params-&gt;get('small_cart') pour afficher quantite et prix
or dans la base de données table hikashop config il n'y a pas de key = small_cart

$this-&gt;params-&gt;get('small_cart', 1) m'affiche le prix

est ce que cette entree manque ?

ensuite il y a
$text = JText::sprintf('X_ITEMS_FOR_X',$qty,$this-&gt;loadTemplate());

quel est ce template ?

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4NDQxLXRoaXMtcGFyYW1zLWdldC1zbWFsbC1jYXJ0LWludHJvdXZhYmxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 6 months ago [\#157262](#157262) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[$this-&gt;params-&gt;get('small\_cart') introuvable](/forum/5-support-en-francais-french-support-/868441-this-params-get-small-cart-introuvable#157262 "-- HikaShop version -- :231 -- Joomla version -- : 330  dans template/..../com&#95;hikashop/product/cart.php  il y a un parametre $this-&gt;params-&gt;get('small&#95;cart') pour afficher quantite et prix or dans la base de données table hikashop config il n'y a pas de key = small&#95;cart  $this-&gt;params-&gt;get('small&#95;cart', 1) m'affiche le prix  est ce que cette entree manque ?  ensuite il y a $text = JText::sprintf('X&#95;ITEMS&#95;FOR&#95;X',$qty,$this-&gt;loadTemplate());  quel est ce template ?  merci")*

Bonsoir,

1. $this-&gt;params n'est pas la configuration d'HikaShop, mais les paramètres du module/menu.
Sinon la variable s'appelerait "$config", afin de respecter la nomenclature de codage.

2. il s'agit du template qui doit être sélectionné/définit dans les lignes juste au dessus via un set du template.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4NDQxLXRoaXMtcGFyYW1zLWdldC1zbWFsbC1jYXJ0LWludHJvdXZhYmxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2705
- Thank you received: 74
-
-

12 years 6 months ago [\#157600](#157600) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[$this-&gt;params-&gt;get('small\_cart') introuvable](/forum/5-support-en-francais-french-support-/868441-this-params-get-small-cart-introuvable#157600 "-- HikaShop version -- :231 -- Joomla version -- : 330  dans template/..../com&#95;hikashop/product/cart.php  il y a un parametre $this-&gt;params-&gt;get('small&#95;cart') pour afficher quantite et prix or dans la base de données table hikashop config il n'y a pas de key = small&#95;cart  $this-&gt;params-&gt;get('small&#95;cart', 1) m'affiche le prix  est ce que cette entree manque ?  ensuite il y a $text = JText::sprintf('X&#95;ITEMS&#95;FOR&#95;X',$qty,$this-&gt;loadTemplate());  quel est ce template ?  merci")*

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4NDQxLXRoaXMtcGFyYW1zLWdldC1zbWFsbC1jYXJ0LWludHJvdXZhYmxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
