- Posts: 608
- Thank you received: 13
Problem with Shopping Cart
- mohairbears
-
Topic Author
- Offline
Less
More
15 years 3 months ago #19578
by mohairbears
Problem with Shopping Cart was created by mohairbears
Hi, I have a problem with my shopping cart, when different sizes etc of the same product are selected the code replicates itself?
e.g. Plastic Joints: Plastic Joints:Plastic Joints: 25mm
This is ok at checkout though?
e.g. Plastic Joints: Plastic Joints:Plastic Joints: 25mm
This is ok at checkout though?
Please Log in or Create an account to join the conversation.
15 years 3 months ago #19592
by nicolas
Replied by nicolas on topic Re: Problem with Shopping Cart
It's a bug we found out yesterday. We fixed it on our end and it will be available in next release tomorrow.
If you want to fix it, you need to edit the file administrator/components/com_hikashop/classes/product.php and add at the beginning of the function checkVariant the line:
if(!empty($variant->variant_checked)) return true;
and at the end of the function the line:
$variant->variant_checked = true;
If you want to fix it, you need to edit the file administrator/components/com_hikashop/classes/product.php and add at the beginning of the function checkVariant the line:
if(!empty($variant->variant_checked)) return true;
and at the end of the function the line:
$variant->variant_checked = true;
Please Log in or Create an account to join the conversation.
Time to create page: 0.131 seconds