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

#   Quantities shown with mini-cart

##

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

Less More

- Posts: 25
- Thank you received: 0
-
-

15 years 7 months ago [\#12186](#12186) by [hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")  *[Quantities shown with mini-cart](/forum/4-how-to/12186-quantities-shown-with-mini-cart#12186 "Hi, I am trying to customize my mini-cart by adding the 'proceed to checkout' button. I'm simply using the same button that's used in the regular cart with a copy-paste of this line:  cart-&gt;displayButton(JText::&#95;('PROCEED&#95;TO&#95;CHECKOUT'),'checkout',$this-&gt;params,hikashop::completeLink('checkout'.$url&#95;itemid),''); ?&gt;  Which works for the most part except that there is now a Quantities input box (see screenshot). I've already checked my Cart module and 'show quantities in cart' is set to NO. Appreciate any input/help.")* was created by *[hoken30](/forum/user/1757-hoken30 "View hoken30's Profile")*

Hi, I am trying to customize my mini-cart by adding the 'proceed to checkout' button. I'm simply using the same button that's used in the regular cart with a copy-paste of this line:

&lt;?php echo $this-&gt;cart-&gt;displayButton(JText::_('PROCEED_TO_CHECKOUT'),'checkout',$this-&gt;params,hikashop::completeLink('checkout'.$url_itemid),''); ?&gt;

Which works for the most part except that there is now a Quantities input box (see screenshot). I've already checked my Cart module and 'show quantities in cart' is set to NO. Appreciate any input/help.  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Screen_shot_2011_03_25_at_4.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Screen_shot_2011_03_25_at_4.png "&#91;img")

- [ ![Screen&#95;shot&#95;2011&#95;03&#95;25&#95;at&#95;4.png](/forum/attachment/806) ](/forum/attachment/806 "...03&#95;25&#95;at&#95;4.png") [ ](/forum/attachment/806?download=1 "...03&#95;25&#95;at&#95;4.png")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#12204](#12204) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Quantities shown with mini-cart](/forum/4-how-to/12186-quantities-shown-with-mini-cart#12204 "Hi, I am trying to customize my mini-cart by adding the 'proceed to checkout' button. I'm simply using the same button that's used in the regular cart with a copy-paste of this line:  cart-&gt;displayButton(JText::&#95;('PROCEED&#95;TO&#95;CHECKOUT'),'checkout',$this-&gt;params,hikashop::completeLink('checkout'.$url&#95;itemid),''); ?&gt;  Which works for the most part except that there is now a Quantities input box (see screenshot). I've already checked my Cart module and 'show quantities in cart' is set to NO. Appreciate any input/help.")*

Please add $this-&gt;params-&gt;set('show_quantity_field', 0); just before the code of your button.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyMTg2LXF1YW50aXRpZXMtc2hvd24td2l0aC1taW5pLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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.056 seconds

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