Questions tagged [woocommerce]

OFF TOPIC. Questions *specific* for this e-commerce plugin have their own forum at https://wordpress.org/support/plugin/woocommerce.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

How to Sending different email notification while registration based on user role

I have a website with two user role named “customer” and “vendor” when anyone doing registration with "customer" then I want to send a welcome email and when with “vendor” wanna send a different ...
0
votes
0answers
4 views

Modify default woocommerce multiple coupon calculation

Is there anyway to modify woocommerce coupon calculation? Item A - $1000 Apply Coupon A - less $200 Apply Coupon B - less 5% Currently, when user apply 2 coupon, Woocommerce will calculate based on ...
0
votes
0answers
9 views

Collapsible product categories on sidebar?

I'm trying to find out how to make a collapsible product categories on the product page sidebar. I'm using woocommerce and the Avada theme. I've tried scouring google to find a plugin for this or ...
0
votes
0answers
5 views

How do I setup WooCommerce to create a custom coupon code for a customer when they purchase a specific product?

I would like to be able to generate a custom coupon code for a customer when they purchase a specific product on my website. The idea would be that they purchase Product X and the followup email they ...
1
vote
1answer
1k views

API returns blank response after installing & uninstalling WP-rest-api plugin

The WordPress/WooCommerce API is broken on my site: http://example.com/wp-json/wp/v2/posts and http://example.com/wp-json/wc/v2/products both return a blank response. Running a Python request by ...
0
votes
1answer
14 views

How to get Wordpress to respond to a GET request at the end of a Woo product page

I need to initiate an action on a WooCommerce product page if parameters are added to the end of the page. For example: https://somesite.com/products/some-random-product?some-parameter=true If this ...
-2
votes
0answers
7 views

WooCommerce - save user meta on checkout registration

I am trying to solve this: user is on checkout with filled fields + custom checkbox field user is not logged-in and checked "I want register" (default functionality within Woo) When user make order, ...
0
votes
1answer
563 views

How to edit default Woocommerce “products” label

I have this page : http://demo.artmonarchy.com/shop/ Where can I edit page title and breadcrumb which is "Products" now? I already changed the title with yoast but still it appears as Products in ...
-2
votes
0answers
19 views

Get Carts + Value (Api or SQL) [on hold]

I wanted to analyze how many carts (+ their value) have been abandoned. I found a lot of plugins showing that ... but I would rather like to get the data via API / SQL ... do you guys have any ...
0
votes
1answer
11 views

WooCommerce - redirect single products in product categories to product page [on hold]

As a proper UX measure, I want to redirect all the product categories containing a single product to the product detail page instead of the product category page to save them one step. Everything I've ...
0
votes
0answers
5 views

Catalog sidebar - How to Display last active subcategory menu? [on hold]

For woocommerce website Hello guys, i only know HTML/css so... no PHP I would like to keep active & display the last subcategories menu of my catalog sidebar widget.(the left menu in the ...
0
votes
1answer
2k views

WooCommerce - Order_itemmeta - Need to add meta_keys to table

I need to add 3 meta values to each order_item to the woocommerce_order_itemmeta table. Any suggestions how to create new meta_keys to be included in the table for all order items?
-2
votes
0answers
18 views

Can I move my filter from Shopify to Woocommerce? [on hold]

I have a filtering tool that could help to easily find products based on price, size and style. Can I migrate it from Shopify to Woocommerce?
-3
votes
1answer
10 views

Urgent!!!! How can I transfer my store from Shopify to Woocommerce? [on hold]

I tried some tests importing manually but it doesn't seem effective. Any other suggestions for low budget. Many thanks for your help.
0
votes
0answers
15 views

wc_get_order() returns false on Woocommerce Customer Order XML Export Suits [on hold]

I want to export the Order over FTP. I am using a plugin called WooCommerce Customer/Order XML Export Suite. Export is working perfectly on new order. But I wanted to add some filter depending upon ...
0
votes
0answers
14 views

How can I add categories on a search in Woocommerce? [on hold]

Let's imagine we are a store that sells clothes. We have different categories, as "Shirts", "Pants" and "Shoes". All of this products are stored with the name "Shirt XYZ Grey", "Red ABC Pant", etc., ...
-1
votes
0answers
5 views

Loading woocommerce images from subdomain

Trying to optimize a wordpress site. When a browser requests static images, it sends cookies with the request from the main domain, but the server ignores the cookies. These cookies are unnecessary ...
0
votes
0answers
9 views

How To Enable eCheck For Checkout With BrainTree? [on hold]

I am using WooCommerce PayPal Powered by Braintree Gateway for online payment on my WordPress website. I want to serve my users with eCheck functionality in checkout. I had researched a lot but I ...
0
votes
1answer
38 views

Woocommerce - Order info is empty on frontend?

I'm trying to create a page similar to the checkout page with all the customer, billing, and order information. As a last resort, I tried to retrieve the unique order link, but I had trouble with even ...
1
vote
1answer
21 views

Calling a function from anywhere, used in different places

I have a function that is currently operating correctly. It is currently located in the 'My Account' section and is working as it is supposed to. Changing user meta info in the back-end fro a drop-...
1
vote
1answer
2k views

Woocommerce - Changing the order of the upsell products

Having some trouble with a clients site. We have a product with four upsell products linked, and they display on the site. Only problem is, those products are listed on the page in a seemingly random ...
0
votes
2answers
11k views

Add Additional “Checkout” button next to “Add to cart” button in woocommerce product page

I am trying to find a function which will add ADDITIONAL button next to the standard "Add to cart" button in woo commerce product page. I added a woocommerce folder into my childe theme in order to ...
3
votes
2answers
16 views

Output a WooCommerce product custom field in WooCommerce using get_post_meta()

I'm creating a plugin to display schema script for my WooCommerce product. I use a custom field to add my gtin number in WooCommerce. This is what I did: <?php $gtin = get_post_meta(post_ID,'...
-1
votes
0answers
14 views

Woocommerce thinks non-sale items are on sale [on hold]

We update the pricing directly in the database. Is there some sort of field that ticks whether an item is on sale or not? We have tried multiple plugins to let us show sale items, and they always end ...
0
votes
0answers
12 views

Change label text color in woocommerce [on hold]

I am new to using wordpress and woocommerce. I have been able to change the text for membership discount however the text colour is too light and I would like to change it to a darker shade. This is ...
1
vote
3answers
3k views

Filter hook before create order WooCommerce

I would like to write a little script that does a check whenever an order is created in WooCommerce (right after checkout) and then conditionally changes the Shipping Address of the customer. I think ...
2
votes
1answer
3k views

Woocommerce auto cancel On-Hold after X days

I have searched high and low but with no resolve. So we developed a custom "bacs" type gateway for our site. Here in Brazil you can pay via a bank billet. The billet usually has an expiration date for ...
0
votes
0answers
12 views

Is there any way how to obtain / filter out product variations using WP query by title?

I was wondering if there was a way how to filter product variations by titles using WP query. For example if we wish to delete only certain product variations from all products that are accepted by ...
0
votes
1answer
19 views

Error thrown Call to undefined function WC() [on hold]

Today Im mistake when deactivate Woocommerce and Woocommerce-admin from admin c-Panel. Now i can't access to mysite.com/wp-admin its always show: Error thrown Call to undefined function WC() now only ...
-1
votes
0answers
11 views

Can we use WC_Products_Query to get products that matches a desired product name? [on hold]

I have a requirement such that: User searches for a product Any product name that has a match for at least one word of the search string must be returned It must be in the descending order, with the ...
1
vote
1answer
2k views

How to add checkboxes for a woocommerce product?

I have a wordpress site that does food catering. I want to be able to do the following configuration when placing an order: Days: Select the weekdays via checkboxes Food Options: Select the type of ...
1
vote
2answers
1k views

WooCommerce Base Page Featured Image Custom Theme

I have a very basic theme that is running WooCommerce beautifully so far. In my functions.php I've setup the following to support woocommerce. // // WooCommerce Hooks and Theme Overrides // ...
0
votes
3answers
444 views

Find woocommerce product ID by custom field value?

I try to find a way to get products ID by custom field in a category. I use this: // Get the category $catsearched = $atts['category_id']; // Get all product of categoryselected $product_args = ...
-1
votes
0answers
10 views

How to show a custom field in the PDF invoice in woocommerce?

I created a custom field to get a text from the user when creating an order. using this code: woocommerce_form_field('message1', array( 'type' => 'textarea', 'label' => __('Gift Message'...
-1
votes
0answers
10 views

Woocommerce new order email conditionally based on shipping options [on hold]

i'm looking for a method to split woocommerce new order email in two different email account when it's selected a shipping option it's selected. There is an example: If I select option 1 in shipping ...
0
votes
2answers
19 views

Display all product tags associated with a specific product category

I need some help writing a shortcode to display all product tags associated with a specific product category which can be displayed on any page. My problem is that I can display all product tags ...
-2
votes
1answer
25 views

Creating a shortcode with a variable (Woocommerce)?

I'm new to PHP. I want to create a shortcode that outputs a user's order number, but I'm having trouble. All I know is that the order ID variable is "$order->get_id();"
0
votes
0answers
8 views

Automatically update woocommerce products after 10 minutes when they are published from frontend

Is there a function than can update a woocommerce product in 10 minutes after it's published from frontend? I'm asking because i'm running Rh frontend publish pro for users to submit products to ...
0
votes
1answer
1k views

Woocommerce pagination not working in custom loop WP_Query

Please help with pagination I have code that works fine (functions.php) function projects_custom_number_of_posts( $query ) { $query->set( 'posts_per_page', 2 ); return; } add_action( '...
1
vote
0answers
13 views

Showing the WordPress standard text area on a Woocommerce Single Product Page?

I'm trying to show the WordPress default text area on a Woocommerce Single Product Page but can't find the appropriate hook to add to the template? I would have thought it would've been well ...
0
votes
1answer
605 views

pre_get_posts with WooCommerce Shortcode Query

I want to add some additional query vars and customise the query for woocommerce [products] shortcode. i'm trying to add some additional fields and conditions with pre_get_posts and posts_fields hooks ...
0
votes
0answers
13 views

How to gray out options in dropdown when certain variation is choosen instead of dissappearing [on hold]

I am looking for a way to gray out the options in the dropdown of a woocommerce product page. Currently i have 520 variations for a product. Example below. Here is the link to the product page: ...
2
votes
4answers
1k views

WooCommerce 'all' orders no longer being displayed - how may I debug/fix

I've just noticed that we seem to have a bug with our store. The 'all' orders selection is showing as empty but the other sub catergories such as completed, on hold and pending etc are there. I'm ...
0
votes
1answer
386 views

How to change “add to basket” button text in WooCommerce based on product category?

I've created CPT with my events and for each event I've created individual product in WooCommerce. Now I'm using this shortcode in my code <?php echo do_shortcode('[add_to_cart id="'.get_field('...
0
votes
1answer
478 views

Edit product in cart (Woocommerce) instead of adding new one

i created a new product and after adding in cart i want to update that product in cart, what actually happens when i click on product it take me to product detail page after some editing in product, ...
0
votes
1answer
408 views

Change Position of Woocommerce Error Notices

How can I move all the Woocommerce checkout and register/login errors inline to the form fields? By Default, all the errors come at the top of the page. I just wanted all the errors at checkout and ...
-1
votes
0answers
10 views

WooCommerce Select2 match US/ Canada, etc states by beginning of string not just any match [closed]

Cross posted from my question on SO WooCommerce uses select2 in the shipping and billing address field for state and country. I want to make it so that when you search for ka the top result is Kansas ...
0
votes
1answer
84 views

WooCommerce Shopping Cart Not Initially Showing Products [on hold]

I'm working with a client to create a WooCommerce shopping site. However, for some reason after people add items do their cart, these items take approximately 30 seconds to actually add to the cart. ...
0
votes
1answer
21 views

Exclude Specific Product Category for showing up in its parent category page

I am displaying a list of product sub-categories in a grid format in the parent Categories. There is a specific category with id 7000 which I want to exclude from the grid. How do I accomplish this? ...
0
votes
0answers
10 views

Site search gets me to posts page

I've built a web shop, on my 404 page I've a search bar, if you search there for a products it redirects me to a page with all the posts, but i want it to redirect me to the product search page, or ...