- Posts: 467
- Thank you received: 21
URGENT – Adding more than one unit to the cart doesn’t work
- Reincidente
-
Topic Author
- Offline
Less
More
7 months 3 weeks ago #370820
by Reincidente
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.
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.
7 months 3 weeks ago #370822
by nicolas
Replied by nicolas on topic URGENT – Adding more than one unit to the cart doesn’t work
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.
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.
- Reincidente
-
Topic Author
- Offline
Less
More
- Posts: 467
- Thank you received: 21
7 months 3 weeks ago #370823
by Reincidente
Replied by Reincidente on topic URGENT – Adding more than one unit to the cart doesn’t work
Thanks
Please Log in or Create an account to join the conversation.
7 months 3 weeks ago - 7 months 3 weeks ago #370827
by duportail
Replied by duportail on topic URGENT – Adding more than one unit to the cart doesn’t work
selected option prices are not added to the total price.
Options are not added to the cart.
Options are not added to the cart.
Last edit: 7 months 3 weeks ago by duportail.
Please Log in or Create an account to join the conversation.
7 months 3 weeks ago #370829
by nicolas
Replied by nicolas on topic URGENT – Adding more than one unit to the cart doesn’t work
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.
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.
7 months 3 weeks ago - 7 months 3 weeks ago #370834
by duportail
Replied by duportail on topic URGENT – Adding more than one unit to the cart doesn’t work
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.
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: 7 months 3 weeks ago by duportail.
Please Log in or Create an account to join the conversation.
7 months 3 weeks ago #370835
by nicolas
Replied by nicolas on topic URGENT – Adding more than one unit to the cart doesn’t work
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:
This way you keep the back link while using the current 6.4.0 template code for everything else.
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:
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>
The following user(s) said Thank You: duportail
Please Log in or Create an account to join the conversation.
7 months 3 weeks ago #370840
by duportail
Replied by duportail on topic URGENT – Adding more than one unit to the cart doesn’t work
thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds