Matt,
I have products with variant. When one size is out of stock, the add to cart button is gray out. However, I do not see the inv_long message on the product screen. How do I get it to display? Is there some setting i need prior for this to work?
<mvt:if expr="l.settings:product:inv_active OR l.settings:attributemachine:product:inv_active">
<div id="inventory-message" class="x-product-layout-purchase__inventory-message">
<link itemprop="availability" href="http://schema.org/&mvt:product:inv_short;">
<div class="x-messages x-messages--info">&mvt:product:inv_long;</div>
<div class="x-messages x-messages--info">&mvt:product:inv_short;</div>
</div>
</mvt:if>
I have products with variant. When one size is out of stock, the add to cart button is gray out. However, I do not see the inv_long message on the product screen. How do I get it to display? Is there some setting i need prior for this to work?
<mvt:if expr="l.settings:product:inv_active OR l.settings:attributemachine:product:inv_active">
<div id="inventory-message" class="x-product-layout-purchase__inventory-message">
<link itemprop="availability" href="http://schema.org/&mvt:product:inv_short;">
<div class="x-messages x-messages--info">&mvt:product:inv_long;</div>
<div class="x-messages x-messages--info">&mvt:product:inv_short;</div>
</div>
</mvt:if>
Comment