Product Characteristics all are in Cart by default

  • Posts: 12
  • Thank you received: 0
9 years 9 months ago #187701

-- 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.

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
9 years 9 months ago #187727

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 12
  • Thank you received: 0
9 years 9 months ago #187782

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.

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
9 years 9 months ago #187794

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: mohsin

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

  • Posts: 12
  • Thank you received: 0
9 years 9 months ago #188033

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.064 seconds
Powered by Kunena Forum