I'm trying to understand why
would be used instead of
. I stumbled upon the usage of
when trying to figure out why when unchecking the Product Inventory Track Product did not allow the Add to Cart button to appear.
If I change it to use
it works as expected. I am just trying to make sure if I make this change it won't blow up on me.
Code:
<mvt:if expr="l.settings:product:inv_available GT 0">
Code:
<mvt:if expr="l.settings:product:inv_level NE 'out'">
Code:
<mvt:if expr="l.settings:product:inv_available GT 0">
Code:
<mvt:if expr="l.settings:product:inv_available GT 0"> <button id="js-add-to-cart" class="button button-block uppercase add-to-cart button-secondary white bold">Add <span class="small-inline-block hide">to Cart</span></button> <mvt:else> <button id="js-add-to-cart" class="button button-block uppercase add-to-cart button-secondary white bold" disabled="disabled">Sold Out</button>
Code:
<mvt:if expr="l.settings:product:inv_level NE 'out'">
Comment