We would like to add plus and minus to cart module

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
4 years 20 hours ago #326373

-- HikaShop version -- : 4..3.0
-- PHP version -- : 7.3

Hello,

We would like to have a plus and minus sign in the cart module we configured to plus and min the products in the cart.
We can not get this to be done?
Please see screenshot and help?? :)

Thanks,
Mark

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
4 years 7 hours ago #326376

Hello Mark,

Setting the "Product quantities" option to YES, through "Hikashop Options" tab of your cart module configuration page will probably do the job.

Kind regards,
Mohamed.

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

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
4 years 3 hours ago #326415

Hello,

We have the option Product Quantities on yes.. but unfortnatly no plus or minus on the front end in the cart..
see screenshot.

Attachments:

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326429

Hi,

There is no option to add plus and minus buttons to the quantity input field of the cart module.
The only solution would be to edit the file "cart" of the view "product" via the menu Display>Views to add your own code (the HTML of the link with a bit of javascript).

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

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
3 years 11 months ago #326806

i managed to make it a select field up to ten.. of it.. thanks..

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

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
3 years 11 months ago #326811

another question about the plus and minus but now for the general checkout.
Pleas help.. see attachment


Thanks.

Attachments:

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326829

Hi,

Similarily, there is no option for that and you'll have to edit the view file show_block_cart.php in a similar manner to what you did in the product / cart.php view file if you want to add these extra buttons.

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

Time to create page: 0.095 seconds
Powered by Kunena Forum