Jump to content

When an attribute of a certain product is unavailable display a particular message


Recommended Posts

How can I replace the message: "This product is no longer in stock with those attributes but is available with others" when a product is unavailable with particular attributes?

 

For example if a t-shirt of small size is unavailable but medium is available I would like it to display:

 

"This size is currenty out of stock, however other sizes are available."

 

AND

 

How can I change the default attribute of a product depending on stock? For example

 

When small becomes unavailable display medium as the default attribute and so on.

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