#77 Delete Option

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 Thursday, 12 December 2024 14:49 UTC

Stephane Hanrez

Hello,

I'm trying to clean up some of the options I have created in J2Store, but when trying to delete an option, it's telling me I cannot because it's associated with a product... Is there any way I can find out which products have been associated with a specific option as I cannot find it back ?

Thanks

Stephane Hanrez

I have been looking a bit at this directly in the database, but when I look at a specific option, I see it's linked to a product_id that I cannot find in my Joomla articles.

Could it be that those articles have been deleted in Joomla, but not their associated stuff in J2Store ? This would explain why I cannot delete an option even though I cannot find any related article using it.

Is there any existing cleanup mechanism ?

Thanks

Olivier

I am not aware of a mechanism that checks options related to products.

The only way to check that would be through direct database queries I believe.

The able to look for is #_j2store_product_options. Check for the option id and it will show you which products are associated to it.

Olivier.

Stay Updated

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