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

Display always stock status without quantity in WooCommerce

I would like to display the product stock status, without showing the remaining quantity. Right now, the standard WooCommerce stock display, as well as the plugins I found so far (WooCommerce Booster, etc), display either the quantity, or a "package…
TomJones999
  • 775
  • 2
  • 13
  • 30
4
votes
1 answer

Add Shipping class below each product in WooCommerce Shopping Cart page

I've configure shipping class for my products. But I want to display them below each product in the shopping cart page. Something like this : Can this be done through editing the PHP?
scholarwithfire
  • 345
  • 2
  • 8
  • 21
4
votes
3 answers

WooCommerce: autocomplete paid orders based on shipping method

I have a product that people can print directly (shipping method 1) or choose to get it via shipping service (shipping method 2). So the order should auto complete if they choose to print it directly (shipping method 2) ONLY. Is it possible to…
Tob S
  • 43
  • 6
4
votes
1 answer

Provide custom registration fields in Woocommerce edit profile My account page

I am developing an e-commerce site in Wordpress using woo-commerce plugin, where I have added few additional fields in registration form like mobile number,gender and so on.How do I provide these fields in the edit profile of My account page in…
Tarunya .R
  • 41
  • 7
4
votes
1 answer

Exclude specific products from everywhere with a meta query in Woocommerce

I would like to exclude products from a given city from my shop page but also from my home page where I display products from the flatsome UX Builder's woocommerce shop widget (not sure it's a widget). The product with the given city doesn't appear…
Jeff
  • 137
  • 2
  • 11
4
votes
1 answer

Difference between order line item and order meta in WC_Checkout hooks

I am creating a plugin where I am using woocommerce_checkout_update_order_meta hook to add order item meta. I have a plugin called WooCommerce TM Extra Product Options installed. This plugin uses woocommerce_checkout_create_order_line_item hook to…
Rashmi M
  • 83
  • 1
  • 3
  • 6
4
votes
1 answer

Changing product thumbnail sizes in WooCommerce 3.3

I'm having some issues changing product thumbnail/image sizes in WooCommerce 3.3. I used to be able to do this in Admin under WooCommerce > Settings > Products > Display. But I don't see the display tab anymore. Has this functionality been moved or…
user3215838
  • 93
  • 2
  • 5
4
votes
1 answer

Add shortened description under the product title in WooCommerce archive pages

In Woocommerce archives pages, I should need to display couple of lines from the product description under each product title like it's shown in this image. How can I do that?
user9054759
4
votes
1 answer

Use Woocommerce functions in custom php files

I am a total beginner in programming with PHP. I wanted to create a PHP file in which the order_status from a predefined order (in my case 108) gets changed to completed. Therefore I need the woocommerce functions get_order($ID) and update_status…
4
votes
3 answers

Hide additional excluding tax price if product is not taxable in Woocommerce

I need to disable displaying the price excluding tax when I set the product without tax. I made a modification in price.php file to add price without VAT.

get_price_excluding_tax()); ?>…

Pat
  • 697
  • 3
  • 11
  • 30
4
votes
1 answer

Overriding "Woocommerce Shipment Tracking" plugin templates files

I have been trying to override a template in the "Woocommerce Shippment Tracking" plugin: /wp-content/plugins/woocommerce-shipment-tracking/templates/email/tracking-info.php. I have tried and can't find the right hooks, and wasn't successful when…
logrexton
  • 301
  • 2
  • 13
4
votes
4 answers
4
votes
1 answer

Add custom URL link to admin order list page in WooCommerce

Hi I am trying to add an AfterShip tracking button or link to my Admin Order list in the backend. I have succesfully created a new column that displays the tracking number for each order. However, I would like to make the tracking number clickable.…
4
votes
1 answer

Hide out of stock products only on shop archive pages in Woocommerce

I am trying to hide out of stock products only from Shop page, but keep them on the separate category page. Woocommerce settings allows only to choose either to show out of stock products or to hide them completely. How to hide out of stock products…
Rtangle
  • 73
  • 1
  • 7
4
votes
1 answer

Get the cart totals non formatted values as float numbers in WooCommerce

How can I get the cart total/total_ex_tax as float number? I looked for, but all answers are like: a) Ugly usage reg_exp (For example, what if we will be to use ',' instead '.'?): global $woocommerce; $amount = floatval( preg_replace( '#[^\d.]#',…