Help
-
Search
-
Members
-
Calendar
Full Version:
If Product Has Stock Message
MonsterSmallBusiness Forums
>
MonsterWebDesign
>
Designing Your Storefront
agkits
Jun 9 2008, 04:16 AM
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
Jun 9 2008, 04:26 AM
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
Jun 9 2008, 04:30 AM
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
.