Add variant to product not working

  • Posts: 127
  • Thank you received: 6
7 years 2 weeks ago #290873

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.6.4
-- PHP version -- : 7.0.29
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : None

Hi
Recently updated and now cannot add a variant to a product. The save button doesn't add one variant (a new colour "Ice") to those existing. It will save older colours ("Blueberry" for example). Ice seems to be properly configured, and before the update had been added to other products without any problem.
I've checked the database.
In Characteristics Ice is configured exactly the same as Blueberry.
Would someone be able to advise please.

Attachments:

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

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
7 years 2 weeks ago #290874

Hi,

It might be a javascript issue.
Please try with another browser.
Also, check the javascript console of your browser while trying to do that procedure. Please report any error message you might have there.
Finally, I guess we'll need a backend access to be able to check directly on the issue ourselves as we can't reproduce it on our end.
Could you provide such access along with a link to this thread via our contact form ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 127
  • Thank you received: 6
7 years 2 weeks ago #290943

Thank you Nicolas
I've sent login details for the staging copy.
I have tried a different browser (clearing caches as well) and could not see any errors flagged up using my basic knowledge of Chrome inspection console. I also tried disabling JQuery Plugin.

Problem shows when adding the "Ice" [57] option from the "Colours" Characteristics [5] as a colour variant for Colours_Compact_Click [192]. Other colours from those characteristics can be added, but not "Ice", for some reason.

Thanks in advance - appreciated.
Bob

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

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
7 years 2 weeks ago #290949

Hi,

I had no problem adding the Ice variant to a product on your backend:
monosnap.com/file/t9UXULuE0QIhBIMsVQaTQG76xV5VPQ
If you still have the problem, please provide precise instructions to reproduce it.

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

  • Posts: 127
  • Thank you received: 6
7 years 2 weeks ago #291000

I have the issue still, as described above, adding the colour Ice as a fifth variant to the 4 current variants for the Compact_Click_Colours.
Ice is already one of "Colours" [id 5].

I want to add Ice to the variants of product "Compact_Click_Colours"

I have not tried adding the ice variant to a new product as you did.

It's strange, but I'm not imagining it.

Other characteristics (for example "Blueberry") can be added without any problem, but not "Ice".

I have also tried to rename an old, outdated colour, as a work around, but when I do the price for the variant disappears and at the front end that characteristic becomes "not available".

In fact, when I try to update any of the variants, its current price becomes lost and then those un-priced variants are then "unavailable" when trying to add to the cart. I can solve this as a problem by setting on "Display 'add to cart' button for free products", which took some finding. (Why would you not add free products?)

Would you mind checking to confirm I am not losing my mental health, please.

I am approaching 60 years old but have been using Hikashop for more than 4 years. I'm concerned that we can't make changes to the live site right now, and we need to.

Last edit: 7 years 1 week ago by Bobwales.

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

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
7 years 1 week ago #291096

Hi,

I'm not doubting you.
The problem is that if I can't see the problem then I can't look at the situation and analyse what's going on.

I went again to look at your backend, however:
- There are no products called "Compact_Click_Colours" :
monosnap.com/file/dA7bfxrDD5kHyiXjNK6rbJRAlnkOBH
- If I try to add the Ice value to another product, it works fine on my end:
monosnap.com/file/Khnp8hRIPF11OYth8lkyfb5klWLhdq
(I've left the variant unpublished as I don't know if you need it for that product or not)
- I'm also able to save the variants of that product, change things and the prices are not lost.

Do you have the issue with a lot of products ? Just one ? Which one exactly ? Do you have the problem with the product I tried on ?

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

  • Posts: 127
  • Thank you received: 6
7 years 1 week ago #291114

You are absolutely right Nicolas. But the product [192] is there and it's called "Colours_Compact_Click" not Compact_Click_Colours - my bad! So, the problem shows on the "Ice" [57] member of the Colours [5] characteristics being added as a 5th variant to the Compact Click [191] main product.

Attachments:

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

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
7 years 1 week ago #291120

Hi,

There seems to be indeed a problem with that product.
However, it's easy to work around it. Add the variant for another color, edit the variant and change its color to Ice and it will work.
I've done it on yuor backend and it worked fine.
I was also able to update the price and other information of that variants and other variants of that product without issue.

I suppose that there is some corrupt data for that product in the database for some reason since it works fine with other products ( maybe for example coming from a bug from an old version of HikaShop) . So you could also just delete that product and recreate it so that you wouldn't get a similar issue for that product in the future.

The following user(s) said Thank You: Bobwales

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

  • Posts: 127
  • Thank you received: 6
7 years 1 week ago #291141

Thank you Nicolas. I will cancel my appointment with a psychiatrist... and do as you suggest on the live site. Thank you for your persistence (into the night time) which is very much appreciated.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum