I use WooCommerce, Woolentor, and WooCommerce subscriptions to construct a website. I'm trying to use the 'WL:Related Product' widget for Woolentor's Single Pro
I'm trying to add a custom function to my child-themes functions.php file where a checkbox is added to the bottom of the billing details form on the checkout pa
the option on the site "Default to customer billing address" is selected but the shipping address is still empty. I tried to fix it with code add_action( 'w
I am trying to find products that are on sale (including product variations) in addition to another meta_query of price under X. The wc_get_product_ids_on_sale(
I'm working on an eCommerce project at the moment. I'm using WooCommerce in WordPress. I've got ridden of the product data tabs and displayed product descripti
I would like the user to be directed to a certain URL when they click the 'add to cart' button. At the moment I have this: /** * Set a custom add to cart URL
On my product template, I execute this action : <?php /** * woocommerce_single_product_summary hook. * * @hooked woocommerce_template_single
I found this posted as a comment on another thread but I don't know what I'm supposed to do with it: if($product->get_stock_quantity() <10){echo 'Limit
I am customizing the WooCommerce checkout page fields. I want to add a heading (text) in between the fields. I have reordered the fields like this add_filter('w
I can add a product to cart, when a certain coupon is used via the woocommerce_applied_coupon hook and the add_to_cart() function add_action('woocommerce_applie
I am trying to disable "add to cart" button on WooCommerce shop and archives pages if product's quantity stock is zero or less. I don't want to hide it so I cam