Jump to content

Images of products in Black and White if there is no stock


Josebra

Recommended Posts

Hello...

I would like non-stock products to be shown (their images) in black and white (in the product listings, not the product detail pages) ...

they should be able to add this class

black_white {filter: invert (3%) sepia (0%) saturate (0%) hue-rotate (130deg) brightness (100%) contrast (80%);}

Do you know what tpl I have to edit? And the code to apply .black_whote when the stock is zero?

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...