I am trying to get the waitlist function of toolkit working on a store but they are using product variants to track the individual variant inventory. So when I add a conditional to the PROD page, or the CTGY page testing a product to see if it is out of stock or not, it is saying that the product is out whether the variants have inventory or not. Here is what I have now:
<mvt:if expr="l.settings:product:inv_level EQ 'out'">
<a class="btn btn-sm btn-green btn-wait-list-ctgy" href="Javascript:window.open('&mvt:global:sessionu rl;Store_Code=&mvta:global:store:code;&Screen=WAIT LIST&Product_Code=&mvta:product:code;&show_wait=1' ,'image','scrollbars=yes,status=no,width=400,heigh t=300').focus();">
Email me<br>when available</a>
</mvt:if>
Is there a different conditional to use for checking the inventory variants?
I have looked everywhere and can’t find an answer for this.
Miva support said to see if anyone had a solution for this.
Thank you for the help!
<mvt:if expr="l.settings:product:inv_level EQ 'out'">
<a class="btn btn-sm btn-green btn-wait-list-ctgy" href="Javascript:window.open('&mvt:global:sessionu rl;Store_Code=&mvta:global:store:code;&Screen=WAIT LIST&Product_Code=&mvta:product:code;&show_wait=1' ,'image','scrollbars=yes,status=no,width=400,heigh t=300').focus();">
Email me<br>when available</a>
</mvt:if>
Is there a different conditional to use for checking the inventory variants?
I have looked everywhere and can’t find an answer for this.
Miva support said to see if anyone had a solution for this.
Thank you for the help!
Comment