Support » Plugin: WooCommerce » Custom product view – how do i show variations?

  • I have a very customized product view, for which I’ve written my own ajax commands for adding a new product to the cart etc.

    That’s all working fine, but what I need to do is show the variation dropdowns on the page, so that I can use my JS to collect this data for the above custom ajax commands.

    For the life of me, i dont know how to do this. I’ve went into the templates folder to the variable.php file and there I see all the code for displaying the product variation dropdowns etc. But when I drop this into my code, it simply returns “this product is out of stock” (which it isnt)

    Is there some magical way to display the list of dropdowns for variations that I’m missing?

  • The topic ‘Custom product view – how do i show variations?’ is closed to new replies.