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
3 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
8 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 ...
-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, ...
-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
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 ...
-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-...
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 ...
-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 ...
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,'...
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 ...
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 ...
-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
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'...
-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
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 ...
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 ...
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 ...
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 ...
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
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: ...
-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
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 ...
0
votes
0answers
14 views

WooCommerce dynamic price is different between Catalog and Product Details pages [closed]

I set up a WooCommerce Wordpress site for a friend of mine. I'm pretty tech savvy but not a programmer. My friend operates a small mint, and sells fractional gold, silver, and platinum. We have a ...
0
votes
0answers
16 views

Billing address on checkout page always uses user meta value [on hold]

What I found for field [‘billing’][‘billing_address_1’] on checkout page: Changing label and various attributes before rendering page - works good! Changing value (for example, inside hook ...
0
votes
0answers
18 views

WooCommerce Product Permalink using WordPress SEO Primary Category [closed]

I would like to ensure that a product permalink only uses the primary category if one is set via the WordPress SEO plugin. At the moment, a product may appear under Small Appliances example.com/shop/...
0
votes
1answer
16 views

Hide all products from woocommerce shop page?I wish to use shortcode instead (for customisation) [closed]

I want to hide the default product layout on the woocommerce shop page and instead use the Avada shortcode to place them where I want. This will also allow me to use different number of columns for ...
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? ...
-1
votes
0answers
10 views

Woocommerce product search [closed]

I want to search the product based on the custom query or custom form . e.g I have a custom form and after entering the value and select the value from dropdown and also want the checkbox checked and ...
0
votes
0answers
9 views

Let users sell products of custom type [closed]

I created a custom product with some specific information. The product is virtual/downloadable. I want my users to sell their own products thus i will make a form to provide the information and ...
0
votes
0answers
14 views

WC hook 'woocommerce_payment_complete_order_status_completed' not triggering [closed]

When a payment is complete this function is called. ...it says above the function payment_complete() in class-wc-order.php that is called in WooCommerce when an order has been created and it's ...
0
votes
0answers
7 views

Woocommerce Big Product Variations Isue [on hold]

My product is very simple. My product comes in length size. e.g 8",10",12",14" etc. Note: Each length have fixed price. e.g 8"-$2, 10"-$4 etc. Now I need to sale my product in three different ...
2
votes
0answers
17 views

How does WooCommerce ensure that a product doesn't run out of stock during payment? [closed]

I'm gonna make my own "reduce stock" functionality in WooCommerce. But first I'm trying to find out which hooks to use and how WooCommerce currently is reducing stock on the "creating order procedure"....
0
votes
1answer
27 views

WooCommerce - Add shipping class to body class [closed]

I wish to have added the shipping classes as a body class on the checkout page. It would be best if all active shipping classes is added, but otherwise add a specific class if a certain shipping ...
0
votes
0answers
17 views

Editing Default Columns in WooCommerce admin orders page?

I'm not a programmer by any means, but decently tech-savvy. The Orders page of WooCommerce has a "Ship To" column, where it lists the address to ship. The Orders page is generally just used by our ...
-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 ...
-1
votes
0answers
12 views

Product variable options are not clickable when mouse hover [closed]

I have some variable products when i try to choose option. it just works with up and down button. i can do mouse hover during page load bu i can't hover them after page is fully loaded. same on a ...
0
votes
1answer
13 views

How to make a custom button that redirects to a “user specified link while entering product details” woocommerce

Tried this solution https://stackoverflow.com/questions/37228791/custom-button-next-to-add-to-cart-button-of-woocommerce-based-on-product-type but its not working function wc_shop_demo_button() { ...
1
vote
1answer
18 views

Woocommerce category show subcategories only/omit posts for specific category

I have a woocommerce shop with 2000+ products. I have set the shop catalog to show subcategories AND products. However, there are some categories that are so vague that there is no need to show any ...
0
votes
1answer
24 views

Use wc_enqueue_js only on specific pages - nested add_action

In my plugin, I'm trying to add inline script using wc_enqueue_js only on the cart page. The rest of the plugin is also executed only on the cart page. The code below works fine, but I don't like the ...
0
votes
0answers
11 views

Is there a way to edit the receipt to direct to a different email address in woocommerce?

Ok this is kind of a strange question but I am hoping someone knows of an easy fix for this. I sell Digital crochet patterns. I am using a plugin called Woo Checkout for Digital Goods that allows ...
0
votes
0answers
26 views

WooCommerce: /shop/ always redirects to homepage

When I define the shop URL (WooCommerce) as www.domain.tld/shop/ I always get redirected to the homepage (www.domain.tld) when trying to access www.domain.tld/shop/ (I receive a 302 redirect with x-...