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

Change order notes checkout field placeholder in Woocommerce

In woocommerce, I am wondering how to remove from the "Order notes" checkout field placeholder this text "e.g. special notes for delivery", as my store does not ship products and it just sounds out of context. So I am trying to edit the template…
Sculpt-it
  • 41
  • 1
  • 3
4
votes
2 answers

Get payment gateway related data in Woocommerce

I have this code to set WooCommerce variables // Defining User set variables $this->title = $this->get_option( 'title' ); $this->description = $this->get_option( 'description' ); $this->instructions = $this->get_option( 'instructions' ); but how to…
4
votes
2 answers

Move product description after short description in Woocommerce

I've used the first option of this hook (the other ones didn't work) -> Woocommerce Product Default Description for All Products And this is how it looks (the red marked text is the standard description) However, I want the text to appear after the…
Lianne
  • 41
  • 1
  • 2
4
votes
1 answer

Display a custom notice before all default notices in Woocommerce checkout page

I use the following below code for show custom message to un-logged woocommerce users (visitors) in checkout page add_action('woocommerce_before_checkout_form', 'my_custom_message'); function my_custom_message() { if ( ! is_user_logged_in() ) { …
ahmadwp
  • 228
  • 1
  • 4
  • 15
4
votes
1 answer

Show discount percentage in WooCommerce sale button

I'm looking for a way to show the percentage of discount in the sale bubble in WooCommerce. Here is an image how the button looks now: So, basically, the button will show: -20%
Athon
  • 130
  • 3
  • 13
4
votes
2 answers

How can I change the product

in Woocommerce Storefront to

?

I'm using a child theme to Woocommerce's Storefront theme. On the home page, it is rendering the product names of the featured products as h2s. I would like to change these to h3s (SEO reasons). The h2s use this class:…
Colin
  • 424
  • 4
  • 17

4
votes
1 answer

Converting weird timestamp with php date() for Woocommerce

The timestamp in question 2018-02-08T09:51:54+00:00 Im using the SendinBlue woocommerce plugin to send my store emails and handle the templates but when inserting the order date, which the plugin gets by means of $order->get_date_created() the…
blackhill24
  • 422
  • 14
  • 30
4
votes
5 answers

How to disable rounding of prices on WooCommerce?

I've been trying to disable product price rounding on WooCommerce without success. Even if I set decimals to 2 on WooCommerce > Settings > General > Number of decimals it will show products that are $9.99 as $10.00 After trying to find any code…
AndreVitorio
  • 622
  • 1
  • 7
  • 18
4
votes
1 answer

Toggle out of stock items on front end - woocommerce

I wish to include a button on the website so that users can toggle out of stock items on and off. By default, I want the out of stock items to be false. When the user browses around I need the setting he applies to be consistent. Is this…
4
votes
2 answers

Get Product ID and Variation ID from an Order ID from outside wordpress

I am trying to PHP/MYSQL query WooCommerce Product ID/Variation ID from Order ID If the product(s) in the order is/are simple get product ID(s) If the product(s) in the order is/are variable get Variation ID(s) If both (simple and variable) get…
Kareem Connor
  • 63
  • 1
  • 6
4
votes
1 answer

Multi checkbox fields in Woocommerce backend

Ive been trying to add a custom field in woocommerce backend where users can multiselect checkboxes for a certain level. Is it possible to create multiple checkboxes? So far i have this: woocommerce_wp_checkbox( array( 'id' =>…
Webdever
  • 485
  • 5
  • 17
4
votes
1 answer

Conditional custom checkout fields based on product category in Woocommerce

I am using woocommerce for a site for a nonprofit that sells tickets to classes and tickets to events. When someone is signing up for a class then need to list their emergency contact information and agree to a liability release. When they are…
James
  • 55
  • 1
  • 6
4
votes
1 answer

Get the tax label per order item in Woocommerce 3

I'm trying to get the tax label in WooCommerce for each order item. For example: 2x Product 1 - 19 % MwSt. (tax) 4x Product 2 - 19 % MwSt. (tax) 1x Product 2 - 19 % MwSt. (tax) So I added the taxes "19 % (tax)" as standard value and "7 % (Tax)" as…
Janine Kroser
  • 444
  • 2
  • 6
  • 23
4
votes
1 answer

Add a custom fee for a specific payment gateway in Woocommerce

How can I add a percentage to the total amount when choosing a payment (credit card)? For example: If the customer pays for cash on delivery, then the base price, and if I chose online payment, then the percentage charged by me is added to the total…
4
votes
3 answers

Delete previous items from cart when user logs in again in WooCommerce

I have WordPress version 4.9.5 with our own theme, and WooCommerce as online shop solution. Imagine that some user logs in to the website and adds some items in shop cart. Then he exits from website, whether he closes web page or logs out. After…
Alek_86
  • 45
  • 1
  • 5