How to show Woocommerce add to cart form for variable product on custom location [closed] October 24, 2022 by Tarik Billa I figured out this. Adding ‘woocommerce_variable_add_to_cart()’ function prints the variable product’s add to cart form.