Quantities shown with mini-cart

  • Posts: 25
  • Thank you received: 0
13 years 7 months ago #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:

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

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.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #12204

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum