I have product categories with the meta value "old_id", I'm trying to make a function that will return the new product category id using the old id (with meta k
I have variable products with many variations where only a few items are actually In Stock while the majority of other variations are ''available on backorder''
I have to add Product SKU to Woocommerce metatags product page (Facebook OpenGraph). I've tried to add global $product; echo "<meta property='og:id' content=
I would like to add a minimum order price for WooCommerce. I have found instructions on how to restrict ordering, unless the user adds more products to cart so
I'm tying to enable the use of coupons to a range of hours in Woocommerce without success. Based on Discount on specific products based on a daily time range in
I want to stylize the decimals in the price tag and want to delete zero decimals (before 190,00) and it should be (after 190,-) And the decimals after the "," i
I am using the following function to speed up woocommerce order admin search by searching in particular fields only: function custom_woocommerce_shop_order_sear
I am using the following function to speed up woocommerce order admin search by searching in particular fields only: function custom_woocommerce_shop_order_sear
I'm trying to change the stock management availability text on single product page based on different conditions in WooCommerce. There are 5 situations, dependi
I am getting null response on the below query. I am trying to get sum of the products subtotal and a custom cost field for products. I am able to get the data f
I've checked many threads on the platform. But there is no thread which explains how to use the conditional $email>id parameter straight into a template. Thi
I want to hide specific products, based on product category for users under the age of 18. So if the user is not logged in, or if logged in but under the age of
I want to hide specific products, based on product category for users under the age of 18. So if the user is not logged in, or if logged in but under the age of
So I'm selling a digital product with WooCommerce but I don't have a shop page or anything, I just have a big CTA button on my landing page which adds the given
I have this variable: $subscriptions = wcs_get_subscriptions_for_order($order_id, array('order_type' => 'parent')); Using this print_r() I can see lots of d
I have created a custom function to display 3 custom fields (ACF) and the product price in the WooCommerce Archive/Shop page. My Custom fields are showing corre
I need to check on the checkout page whether payment has been successful or not and display the message: 'Your payment has been successful', and then redirect t
I am able to find the REST API docs for WooCommerce: https://woocommerce.github.io/woocommerce-rest-api-docs/#create-a-product but am unable to figure out how t
Using Woocommerce, I need to be able to add a variable product to the cart within a custom add to cart URL, such as with the following example, where 88 is the
I am trying to insert a WooCommerce element to display "products" (courses) from a specific category into a page. I had also to hide these products for this spe