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
-1
votes
0answers
7 views

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

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 [on hold]

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
9 views

Billing address on checkout page always uses user meta value

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
15 views

WooCommerce Product Permalink using WordPress SEO Primary Category [on hold]

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) [on hold]

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
18 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
9 views

Woocommerce product search [on hold]

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
8 views

Let users sell products of custom type [on hold]

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 [on hold]

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
6 views

Woocommerce Big Product Variations Isue

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? [on hold]

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
15 views

How to order products in WooCommerce category by post ids in order i supply

In shop, where product belongs to multiple categories, default product sorting is useless. I would like to sort products in the category I choose and sort them by post ids in supplied order. ...
0
votes
1answer
21 views

WooCommerce - Add shipping class to body class [on hold]

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
16 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
6 views

There is a way to split woocommerce-new-order in two different account if an option is selected?

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

Product variable options are not clickable when mouse hover [on hold]

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
12 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
16 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 ...
-1
votes
0answers
11 views

how to add popup when i choose custom attribute in woo commerce [on hold]

I have created a variant product in woo-commerce I want the popup when I choose an option in (Select your lens) any one could help me? Product image is here 1
0
votes
0answers
10 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 ...
-1
votes
0answers
28 views

Wordpress (5.2.2) + Woocommerce (3.6.5) is super slow [closed]

I am working on some existing Wordpress (5.2.2) + Woocommerce (3.6.5) project. All plugins are uptodate It has many add-ons installed for Woocommerce as listed below:- WooCommerce, Woo Discount ...
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-...
0
votes
0answers
8 views

WooCommerce PUT and Delete API shows 401 AUthentication error [on hold]

I am integrating WooCommerce with my ERP system. I could successfully integrate POST and GET APIs. However, the PUT and DELETE API throws 401 authentication error. I have passed the consumer key and ...
-1
votes
0answers
9 views

Woocommerce membership plugin - grant access upon products purchase [on hold]

The problem i am having is that on the plugin memberships by WooCommerce, on the search function of “grant access upon products purchase” there is no product showing up in the search bar and it doesn’...
1
vote
1answer
26 views

How to target parent product category and its children using WooCommerce?

In WooCommerce, archive-product is the default template for all product categories. I want to create a new product category template for one parent category and all of its children. I've created a ...
-1
votes
0answers
11 views

eCommerce plugin using external configured product ( API to receive Product ID etc ) [on hold]

My Question: I have a WordPress installation and want to use a free of charge eCommerce Plugin to handle the common tasks: Customer Login / Session Management Delivery address Shopping cart ( ...
-2
votes
0answers
9 views

Woocommerce : user role select field and conditionnal custom field at registration [on hold]

In Woocommerce, I want to create a registration form with a user role selection field. I know this can be done easily with a plugin. But I want when the user chooses the second user role for example, ...
0
votes
0answers
8 views

Order status Management based on Paypal return values [closed]

Order status Management based on Paypal return values So I have a website where my client will be sending product keys to the users, but he wanted a functionality Scenario: User places the order ...
0
votes
1answer
30 views

Add a new column to WooCommerce cart page for custom product attributes [on hold]

I'm trying to add a new column to the WooCommerce cart page, and I have managed to add a new column in the cart header by using template overrides, and the following code. For now, the custom column ...
0
votes
0answers
17 views

How to get shop page to filter by min and max price for variations? [closed]

I am utilizing the min_price and max_price url variables in my shop page to filter products. This works fine for simple products, but it doesn't appear to work for variations. If I have a a product ...
0
votes
0answers
8 views

Woocommerce Search - to only search custom pages listing products?

I have made custom pages that lists different woocommerce category products. These pages have a few categories in them and lists the products in them via WP Quesry. I want the search results to list ...
1
vote
1answer
15 views

Can't get woocommerce_get_price_html to work [closed]

I'm building a function to interact with the price html block in wordpress. This is my code add_filter( 'woocommerce_get_price_html', array( $this, 'get_price_html' )); public function ...
0
votes
0answers
24 views

Flat 50% discount upto 200 in Woocommerce coupon [on hold]

I am working on a woocommerce website.And I want to apply a discount using the coupon on cart price in such a manner that it will always give a 50% discount up to $200. If my total cart value is $ ...
0
votes
0answers
17 views

Woocommerce External Product API [on hold]

I'm working on a project that will need to sync products between a client portal and WordPress. At this point I'm thinking WooCommerce might be the best solution. After examining a few other plugins ...
0
votes
1answer
31 views

how can i add class or span tag at sprintf?

i hope to add span tag or class at sprintf I want to enlarge the text size of the numbers in front of me. So I want to add span tag or class only to text in front of me. my code is /** ...
0
votes
1answer
65 views
+50

WooCommerce Shopping Cart Not Initially Showing Products

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
0answers
16 views

Woocommerce - show all product variations on shop and category

I found the code below to display variable products in the shop. After a small modification it works fine. But it also displays the variations in all categories, instead of only showing the variations ...
0
votes
0answers
9 views

How to connnect dropshipping sites like Ali express to wordpress

I want to build a dropshipping website using WordPress and was wonder what is your recommendation and if there is a plugin out there that I can use to achieve all the functionalists provided by Oberlo....
0
votes
1answer
30 views

Woocommerce free shipping method for some products [closed]

I have a question I have 2 packages in woocommerce which i had made. 1 class is for threads another is for everything else in the store. What i am trying to achieve is this: Threads shipping class is ...
0
votes
0answers
10 views

WooCommerce - Change Tax Class Programatically in All Areas [on hold]

I'm trying to set up a select box which allows my site visitors to change the tax rate that they need to pay in WooCommerce (version 3.6.4). I've set up a custom plugin which detects if they've ...
0
votes
0answers
12 views

WooCommerce PDF invoice error [on hold]

I'm using the WooCommerce PDF Invoices & Packing Slips plugin to add a PDF invoice to every order confirmation e-mail. But since a couple of days I get this error in the log: 2019-08-07T11:58:...
0
votes
1answer
30 views

php file child theme directory not overriding parent theme php file [duplicate]

I am trying to customize the html in theme/woocommerce/layout-products/grid.php, I have copied the file from parent theme to theme-child/woocommerce/layout-products/grid.php but without any effects. ...
1
vote
1answer
21 views

Display WooCommerce only in stock sizes product attribute on shop page

The following code from a previous answer to one of my questions displays Woocommerce "Size" product attributes below each product on the shop page: add_action( '...
0
votes
0answers
10 views

Save WooCommerce checkout fields when leaving checkout page

THE SITUATION In this shop, the employee attendant takes order over the phone. We use a plugin named 'Shop as Client' to achieve that. THE PROBLEM Sometimes, after it´s all set to complete the ...
0
votes
0answers
8 views

WooCommerce multiple shop bases and rewrite rules

I have a simple installation of WooCommerce that I need to display under two different URLs like so https://www.something.com/shop/category/product https://www.something.com/knowledge/category/...
0
votes
0answers
10 views

Adding product permalink on admin order page throwing error

I have added product permalink on admin order page using the below code: function fpd_custom_order_item_values1($item_id, $item,$product) { global $post_id; if (!empty( $product->get_id())...
0
votes
1answer
30 views

Modify “New Order” email contents and recipient(s) [on hold]

I wish to modify not only the email sent on "New Order", but also the recipients. Each product has an ACF-field titled "supplier_email". Naturally, it can contain an email address. When someone ...
0
votes
1answer
23 views

Help: how to change the font type of woocommerce product additional information section [closed]

I've tried to change the font type of both woocommerce product "description" & "addition information" to no avail. Is there any custom css code to make this problem solved? Thanks in advance