I'm trying to add a new field in the usage restriction of coupons. Here is my code: function add_coupon_cpt_field() { $value = get_post_meta( $post->ID,
Bear with me - I'm a newbie. Here's what I'm trying to do: if [product A/variation 1] is in the cart then add [product B/variation 1]. I need help setting up a
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
I have added two variations at product page in woocommerce. Size Color Color image is moving and appearing at the front, once i am selecting the size also. But
My website communicates with retail management software for everything related to products on WooCommerce. Whenever synchronisation takes place, all fields pres
We have a WooCommerce store that sells files (MP3/MP4) to registered users and enables the user to play them in the "Downloads" section of their account (we hav
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 have a quick question in regards to WooCommerce and downloadable files. I would like to make the purchased products play in My Account section rather than eas
I want, when I click on these color attributes on the product list page it redirects me automatically to the single product page. it shows similar behavior to
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 am working in wordpress and i am trying to get "productlist" by "category slug",So for this i am using following code $terms = get_terms('product_cat', array(
I have created a custom theme and downloaded woocommerce plugin, the shop page is working fine however when I view a product only the content appears. The produ
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 using Woocommerce and YITH Subscription plugin to sell a subscription product. But when people also order a regular product I often overlook that (~95% of
I am looking for solution for my problems in checkout. First problem is that I need to make field company ID as required if field "Buy as company" is checked. I
I am trying to use ajax to add multiple, different products to cart with one button click. The AddToCart-Button is living in SHOP before pagination. Ajax reques
I am trying to add new woocommerce custom product type from my plugin. I just have a simple construct in the class that extend WC_Product namespace giftbox\mode
Can someone advise a free Search plugin for WordPress WooCommerce website , that can display in search results “products” and read
I am using the "custom product options" plugin and created a datepicker for customers to choose a requested ship date. I need to create a column on my orders ad