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'">
<mvt:if expr="l.settings:attributemachine:product:inv_leve l NE 'out'">