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

Customize Woocommerce Product Category Elements

I am working on a theme and I want to make the woocommerce-shop-header--description have an image next to the text. Like this: I'd also like to be able to have the woocommerce-ordering--dropdown ...
0
votes
0answers
7 views

Show woocommerce category images

Im using this plugin https://wordpress.org/support/plugin/a-z-listing/ to show an a-z of product categories, however by default it's just a list, I need to include the thumbnail for each as well. It'...
-1
votes
0answers
5 views

Check all children categories when check parent - woocommerce

In the product backend there are alot of child categories. Is it possible to implement a way that all the children categories get select if I select a parent.
-1
votes
0answers
18 views

Product price dont display [closed]

I have the following problem: -Have created a variable product with the following data: Min Quantity: 10000 Max Quantity: 200000 Quantity Step: 10000 Regular Price: 0,00016€ However, the same price ...
0
votes
0answers
13 views

Check if product variation image is from the variation itself or from the parent

I want to show the product's variation images. However, if there is no variation image, it just shows the parent's image and I wouldn't expect that. At least I would expect an opportunity to check if ...
0
votes
1answer
10 views

Tax query with `AND` operator does not work with WooCommerce category

In WooCommerce categories, I have Cat 1 (slug is cat-1) and Cat 2 (slug is cat-2). I added many products which belong to both categories. But when i want to query those products, no products found: $...
0
votes
1answer
11 views

How to save order item custom attributes save into custom table

how to save order item custom attributes into custom table in Woo-commerce after order placed successfully.
0
votes
0answers
9 views

Checkout Page Custom Price is not updating

I have a custom script for discount, that affects different users with different situations basically I can say it's a discount algorithm. But it's not working with various hooks that I have used: ...
0
votes
0answers
10 views

Change what WooCommerce products appear on homepage from external API [closed]

Complete WP beginner here. Details: I'm trying to make a WooCommerce store w/ product recommendations. I want to be able to change what products appear on the home page based on our own API. So if X ...
0
votes
0answers
12 views

ACF - Post Link String Replace

I am looking to add a custom post type slug into a WooCommerce product permalink. The product and custom post is linked by an ACF Relationship field. https://www.advancedcustomfields.com/resources/...
0
votes
0answers
19 views

Change WooCommerce Coupon notice/error message [closed]

I would like to change the default 'Coupon "%s" does not exist!' error message of Woocommerce. However, this seems to be a much harder task than I imagined - found no trace of it in the docs. The ...
0
votes
1answer
19 views

Disable Order Review Page when the id product

how Disable Order Review Page when the id product is 50710 i use this code remove_action( 'woocommerce_checkout_order_review', 'woocommerce_order_review', 10 ); but i need disable order review ...
0
votes
0answers
9 views

Create DIY Quotation Page for Customers [closed]

I'm wondering is there a way to do something like this website has: http://build.idealtech.com.my/builder/index.php Customers can create their own quotation without sending an email to the seller. ...
0
votes
0answers
24 views

How to remove duplicates from product column (Custom field) in woocommerce

I have two fields one is name/title of the product and second one is a custom field stock number (stock_number) all the products have name/title and stock number I am only showing stock number in the ...
0
votes
0answers
16 views

Woocommerce Ajax add to cart redirect to homepage

I am using Woocommerce 3.9.2, Wordpress 5.3.2 and Phlox shop theme (Version 2.4.22) and I have problem with AJAX add to cart. When I go into shop page and click add to cart random project it ...
0
votes
1answer
21 views

Add Name and SKU Main Product to Secondary Product to Cart

If I need to offer a product in a WooCommerce product tab inside another product I can. This can be done with a WooCommerce shortcode [product id="xxx"] Now if you also want the customer to be able ...
0
votes
0answers
9 views

Show “Local Pickup” shipping method only for specific Woocommerce products

I would like to set certain products in my store to "Local Pickup Only". I haven't figured out a way to do this myself. So, having the ability to set any products to "Local Pickup Only". And when ...
0
votes
0answers
18 views

woocommerce categories templates not overrided [closed]

I have customized the woocommerce layouts of some template by overriding them. On production I'm not able to let my custom template for the categories working. I get <li> element for the shop ...
0
votes
0answers
15 views

Hi! Sorry to bother you with a question, [closed]

I am sorry to bother you with a very silly question, but it no longer gives me a head. I saw this query that you did and I would like to add for example _sku, price, etc. As I would do it?. regards ...
0
votes
0answers
14 views

Show garment information in product description (custom post type)

I am looking for some advice.. What I want to do: I want to relate a product (woocommerce) to a "Garment" (custom post type) and display some meta information from the garment at certain points in ...
0
votes
0answers
22 views

get products from custom category

First of all I'm sorry for my english. We need to get all products or some from custom query in a pre_get_posts hook. I think the url conditions the query. For example the page https:www.our-page....
0
votes
0answers
21 views

WooCommerce Single Product Page Variations - SKUs Duplicating / Not Resetting

Discovered an issue with displaying SKUs on a Woocommerce single product page. I'm using two theme functions, the first displays the SKU in the upper description area, the second displays the SKU for ...
0
votes
1answer
55 views

WP_Query | Help me create a search term with an 'OR' relation?

I have written a very elaborate script that will essentially allow the user to select from categories, tags and of course the search term. Then run these parameters through a WP_Query. I can ...
0
votes
0answers
15 views

Select product variation from click on gallery image [closed]

In a Woocommerce product details page, is there a way to select the variation of a product based on the image clicked from the product image gallery? Selecting the variation from the dropdown, the ...
0
votes
0answers
13 views

How can I create a WooCommerce order with an existing shipping method? [closed]

I'd like to create an order programmatically (for an API) and also set shipping method. I have tried with this code: $item = new WC_Order_Item_Shipping(); $item->set_method_title(...
-1
votes
0answers
13 views

which server and wordpress theme better for multivendor wooecoomerce website?

I want to create multivendor wooecommerce website with maximum of 100 vendors. Which plugin and theme and server is better for this work.
-1
votes
0answers
9 views

WMLMS ratings are not working properly [closed]

i have looked at the php and js and they are all ok. enter link description here
0
votes
0answers
22 views

Wordpress REST API not returning the public data

I’m making a mobile application for wooCommerce store, and for that I want that people should be able to view my products, without logging in, like they do in my web. But when I make a request to get ...
-2
votes
0answers
14 views

How do I edit the Woocommerce Review Field Placeholder? [closed]

Okay here's my problem. I have a WordPress Site, Woocommerce is on it, I have products on there. All i want to do, is add placeholders into the input fields of the review forms. I don't want to add a ...
-2
votes
1answer
34 views

Include customer details in woocommerce 3rd part plugin email

I'm using Woocommerce Simple auctions plugin. When an auction finishes the admin gets an email saying the following: The auction for (Auction name). Winning bid is R5,000. This is the code for that ...
-1
votes
1answer
19 views

Adding arguments to WooCommerce Product Loop using AJAX

I'm trying to make an AJAX product filter for my WooCommerce shop page. Previously, I had created the query myself, and didn't use the shop page. However, I want to make my code now more WC compatible....
-1
votes
0answers
35 views

WOOF - WooCommerce Products Filter ajax translation not working [closed]

I am using the Storefront theme and when I initially go to the Shop page everything is translated to Site Language but, after I filter something or change sorting ajax returns untranslated text. ...
0
votes
1answer
34 views

Manually create an order with a product ID woocommerce

I am working on a code to create a woocommerce order manually from a gravity form submission. I have 'custom notes' that I have managed to add to order notes BUT ideally it would be in a meta box ...
0
votes
1answer
17 views

Set both meta_query and tax_query using wp_query->set

Is there a way to combine both tax_queries and meta_queries using wp_query->set() ? I am trying to create an AJAX filter for WooCommerce, and I'm currently building out the conditional wp_query->set(...
-1
votes
0answers
38 views

Call to undefined method WP_REST_Request::get() - REST API

I want to register a custom api endpoint to use the woocommerce rest api with the php client libary, this because I have some issue with the authorization of the requests to the woocommerce endpoint ...
0
votes
1answer
18 views

Is it ok to 301 redirect product-category pages to custom pages?

I would like to create a custom page in my wordpress, with a custom design and export all the products from a certain category there. However, breadcrumbs from woocommerce will point to the old/normal ...
1
vote
1answer
14 views

Custom Field created in add_meta_boxes reappearing itself again in the default Custom Metabox

I succeed in creating a metabox with custom field inside, and I restrict it to appear in a custom post type. //define metabox function product_info_en() { add_meta_box( 'english_info', 'English ...
0
votes
0answers
18 views

How to use the same base url prefix for category and product pages in Woocommerce?

I checked out this article https://docs.woocommerce.com/document/removing-product-product-category-or-shop-from-the-urls/ which explains that it is not good to remove the product and category bases ...
0
votes
0answers
25 views

How to merge 2 accounts with same email address after merge of 2 woocommerce databases

I need to merge Woocommerce customers accounts with same emails for each one. I've merged two Woocommerce databases - there are few customers on each of them. My question is how to merge with ...
-1
votes
0answers
19 views

Change stock_status upon order completion - WooCommerce

I am setting up a store which only ever has 1 of each item in stock. I have the WooCommerce Manage Stock OFF, and only using the dropdown Stock Status to manage the ability for customers to buy or ...
-1
votes
0answers
14 views

Error: WooCommerce webshop in one language, while website in two

I have a website in two languages, but the webshop is for now only in English. When a customer is in the store and clicks on 'Spanish', an error message shows up since the store is not available in ...
0
votes
0answers
21 views

Woocommerce and Gravity - Update quantity to gravity

I'm trying to get the quantity the customer specifies on the product page to update the linked gravity form. I have a pretty complex gravity form attached to 1 product type. When the customer orders ...
0
votes
0answers
17 views

How to merge 2 Woocommerce accounts into one and change ids in other tables?

I want to merge 2 Woocommerce databases - but in this case, there are a few things that are very important. 1. I want to check all relations for users. 2. After the merge of duplicated users (by email)...
0
votes
1answer
52 views

WooCommerce REST API AJAX Auth - 401 response

I need to implement vuejs to load the categories of my store. I've read that the woocoomerce rest api need authenticate requets to work, so I'm trying to get the categories using oauth on localhost ...
0
votes
0answers
16 views

Double H1 tag on product page woocoomerce. Removing using a function [closed]

I got some problem. At single product view i have two h1 tags. One is correct and another is hidden by display none with is not correct for seo. I want do remove second h1 tag using php function. Can ...
-1
votes
0answers
15 views

Add donation % in woo commerce cart and checkout

I am not too familiar with woocommerce filters hooks. I would like to add X% of donations on my cart before going to add tax. How I can achieve this?
-1
votes
0answers
24 views

A product can have multiple values for 1 and multiple values for 2. Because there is no dependency between these attributes it's not possible

A product can have multiple values for Carmodel and multiple values for Carbrand. Because there is no dependency between these attributes it's not possible to filter correctly on the frontend. The ...
0
votes
0answers
21 views

How to get all products from an order including variations via SQL query?

I have searched a lot and hope someone has an answer. I want to run a query in the Wordpress/Woocommerce database and fetch from an individual order, all details, including the variations of a ...
0
votes
1answer
21 views

Check if any available product has specific attribute

How can you check if there are any products with a specific product attribute in the shop? I could query (eg. with wc_get_products()) all products and check if they (or their variations) are in stock ...
0
votes
0answers
12 views

Restrict adjacent products in Woocommerce / Storefront to same category

I am using the Storefront (2.5.3) theme with Woocommerce (3.9.2) Currently I have product categories set up like so: Accessories > [Manufacturer] > [Model] > (products) e.g. Accessories - ...

1 2 3 4 5 69