URGENT – Adding more than one unit to the cart doesn’t work

  • Posts: 421
  • Thank you received: 15
  • Hikashop Business
18 hours 39 minutes ago #370820

Hi Nicolas,

I’ve just detected something very important: when trying to add 2 or more units of the same variant to the cart from a product page, only 1 unit is added to the cart.

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

  • Posts: 85267
  • Thank you received: 13919
  • MODERATOR
17 hours 14 minutes ago #370822

Hi,

Thank you for your feedback. We've reviewed the issue and added patches on our end in product / show_block_characteristics.php product / show_quantity.php and media/com_hikashop/hikashop.js
Download again the install package on our website and install it on yours to get the patches.
If you have overrides on the two view files, you'll have to remove them. Also, clear your browser cache for the JS file before testing.

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

  • Posts: 421
  • Thank you received: 15
  • Hikashop Business
17 hours 9 minutes ago #370823

Thanks

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

  • Posts: 74
  • Thank you received: 8
  • Hikashop Business
15 hours 20 minutes ago #370827

selected option prices are not added to the total price.
Options are not added to the cart.

Last edit: 15 hours 4 minutes ago by duportail.

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

  • Posts: 85267
  • Thank you received: 13919
  • MODERATOR
14 hours 18 minutes ago #370829

Hi,

We are not able to reproduce the problem on our end with options. I suspect that the issue comes from an old view override on your website.
Try renaming the whole templates/YOUR_TEMPLATE/html/com_hikashop/product/ folder via FTP in order to deactivate all the override files on the product page and try again. If it works, it means that it comes from one of the files in that folder. I would say probably the option.php file where options are managed.

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

  • Posts: 74
  • Thank you received: 8
  • Hikashop Business
13 hours 29 minutes ago #370834

working, but i have just show.php in this dir.
With code:
www.ubuntushop.biz/show.txt

i do not kwow what the override does.

find it. It was for a back link just above product title. To go back to the previous products page.
sad to loose this.

Last edit: 13 hours 22 minutes ago by duportail.

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

  • Posts: 85267
  • Thank you received: 13919
  • MODERATOR
11 hours 7 minutes ago #370835

Hi,

Thank you for sharing the file. Your override is of show.php (the main product page template) from version 5.1.1. The only customization is a back button at the very top of the page. Since the rest of the
file is unchanged from 5.1.1, the override was replacing the entire 6.4.0 template with the old version.

To restore your back link, create a new override of show.php via Display > Views and add these lines at the very beginning of the file, before the existing code:

  <a onclick="window.history.back(); return false;" href="#" >
  <span class="icon-32-back" title="<?php echo JText::_('HIKA_BACK'); ?>"></span>
  <?php echo JText::_('HIKA_BACK'); ?>
  </a>
This way you keep the back link while using the current 6.4.0 template code for everything else.

The following user(s) said Thank You: duportail

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

  • Posts: 74
  • Thank you received: 8
  • Hikashop Business
8 hours 29 minutes ago #370840

thanks

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

Time to create page: 0.083 seconds
Powered by Kunena Forum