Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Pending Public Category: Technical Support / Bugs Ticket #229

Cannot add product variant

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Sigrid Gramlinger

I cannot add a product variant.

Steps to reproduce:

  1. Open an existing product with variants.
  2. Add another option value (i.e. size).
  3. click re-generate variants and confirm with yes.
  4. nothing happens
  5. click save
  6. after reload your variants are removed. the variant list is empty.
  7. click generate variants

Expected result:
Variants should be recreated

Actual result:
nothing happens

This is on a live site - I really need a fix soon.

Thanks!

 

Attachments

j2commerce-variants.png
Adam Melcher Staff

Sigrid,

 

There is an old field in the database from Joomla 3 that is the cause of your headache.  To fix this before the upcoming release, you can simply remove the field (should be the last one if it's there) in the #__j2store_variants table (campaign_variant_id) and your variants products will work again...

 

Adam