Skip to main content

Product Characteristics all are in Cart by default

11 years 9 months ago #187701 by mohsin
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3

Hi,
I have product characteristic and varient with my products. When some one add to cart a product all characteristic goes to shoping cart when none of them were selected. Please check my website(its under development) and add to cart a product without selecting any characteristics. You will see in shopin cart module all characteristic are there.
Is there any way to get rid from that. I want the characteristic to show in cart when it was selected.

Thank you.

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

11 years 9 months ago #187727 by Jerome
Hi,

I will recommend you to activate the HikaShop option "group options with product"
www.hikashop.com/support/support/documen...onfig.html#main_cart

So you won't have several entries added in your cart, only the main product with his options.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

11 years 9 months ago #187782 by mohsin
Hi,
I have selected Yes to "Group options with product". But still those are there with slight changes than previous. Any suggestion please ?

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

11 years 9 months ago #187794 by Jerome
Hi,

So if you want to improve the "no" variant for your product options, you can read more about a little customization in these two topics :
www.hikashop.com/forum/4-how-to/41110-op...t-with-variants.html
www.hikashop.com/forum/4-how-to/55890-pr...teristics.html#55951

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: mohsin

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

11 years 9 months ago #188033 by mohsin
Hello Jerome,
Yes, those articles helped me to solve the issue.
I had to add this line $this->values[] = JHTML::_('select.option', 0,JText::_('HIKASHOP_NO')); and
if($default){
// $value = $variant->product_id;
$value=0;
}
And finally select "No" to Group Options with Product to get individual price for each item in cart.
You can close this issue as sloved :)

Best Regards.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum