remove add to cart button when all variants are sold out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kitdang
    Mivite


    • Jan 2009
    • 406

    #1

    remove add to cart button when all variants are sold out

    I am trying to remove the add to cart button when all variants inventory are 0. I am using this if/then statement but doesn't seem to work. I do have the parent track inventory checked.

    <mvt:if expr="l.settings:attributemachine:product:inv_leve l NE 'out'">
Working...
X