- Posts: 11
- Thank you received: 0
Product variations not added to cart after update to Joomla 3.8.3
8 years 10 months ago - 8 years 10 months ago #286057
by Arjan
-- url of the page with the problem -- :
cyclostyle.com/shoppen/Product/bedel-fietsvrouwen-voor-collier
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.0.24
-- Browser(s) name and version -- : Firefox 57.04 - Chrome 63.0.3239.132
After update to Joomla 3.8.3 adding a product variation to the cart does not work. The cart only displays the variation marked as standard.
Are you familiar with this issue and do you know a fix?
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.0.24
-- Browser(s) name and version -- : Firefox 57.04 - Chrome 63.0.3239.132
After update to Joomla 3.8.3 adding a product variation to the cart does not work. The cart only displays the variation marked as standard.
Are you familiar with this issue and do you know a fix?
Last edit: 8 years 10 months ago by Arjan.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #286064
by nicolas
Replied by nicolas on topic Product variations not added to cart after update to Joomla 3.8.3
Hi,
I don't think that it has anything to do with that.
It looks like a problem with the way your product page was customized.
The hidden HTML of the variants is inside the main form of the product page where it should normally be outside.
On your website:
monosnap.com/file/STB6UN7GOneSKRiQ3eKszLYa4BPZ0e
On our demo website:
monosnap.com/file/xGUYjD5P4XWktQ4WGkGcQQzMK3OGlV
Because of that the last variant listed in the HTML will be added to the cart instead of the one selected in the characteristic dropdowns.
So it will require fixing the view files ( adding </div> tags where necessary in your product view files ) so that it can work properly again.
I don't think that it has anything to do with that.
It looks like a problem with the way your product page was customized.
The hidden HTML of the variants is inside the main form of the product page where it should normally be outside.
On your website:
monosnap.com/file/STB6UN7GOneSKRiQ3eKszLYa4BPZ0e
On our demo website:
monosnap.com/file/xGUYjD5P4XWktQ4WGkGcQQzMK3OGlV
Because of that the last variant listed in the HTML will be added to the cart instead of the one selected in the characteristic dropdowns.
So it will require fixing the view files ( adding </div> tags where necessary in your product view files ) so that it can work properly again.
Please Log in or Create an account to join the conversation.
8 years 10 months ago - 8 years 10 months ago #286146
by Arjan
Replied by Arjan on topic Product variations not added to cart after update to Joomla 3.8.3
Thanks for your quick respons Nicolas, and for looking into this. Infortunatly I am usiing a Joomlaman template, and JoomlaMan seems to have disappeared form the planet. So no updates, with each system- or hikashop update I encounter more problems. This seems to be one of those.
I am working hard on a rebuild of the site with a holax template, but that will not be ready until somewhere next mont. Can you point me in the right direction of what view or file I have to modify to fix this for now?
I am working hard on a rebuild of the site with a holax template, but that will not be ready until somewhere next mont. Can you point me in the right direction of what view or file I have to modify to fix this for now?
Last edit: 8 years 10 months ago by Arjan.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #286158
by nicolas
Replied by nicolas on topic Product variations not added to cart after update to Joomla 3.8.3
Hi,
Well, I don't know as I don't know how the code was customized.
Turn on the "Display view files" setting of the HikaShop configuration and you'll see which view file is used on that page.
Then, try editing them and adding one or two </div> at the end of the files and check what it does with the inspector of your browser, like I did in the screenshots.
If I had to guess, I would start with product / show_default.php
Well, I don't know as I don't know how the code was customized.
Turn on the "Display view files" setting of the HikaShop configuration and you'll see which view file is used on that page.
Then, try editing them and adding one or two </div> at the end of the files and check what it does with the inspector of your browser, like I did in the screenshots.
If I had to guess, I would start with product / show_default.php
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds