Help - Search - Members - Calendar
Full Version: If Product Has Stock Message
MonsterSmallBusiness Forums > MonsterWebDesign > Designing Your Storefront
agkits
I am trying to figure out what I am doing wrong. I want to have it set up so if a stock message exists then display a message. This is what I have been trying but it doesn't work.

CODE
<ns:if condition="Product.HasStockMessage">My Message Goes Here</ns:if>
AndyT - MC
Stock message is a string, you can just compare it to blank to see if it exists:

CODE
<ns:if condition="Product.StockMessage != ''">My Message Goes Here</ns:if>
agkits
Works like a charm! Thanks Andy
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.