• Resolved robbertcognito

    (@robbertcognito)


    Hi,

    On a website im working on I have the ability to request a variation description by the following code:
    <div class=”woocommerce-variation-description”>{{{ data.variation.variation_description }}}</div>

    I need the variation stock quantity but I cant seem to figure out what to use for it.

    I was thinking:
    <div class=”woocommerce-variation-stock”>{{{ data.variation.variable_stock}}}</div>

    But the above displays nothing.

    I have searched google but only massive amounts of code come up which I really do not want to use.

    Kind regards,
    Robbert

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Get variation stock quantity’ is closed to new replies.