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
14
votes
3 answers

Change WooCommerce default password security level

I am trying to change the WooCommerce Registration form minimum password strength and I am unable to do much. Can anyone please share a solution by which I can amend the minimum password strength and allow users to user a password that's 7…
Husnain Abbas
  • 159
  • 1
  • 1
  • 10
14
votes
1 answer

How WooCommerce Coupons are stored in Database?

I need to run a script to check my coupons every time I have a new register, but I can't find where the coupons from coupon generator (WooCommerce) are stored.
lufizi
  • 403
  • 2
  • 7
  • 14
14
votes
5 answers

Woocommerce shop page custom template

As I understand by default Woocommerce shop page uses product archive template. What I am looking for, is to use a custom template for shop page. Here is what I did: Create template "my-shop" Create page "My shop" -> choose template…
Silver Ringvee
  • 5,037
  • 5
  • 28
  • 46
14
votes
2 answers

Hide Added to Cart message in Woocommerce

I want to remove the "xx product has been added to your cart" message from the top of my checkout page. How can I do that? There was a suggestion by someone (link below), but it didn't work for me. Remove/Hide Woocommerce Added to Cart Message but…
Mary
  • 209
  • 1
  • 5
  • 12
14
votes
3 answers

WooCommerce REST API Custom Fields

Is it possible to access custom fields for orders, products, customers via WooCommerce REST API? If not natively, then what plugins or workarounds or hacks are out there that work? Thanks!
Amjad
  • 1,627
  • 5
  • 21
  • 41
14
votes
6 answers

woocommerce_order_status_completed not triggered

I want to write a custom plugin that does some action after woocommerce order is completed, but I can't get this hook to work. I can see this question asked many times. Like here:…
user568021
  • 1,426
  • 5
  • 28
  • 55
14
votes
1 answer

Woocommerce Admin Order Details - Show custom data on order details page

I'm searching and trying it for 2 days with no success, please help. I want to filter woocommerce orders to add additional details from db to order details page based on product attribute but I can't find the right woocommerce action/filter hook for…
Haider Saeed
  • 277
  • 1
  • 6
  • 19
14
votes
2 answers

woocommerce custom checkout field to add fee to order ajax

I'm trying to ad a custom fee to the order total upon checkout. I've added a checkbox within woocommerce add_action( 'woocommerce_after_checkout_billing_form', 'add_box_option_to_checkout' ); function add_box_option_to_checkout( $checkout ) { …
adam
  • 618
  • 2
  • 11
  • 31
14
votes
2 answers

How To check Product Have Variation in woocommerce

Is there any way to check the product has variation something like Please help me.
user3633916
14
votes
7 answers

How to remove woocommerce tab?

the products in our woocommerce shop don't need any of the default tabs so I have managed to disable them being that I only need to have the product description below the product however, while I want to keep the actual description, I believe the…
user1724434
  • 688
  • 4
  • 9
  • 24
14
votes
2 answers

Woocommerce - Is it possible to add variable products to a grouped product?

I have list products in a particular group... in this case, a bed set. comforters, pillows, shams, etc. Some are variable products (comforter sizes), and some are simple products (pillows). I would like to create a product group called XYZ Awesome…
Joseph Wer
  • 351
  • 1
  • 6
  • 15
14
votes
2 answers

Add a Variation to Cart using AJAX - WooCommerce API?

I have an item with the following data : var item = { id : "124", name : "xxx", price : "13.13", quantity : 1, options : { "size" : "xl", "color": "pink" } }; When the user clicks on "Add to Cart" I'd like to make an Ajax…
Kawd
  • 4,122
  • 10
  • 37
  • 68
14
votes
5 answers

Getting country name from country code in WooCommerce

WooCommerce defines countries as follows (edited for brevity): class WC_Countries { public $countries; public function __construct() { global $woocommerce, $states; $this->countries = apply_filters( 'woocommerce_countries',…
Christian Mayne
  • 1,709
  • 7
  • 26
  • 42
14
votes
6 answers

Best Way to override woocommerce.css

What's the best way to override woocommerce.css? In my style.css I have to write those css again to override it, and put !important after each css. I think this is not the best practice to do so. Anyone has a better idea?
user3390591
  • 183
  • 1
  • 3
  • 13
14
votes
6 answers

Override woocommerce files from includes folder

I have directly modified the class-wc-checkout.php file from includes folder in woocommerce plugin to add custom line item meta data. Is there any way to override the class-wc-checkout.php file from my-theme folder as we override template files in…
nishant
  • 479
  • 2
  • 6
  • 19