Jump to content

Hide available_later value if there is an availability_date


Recommended Posts

Apologies for the confusing title.

 

I have a product with attributes, and if a particular attribute is out of stock, we can get it within 5 days. Therefore, I have the value "5 Days" in the field "Displayed text when backordering is allowed".

Unfortunately, one of the attributes is not available until december, so I have specified this in the "Availability Date" field for the combination.

The problem is, when the combination is selected, the a message appears saying "available 5 days" and the available date "15/12/2015".

How can I hide the available later value if there's an availability date?


Link to comment
Share on other sites

×
×
  • Create New...