Jump to content

Change span class 'out of stock'


John_k

Recommended Posts

Hello out there,

 

Prestashop version: 1.6.1.19

I have a problem with allowing orders where products are not in stock. 
I selected the setting 'displayed text when backordering is allowed' so it is allowed to order products which not are in stock.

 

But heres the problem - the products which aren't in stock is also green. I need them to be styled with CSS.

When I look closer with devoloper tools it tells me that they are all the same span class called available-now.

 

So I wonder how do I make a specific class for 'out of stock' items/products?

 

Regards Benjamin

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...