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

How to get order_item_id WooCommerce

I need to be able to get order_item_id, the unique value applied to each item in each order. This is what I have so far: global $wpdb; $order = new WC_Order( $order_id ); $items = $order->get_items(); foreach ( $items as…
user2903890
  • 121
  • 1
  • 1
  • 4
12
votes
3 answers

Woocommerce - How to customize the addresses output?

I am customizing the "view order" (order-details.php) page in Woocommerce, within "My Account" (when an user is logged in) and we have the code below to print the billing and shipping addresses: get_formatted_billing_address())…
joaogdesigner
  • 430
  • 2
  • 7
  • 20
12
votes
3 answers

WooCommerce - Disable shipping for downloadable purchases

I've just set up a Woocommerce based webstore and I'm very happy with it so far, but I've come across something that isn't necessarily a dealbreaker, though it's annoying for the customer. Some context: the store is for my band website and sells…
Alex Holmes
  • 121
  • 1
  • 1
  • 3
12
votes
3 answers

WooCommerce Custom Fields - Multiselect

I'm adding extra fields to the checkout page in WooCommerce, I can add basic fields like a text box, but need to add a (multi) select box, where the user can choose multiple items. I've figured out how to add a select box through code, like…
Aaron Cruz
  • 121
  • 1
  • 3
11
votes
1 answer

ACF repeater based on product quantity generating checkout fields in Woocommerce

I am using woocommerce-advanced-checkout-fields plugin and added a repeater field to the billing section as follows As you can see in the image above the repeater field "Name/Email" is applicable to the product "Belt" Now when I go to buy the…
Rinsad Ahmed
  • 1,877
  • 1
  • 10
  • 28
11
votes
1 answer

Add a custom field in Woocommerce Edit Account page

I have custom checkout fields favorite_color that users can fill in during checkout (not required),imilar to other default checkout fields... In My Account section in "Edit Account", I Would like to add favorite_color custom field to allow customer…
Josione
  • 145
  • 1
  • 3
  • 8
11
votes
1 answer

Add custom content to WooCommerce product description

I'm trying to inject some text in my description ending. Is it possible with filter? Or do i need to do this via child theme? Been trying to find the hook for description but can only find one for short description. Example: This is a description.…
Oscar vs
  • 376
  • 2
  • 4
  • 17
11
votes
4 answers

WordPress FTP connection setting for localhost to upload and install WooCommerce

I can't upload a WooCommerce .zip file and install the plugin on the local host. Every time I click install button, WordPress is asking for connection information for the FTP credentials like this picture: Even though I entered localhost for the…
Ali.Ghodrat
  • 3,348
  • 3
  • 31
  • 31
11
votes
1 answer

How can I Customize woocommerce "My Account" page?

I'm making an online shop page with Woocommerce. When someone go to "My Account" page to see their recent ordering history or shipping address, My Account page always shows useless welcome message page (which named Dashboard) and customers have to…
Bad Dobby
  • 811
  • 2
  • 8
  • 22
11
votes
6 answers

WooCommerce- How to remove product & product-category from urls?

I'm using WooCommerce on a WordPress and it adds product & product-category to the URLs. http://dev.unwaveringmedia.com/8dim/product-category/all-party-supplies/ http://dev.unwaveringmedia.com/8dim/product/14-snowman-serving-tray/ I need to remove…
Bhagya Shree
  • 111
  • 1
  • 1
  • 4
11
votes
13 answers

Adding multiple items to WooCommerce cart at once

I have 3 IDs of the different items that I want to add to my shopping cart. I could use https://url.com/shop/cart/?add-to-cart=3001 but when I want to add 3 items I can't do it. Is there any function/script I can add to add this ability to my…
Sean Goudarzi
  • 1,244
  • 1
  • 10
  • 23
11
votes
2 answers

Can I modify WooCommerce functions within the 'wc-template-functions.php' file or should I stick with the 'functions.php' file for such modifications?

Why is it the preferred choice, to have WooCommerce function modifications placed inside the theme's 'function.php' file? Overtime, this would make the file rather large. I am of the understanding that it is generally better practice to have lots…
Craig
  • 1,872
  • 5
  • 23
  • 56
11
votes
3 answers

Hiding or Deleting the "Ship to a Different Address?" checkbox in Woocommerce plugin

I've been looking for a working solution to either hide or delete the "Ship to a different address?" checkbox in Woocommerce checkout page in Wordpress, but I haven't figured out how to do so, so far. Is there any way to do this? By the way, I use…
Ehsan
  • 197
  • 2
  • 2
  • 10
11
votes
3 answers

WooCommerce customer order detail in BS Modal

In a WordPress website running WooCommerce, the user can login in his (default) personal area and display information like: Orders history Download Addresses Edit info Logout In the orders tab, a table is presented by default, showing a list of…
Yuri
  • 3,082
  • 3
  • 28
  • 47
11
votes
3 answers

Disable original image crop in WooCommerce

Then there is a portrait image of all the products, and according to the design of my themes I have to show all the images in a square box.So all the images are cropped and displayed. How to disable original image crop in woocommerce? Because I have…
Bhavik Hirani
  • 1,996
  • 4
  • 28
  • 46