i added a custom field to a variable product and displayed it on the front single product page with the help of an answer here https://stackoverflow.com/a/55774
My website communicates with retail management software for everything related to products on WooCommerce. Whenever synchronisation takes place, all fields pres
I am using the following API code to send an SMS when a new order is placed, the SMS API code is working to send SMS... Placed at the end of child theme in func
I'm not sure why this is not allowing me to add to the cart. I have access to the global product but it's not capturing the ID to add to cart <?php /**
I am after some help, please. I am looking for a code snippet that will attach my Yith PDF invoices to an automated email for a custom order status I have alrea
I'm a newbie, and I have this problem as it shows me $0.00 on the Order received page. // Add Custom WooCommerce Checkout Message add_action( 'woocommerce_thank
I am trying to show/hide the 'Cancel' button within the subscription details in 'My Account', based on the subscription start date. However I am finding the int
I am trying to auto-add some shortcode at the end of every woo product description. (not after short description). The code with which I am trying is: add_filte
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'm trying to change the stock management availability text on single product page based on different conditions in WooCommerce. There are 5 situations, dependi
we need to make an automatic discount coupon to be applied if the current user role is ( vendor ), we achieved that by creating a normal coupon then used the sn
Let's say i'm using this code to create a coupon: $coupon_code = 'CODEOFF'; $amount = '10'; $discount_type = 'percent'; $coupon = array(
I'm writing a plugin to intercept the creation of bookings in wordpress. To have all the booking information I need to access the information filled in the addo
We are building a wine-shop and have a few typical attributes like alcohol, sugar, acid that have values. These attributes are measured in uni
I have the custom order status and it works. What I need help with here is looping through the order items and checking if any of them are on backorder and if
I'm using polylang plugin to having multi-languages website. Using WooCommerce with polylang demands duplicating each product for each language, so assuming I h
I use this hook to show variations on the shop page. However, the product image does not change when a variable is selected. It works on a Single product page.
Within a plugin how do I get products using wc_get_products()? Or is there another way to do it? if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'a
I want to modify the subscription string so it only shows the sign-up fee for variations with 0$ recurring fee. I would also like to show that variation price
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