I have searched and searched trying to find all the pieces for this puzzle. Trying to implement the Inventory Message for the Inventory Variants on the SRCH screen.
I have enabled the Attribute Machine
I have added <mvt:item name="attributemachine" param="head" /> to the head tag
I have added <mvt:item name="attributemachine" param="body" /> in the body, below the <mvt:item name="search_results" />
In the Search Results Layout tab, I have added
but I think it might be wrong and this is why I've been searching through the forums to try and figure out this and the next part.
I have added inventory-message in the Inventory Element field.
I have made sure the variants have levels set.
I am still getting the "out of stock" message that would display for the Master Product level.
What is missing here?
Leslie
I have enabled the Attribute Machine
I have added <mvt:item name="attributemachine" param="head" /> to the head tag
I have added <mvt:item name="attributemachine" param="body" /> in the body, below the <mvt:item name="search_results" />
In the Search Results Layout tab, I have added
Code:
<div id="inventory-message">
<mvt:if expr="l.settings:product:inv_active">
&mvt:product:inv_long;
</mvt:if>
</div>
I have added inventory-message in the Inventory Element field.
I have made sure the variants have levels set.
I am still getting the "out of stock" message that would display for the Master Product level.
What is missing here?
Leslie
Comment