Category "woocommerce"

Add image caption under image thumbnail in WooCommerce single product page

I'm trying to add the image caption under each image thumbnail on WooCommerce single product page. Here you can see where I want the text to be shown (presently

Auto select first available options from a variation on WooCommerce variable products

I have a t-shirt product that has a choice of sizes and colours. After selecting of one variation I would like the first available option to be auto selected in

wordpress function breaks wp-admin

I've created a function in my custom WooCommerce site. This works great on the frontend, but wp-admin breaks. Wp-admin shows a http-500 error. This is the funct

Bulk import products into Woocommerce using WP WC CLI

I'm trying to add 1000's of products into my woocommerce store using wp wc cli via my datasource which will give me the data in the following JSON format: {

Manage independently the decimal number of the price of each product [duplicate]

I develop an online store with woocommerce and I would like to display the price of the product with 3 decimals when the price contains 3 (exa

WooCommerce single product page by Woolentor : Related product customize

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

WooCommerce how to update order meta data key value with woo rest api 3

I've been searching around but can't get it to work. Using the api v3 I'm able to get all orders and everything is ok, but now I need to be able to update a met

Is there a way to remove the "Delete note" function?

In Woocommerce order notes there is a link to delete order notes. Is there a way to remove this ability to remove that ability?

retrieve simple products and product_variation with corcel

In larvel I'm using corcel and with the help of this comment I'm trying to retrieve only simple products and variations of variable products. $type = array('pro

Update Order custom Field value with WooCommerce REST API

I am trying to update the Order custom field value lworder. I used the below code but I did not find any update. Can anyone please help me with this? $api_respo

Add a custom text for a particular product on specific email notification in Woocommerce

I want to add an extra text "There is an offer in this particular item etc" only for a particular product(Product Id:1) in customer-completed-order.php in WordP

Reorder attribute dropdown terms in Woocommerce single variable products

In the Woocommerce single variable product pages, I would like to change the order of the sizing options on the related drop-down menu. Actually It is like thi

WC show notice on add to cart in product pages

I want to add a notice that lets the customers know when they've added a product to their cart that might not be what they intended. So when a product is added

How do you add custom field to woocommerce product attribute

I want to include a simple in the edit attribute form. (/wp-admin/edit.php?post_type=product&page=product_attributes&edit=55) Is this possible? Everyt

Get specific attribute value by varation product id woocommerce

I want to get the attribute value for the variaton id, I tried something but show me the value for 1 month "1 luna". The 120E price is for 12 months. The varia

Apply woocommerce coupon only to the cart total, not to the tax line

I am working on a WooCommerce site. When I apply a coupon on the checkout page, it automatically applies to the tax as well. I only want the coupon code to app

WooCommerce - unset "<product> removed notice…" on cart page

actions and filters. On my WooCommerce site I get the following message when I remove a product from the shopping cart: "<product name>" removed. Undo?

Last order would be re-order in wooCommerce. How is it possible?

I am developing a woocommerce site that has 3 categories like vegetable, Fast food & Fish. vegetables are the main category of his eCommerce site. My client

Make Shipping Method fields Mandatory on Woocommerce checkout page

I'm sure that there is a quick bit of code out there that will solve this issue, but I'm struggling to find it. I have a WordPress/WooCommerce website set-up a

Change user role if checkout custom checkbox is checked in WooCommerce

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