Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [woocommerce]

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

0
votes
0answers
2 views

Adding existing user custom field value to a woocommerce product

I am assigning each product in WooCommerce to an author. Each author, when they sign up, adds in a short bio and this is saved with the author's user account. People are signing up with Profile Press. ...
0
votes
0answers
6 views

Plugin to put the whole checkout on a single page

I need a plugin that makes the checkout page stay on the same page, divided the information into columns, as in the image below Thanks for your help right away.
0
votes
0answers
6 views

Woocommerce product import - cannot set post_date

I’ve imported a couple of thousand variable products and variations successfully, however I would like to be able to set the post_date (to force the order of the products displaying) I cannot choose ...
0
votes
0answers
7 views

WooCommerce Category Shop Loop

I am currently having an issue with two things. One is the theme Byanca, the other is the plugin Product Filters, both purchased via CodeCanyon. I am still in touch with the developers of both the ...
1
vote
1answer
10 views

Hook to use when customer placing order

Currently I am using woocommerce_thankyou action to run a function that creates an order at a third party service. However, sometimes customers don't return to the Thank You page after visiting our ...
0
votes
0answers
14 views

WooCommerce Custom Data from JS code

I am working on an online shoe shop and it needs the option for costumizable shoes with live preview. I've written the application for that in JS, you can select up to 7 colors for 8 different parts ...
1
vote
0answers
11 views

Storefront child theme not applying parent theme [on hold]

I've followed, word for word, the Storefront guide for creating a child theme: https://docs.woocommerce.com/document/set-up-and-use-a-child-theme/ I've got a new folder in my themes folder, added a ...
0
votes
0answers
9 views

Get Specific Product ID WooCommerce Comments

I am trying to place the WooCommerce comment fields but for an specific product id <?php global $withcomments; $withcomments = true; comments_template( '', true ); ?> And this custom field ...
0
votes
1answer
13 views

WooCommerce to support individual product pricing based on external data

Is there any possibility to set product price individually? Let's say I have a shop to sell uPVC windows. There are base product items created in WooCommerce that correlate to windows manufacturers: ...
0
votes
0answers
23 views

How do I use a combination of switch_to_blog() and wc_create_order()?

I'm looking for a way to create a WC order programmatically for a subsite in my multisite environment. When I use the following, the order is created on the main site and not the subsite with ID 7: ...
-1
votes
0answers
10 views

woocomerce template

I created a page in Wordpress using DIVI theme. I use Woocommerce plugin and i want to split a template (form-login.php) in two: 1. Log in page 2. Register page. So, i created a page using DIVI theme (...
0
votes
0answers
14 views

Error # - 200: HTTP Error

I have a wordpress site. Since last five days I have problems with uploading. I am trying to upload a pdf file in media and also in WooCommerce. Sometime files upload without any interruption. But ...
0
votes
0answers
11 views

set default value to variation woocommerce dynamically

I'm trying to set the default value for a product that has 2 attributes: 1st is size and the 2nd is city. so this product has price for each city which the city will be in the cookies. so what I've ...
0
votes
0answers
13 views

Unset gateway issue with page id

I have made 2 different checkout pages, so I need to hide the bank wire option on checkout page 2 and some other payment option on the other page. Here is my code: add_filter('...
0
votes
0answers
25 views

wp_options Table keeps growing

wp_options Table keeps growing. I few days ago this issue started on my blog. I though it was a plugin problem but couldn't find a way a out so I delete it everything, wp, database, all. New ...
0
votes
0answers
7 views

Create Woocommerce cart with number of products [on hold]

How to create something like this?
0
votes
0answers
22 views

What is the best solution for woocommerce multi store? [on hold]

I've three different stores and I want to create a new store on new WordPress installation. My purpose is to manage the orders (from my three websites) from one dashboard, and make some offers at the ...
0
votes
1answer
22 views

woocommerce_order_status_completed Not being called

I have developed a custom plugin that is overall working great. No errors by WP or SQL problems as it access a custom database. BUT, for the life of me, I can not get the woocommerce call back to ...
0
votes
0answers
16 views

Can the WooCommerce image sizes be removed?

Is it safe to remove_image_size() on WooCommerce's built-in image sizes (woocommerce_thumbnail, woocommerce_single, woocommerce_gallery_thumbnail, shop_catalog, shop_single, shop_thumbnail)? I'd like ...
0
votes
0answers
8 views

Woocommerce caterogies show next category

I have 2 categories level for 1 product : House Room When I click on House caterogy, page display all products from House. I want when click on House, to display all caterogies of House Room, and ...
0
votes
1answer
10 views

Hide prices from certain category in woocommerce

I have next code: add_action('init', 'bbloomer_hide_price_add_cart_not_logged_in'); function bbloomer_hide_price_add_cart_not_logged_in() { if (!is_user_logged_in()) { remove_action('...
0
votes
2answers
39 views

Return custom product in ajax call loop

Working on Wordpress / Woocommerce architecture, I'm new in woocommerce, before i've worked on django and laravel framework, the project is a plugin wp, where a little form is fit with select tags ...
0
votes
1answer
28 views

Does the woocommerce_order_status_changed hook fire when WooCommerce updates an order status automatically?

We have a plugin that uses the woocommerce_payment_complete hook which calculates an orders point value for our customers based on the items and order total. This generates a CSV file and then uses ...
0
votes
1answer
31 views

i want add conditional for add category in wordpress

i have marketplace plugin when the seller want add product first he will choose category i want change this code to for example i have 2 main category ( A - B ) and i have ( C - D - E ) under A ...
0
votes
1answer
16 views

Remove generated category and tag class names from woocommerce product & blog listings markup

I noticed in my wordpress/woocommerce setup that every time i add a tag to a product or a blog post. It adds that tag as a class into the listed item (Product/blog) I also noticed it adds a class in ...
0
votes
0answers
15 views

Woocommerce variations images

Is it possible to assign one (same) image for group of product variations. For example if t-shirts have 2 color attributes and 10 different size attributes after creating all variations there are 20 ...
1
vote
0answers
14 views

call_user_func_array() error in class-wp-hook.php

I have this message when I try to add a new variation of a product on Woocommerce/WP: Warning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two ...
1
vote
0answers
20 views

How to extend WooCommerce API to show bookable product availability rules?

I've made a custom plugin with a custom API end point. I would like to access my bookable products availability times so I can use the API with a react front end. So far I have this function that ...
0
votes
0answers
23 views

“Free sample” variant affects sort by price

On our website we've got products and each product has got two variants - one is with standard price, and second is called "free sample", with price set to 0. This solutions affects the "Sort by ...
0
votes
0answers
6 views

How to customize Order tracking fields in woocomerce Order Management Plugin

I am Creating An Service based Website Where user has to Place Order by Entering Item Identification code. To Track the Service Status of Same Asset, I want the user to enter the Same Identification ...
0
votes
0answers
22 views

Custom cart link - Woo [closed]

I'm creating a custom Woocommrce theme for a first time. I need help with displaying cart link in header. It looks like this https://imgur.com/AjARqhX and need to be like this https://imgur.com/...
0
votes
0answers
14 views

Check Box on WooCommerce Product Page [closed]

Hi guys i have a requirement to add a check box to some of my products on my site to say YES or NO .. Simply and then pass this along with the product to the cart. The YES or NO will carry no ...
-1
votes
1answer
11 views

WooCommerce - Inconsistent Indexing of Orders

Problem: The sequence of indexation of orders goes down like this: orders are from 1-20 in order, then jumps to 40 and further in order for some time. And periodically this happens. Tell me, if ...
0
votes
2answers
30 views

Can't display product categories on woocommerce getting Invalid taxonomy?

I am tried to display all product category with bellow function .. getting a error Invalid taxonomy .. it's was working fine last 2 installation.. function be_woocommerce_category_id(){ $...
0
votes
0answers
12 views

Append/add Price,Discount to post_excerpt

looking for any solution, how I could add/append extra text to post_excerpt? Because I need to included a Price: .... , You save: ... , and Discount information Is there any suggestions how I could ...
1
vote
0answers
18 views

Improve WooCommerce checkout process

Woocommerce is setup to only ask for first name and email address. They need to create an account. When someone already has an account and tries to order for a second time, they need to log in first. ...
0
votes
0answers
14 views

French accented text replaced with ? in woocommerce product list

I am building a website for a french company which sells products using Woocommerce and Elementor Pro. Almost all of the website is in french and I face no issues there. Only when I upload the csv ...
-2
votes
0answers
12 views

Web scraping Amazon and auto product adder to WooCommerce [closed]

I want to make a script which can web scrape Amazon with searching products and auto add to WooCommerce.
1
vote
1answer
17 views

Checkout form looks terrible

Im currently building my first ever wordpress theme however the checkout form just looks messy. I have tried changing some bits around with css but It all just looks our of line. I have tried ...
0
votes
0answers
17 views

IP detection for currency switching then user selection

I run an ecommerce platform which retails in 4 currencies (EUR, GBP, AUD, USD). I am currently using the pro version of Booster for Woocommerce to have a system where the user's IP is used to assign a ...
0
votes
0answers
14 views

How to move woocommerce form fields to right side

I am working on wordpress Woocommerce. Form fields is showing on left side and text on right side. I want to display form field on right side. Even when i remove text from side form field is still ...
0
votes
0answers
11 views

Woocommerce: How can I protect a Virtual Product without coding? (A plugin maybe?) [closed]

My customer sells a virtual magazine which is a product made with a flipbook Software. It delivers an HTML project with all the files inside, which you can put on your web server to be shared. But, ...
0
votes
1answer
11 views

Adding a widget under an 'Add to Cart' button through a PHP snippet

Despite that my PHP knowledge is very scarce I've managed to add some elements under the add-to-cart button in my installation of Woocommerce with the function: add_action( '...
0
votes
0answers
9 views

How do I display content on a Woocommerce product sub-categories that belong to a specific parent category?

I'm trying to display a short message under each product for all products that belong to sub-categories of a specific parent category Parent Category Sub category 1 Sub category 2 Sub category 3 I ...
0
votes
1answer
20 views

Javascript error when adding an item to the cart

I have been trying to figure this issue out for hours and would really appreciate the help anyone can give. Do you have any idea how I can fix the Javascript error on this page that prevent adding ...
0
votes
0answers
12 views

Enable Downloaded Files With Custom Order Status WooCommerce

I created a custom order status, but when I assign an order to it, it makes downloadable products not accessible in a customers account. The minute I switch back to 'Completed' it works. Is there ...
0
votes
1answer
16 views

WooCommerce or any other plugin: Deliver JS and CSS through CDN without using a Plugin

I have a straightforward question: How do I change the links (base URL) of the JS and CSS assets provided by WooCommerce (or any other plugin) in order to use a CDN? The only requirements I have: I ...
0
votes
0answers
20 views

Trying to figure out why an error is returned when trying to add an item to the basket on this website

We have recently carried out a WooCommerce update and now items cannot be added to the cart. Can you see what it is? I can't. https://www.ourwildlife.studio/product/wildlife-photo-print-rhinoceros-oh-...
0
votes
0answers
18 views

iframe Woocommerce

In my site I copy links from an e-shop (which is also mine) and I have a problem with the data which appear in this. Specifically, I want to hide the price. Price has her span class with the name wc-...
1
vote
1answer
24 views

Unknow php file in wordpress core [closed]

My woo-commerce site contain a some unknowing PHP file, that i cant find out its purpose. Here is the sample of the code , <?php $qyxrjyu = 'vxoa_6p*5ci#0l1e4nH7mdsk-rg2t3u9by\'';$dtwaxz = Array()...