Questions tagged [woocommerce]

WooCommerce: a WordPress plugin. For how-to-use questions, ask their support team. It's mostly open source. On-topic questions: programming which changes or extends WooCommerce behavior. Questions about 3rd party plugins should be asked directly to the plugin support.

is a commercially supported open source available for .

It allow you to freely sell products from your WordPress site. WooCommerce is enterprise-level quality and is built in , , and .

WooCommerce It is now owned by its parent company Automattic.

Before submitting a question

  • Ensure you have the latest versions of WordPress, your theme and all plugins.
  • Check for theme or plugin conflicts. This includes switching to a default WordPress theme such as Twenty Seventeen and disabling all other plugins.
  • Remember, Stack Overflow is not an official support channel for WooCommerce. That support channel is here.

System Status Report
It may help to have a look at the System Status Report to detect some problems and warnings. This can be found in your WordPress dashboard and going to WooCommerce > System Status.

Useful Links


Related Tags

32907 questions
4
votes
1 answer

Include Custom Order Status in Woocommerce Orders sales reports

I have a custom order status - In Progress. The code I have for it is below. It works great - but the orders with this custom order status are not being included in the standard Woo Sales Reports or the Woocommerce Status Dashboard Widget. Could…
yatgirl
  • 169
  • 3
  • 11
4
votes
2 answers

Display some data in a specific html structure for simple and variable products

In WooCommerce, I would like to create a function which outputs a simple "list" of data, for each variation or a variable product. Or, if a simple product, then the details of that product itself. The details I need to include for each are: regular…
Garconis
  • 773
  • 11
  • 31
4
votes
1 answer

Get the data from a protected Meta data object in Woocommerce

I need to get the value of ntva from this Object but I can't figure out how to do it. Meta_data Object ( [current_data:protected] => Array ( [id] => 99769 [key] => ntva [value] => SRTTE ) [data:protected] => Array ( [id] => 99769 [key] => ntva…
Houx
  • 265
  • 4
  • 5
  • 13
4
votes
2 answers

Changing Woocommerce "Add to cart" button to "view product" button

Trying to change the woocommerce button text from "add to cart" to "read more" and redirect it so that clicking the button takes the user to the individual product page. So far, the link works but all the text on the button says is "Button" when I…
Amber
  • 127
  • 1
  • 3
  • 6
4
votes
1 answer

Add a button on top of admin orders list in woocommerce

I have been struggling to find a hook that allows me to add a button to the top of the woocommerce admin "orders page", but so far unsuccessfully. I have found hooks to add action buttons to the action column, as well as inside each orders page ...…
Lcapitao
  • 193
  • 1
  • 5
  • 14
4
votes
1 answer

Enable Wholesale prices in Woocommerce 3

In wooCommerce, I have added a custom meta field with a custom price (wholesale price) in edit product pages settings. Everything works well. When I set a wholesale price it works fine everywhere. But if I try to change this wholesale price it…
Aleks Pvn
  • 151
  • 1
  • 2
  • 12
4
votes
1 answer

Add a terms and conditions checkbox in Woocommerce registration form

In woocommerce registration form, there's no "terms and conditions" before sign up button. Is there a way to make it appears in the form? Here is the link of my theme layout.
German
  • 53
  • 1
  • 1
  • 3
4
votes
1 answer

Hide shipping methods based on products categories in Woocommerce

With Woocommerce, I would like to hide all shipping methods except "Local pickup" when a defined products category is in cart… The code below does that for other product types, except variable products: add_filter( 'woocommerce_package_rates',…
Pityer
  • 113
  • 1
  • 14
4
votes
2 answers

Additional custom dimensions for products in Woocommerce

I have a products with the following size parameters: Length (Woocomerce standard) Width (Woocomerce standard) Height (Woocomerce standard) Diameter Thickness Circuit In the product edit page I have only Length, Width, Height (Woocomerce…
kanlukasz
  • 1,103
  • 19
  • 34
4
votes
4 answers

Woocommerce disable script opening terms inline

On the checkout page in Woocommerce there is an "I accept terms and conditions" checkbox. The "terms and conditions" is a link, but Woocommerce captures the click event on the link, and instead opens a small popup(?) with the Terms and conditions…
Fiodor
  • 796
  • 2
  • 7
  • 18
4
votes
1 answer

Remove single product tabs and add the related content instead In Woocommerce

I have a client who wants to pull the information that defaults into tabs on single product pages in WooCommerce into a different location on the page and remove the tabs entirely. There are three default product tabs: product Description,…
jimiayler
  • 674
  • 2
  • 11
  • 27
4
votes
2 answers

Write an SQL query to remove old orders in Woocommerce

I would like to remove some OLD order data in Woocommerce, keeping only the last 12 months of order data This is the SQL query that I use to remove ALL orders: DELETE FROM wp_woocommerce_order_itemmeta DELETE FROM wp_woocommerce_order_items DELETE…
Stingraynut
  • 85
  • 3
  • 9
4
votes
1 answer

Custom "reply to" email header in Woocommerce New Order email notification

I'm looking to filter the email headers of the new order form in woocommerce. I'm trying to replace the customer email address with the main site admin email address. We need to do this because Gmail is flagging new orders as spam because the from…
Marco
  • 293
  • 3
  • 13
4
votes
2 answers

Which Hook to alter quantity update in WooCommerce cart page?

I'm trying to fire a function when the quantity of a product is changed in cart. More specifically I want to run this function when a customer modify the amount in a cart. I'm looking to find the amount left in a cart then to intercept the update…
Bombo
  • 137
  • 1
  • 1
  • 10
4
votes
1 answer

Additional user role select field in Woocommerce registration

. A user role selection is needed in WooCommerce registration form. Users should have a pull down menu to select between "customer" and "reseller" (IDs) wordpress role. Unfortunately my attempt to assemble code fails. The following code does not…
John
  • 130
  • 1
  • 8