#230 Possibility to deactivate product variants (without deleting)

Posted in ‘Feature Requests’
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 Adam Melcher on Friday, 04 April 2025 21:22 UTC

Sigrid Gramlinger

Hi,

we have some variants, but over time they change.

At the moment, I can set them to "sold out", but I cannot deactivate or hide them.

They will always be visible on the website.

I want an option to "hide" the variant.

Thanks
Sigrid

Adam Melcher

I suppose the most immediate method for hiding a variant without deleting them would be to add a class (in bootstrap 5 it would be .d-none) to the specific option in the options area above the variant.  This would start to get tricky if you are using that option for multiple variants such as size and color.  I will look into possibly adding a field at the variant level for a custom class that would give you that option, however the downside is that if you are using any modified template file to display those variants, that would need to be updated on your end as well (which we can provide the instructions on how to do that if that is the route we go - it may be a simpler option, but I am adding it to the future features list.

 

Adam

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.