#561 j2 commerce assigning the same SKU to all products. Joomla 5.4

Posted in ‘Technical Support / Bugs’
This is a public ticket

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

Latest post by Olivier on Saturday, 22 November 2025 21:20 UTC

Gio Xman

Hi There,

I'm using j2 commerce on Joomla 5.4, and for every new product I create from scartch, all existing products get assigned the same SKU, meaning only 1 item is visble in the store. I'm using MySQLi, is there a fix for this bug?

Thanks

Olivier

Hello Gio,

SKUs are editable and they are created from the article title, so I am a bit curious to see that behavior. What type of products are you creating?

Could you please provide credentials (just edit this ticket, it won't be visible to other users)? Thanks!

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Gio Xman

Hi Olivier,

I'm creating a downloadable product. So what's happening is that, if I change the SKU in one of them, it changes everything to the same SKU, same thing with the price.. If I create a new product, and change the sku in that one.. Then the sku of all products, and the price reverts to the SKU of the last one created.. 

I've cleared out the database after uninstalling the plugin, I tried to use chatGPT to create a unique SKU fiels in the database.. but this didn't work.

Really stumped.

I'll attach a video just to sow you what happens..

https://drive.google.com/file/d/1O6mKEFyIbGUtdGg-Ve5ksyB235GovfuX/view?usp=sharing

Any help would be greatly appreciated.

Thanks

Gio

Olivier

Thanks Gio for the video.

I am not able to reproduce the behavior on my end so far.

Any chance you can edit the credentials? We need to find what on your site could produce this behavior. Thank you!

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Gio Xman

Hi Olivier,

I'm developing the site on wampserver. I'll attach system info with this message. The easiest way might be for me to send you the site and database, and you can have a playaround on your end.

Ehat version of PHP and mysql are you using?

Thanks

Gio

Gio Xman

Hi Olivier,

So uninstalled what I had originally installed by doing a pull from the github page, and installed the 4.09 com version. From your site, and it seems to be working well. Deleted all entries from the sql database before installing.

Thanks
Gio

Olivier

Hello Gio,

thanks for the feedback.

As I understand, you installed J2Commerce from our main branch on GitHub. The 4.0.19 version is the latest stable one, 

Glad it is working properly doe you now. If you have any question, please let us know.

 

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.