skip to Main Content

WordPress – WooCommerce add to cart function for the shop loop item

I'm trying to figure out where these functions are called within the WooCommerce products loop: function woocommerce_simple_add_to_cart() function woocommerce_variable_add_to_cart() These functions load the 'single-product/add-to-cart/simple.php' template and the 'single-product/add-to-cart/variable.php' template, respectively. I thought the content-product.php template might call these functions, but…

VIEW QUESTION
Back To Top
Search