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

Automatically Update Woocommerce Prices

i am running on wordpress v4.9.8 using woocommerce v3.4.2. Recently I've made an excel spreadsheet which collects competitor's prices for multiple products via query. My target is to follow these ...
0
votes
0answers
7 views

Trying to edit Product page /w Woocommerce, Fatal Error appears

I try to edit my product page, but this error appears: Fatal error: Out of memory (allocated 116916224) (tried to allocate 603392 bytes) in /home2/~/public_html/wp-includes/class.wp-scripts....
0
votes
0answers
9 views

Wordpress wp_set_object_terms() not working fully with WooCommerce

My custom taxonomy (WooCommerce attribute) already exists and I am using the following to add a new term to the taxonomy and associate it with my WooCommerce product: wp_set_object_terms($product_id, ...
0
votes
1answer
11 views

Getting categories id for all products in cart

What I'm trying to do is to take the categories for products which are in the cart. Then check via some conditions what category id is and show different notice. So far I have this /** * Cart ...
0
votes
0answers
4 views

Chinabrands with woocommerce

I'm not good in this so i would like to ask if there is any option to sync woocommerce orders with Chinabrands. I want to automate the process for Dropshipping.
0
votes
0answers
10 views

How to add orders manually to woocommerce [on hold]

I'm working on a website for a customer who gets orders from call center ( runs ad on TV). The call center receives the customer info on the phone and sends them to him by the end of the day. Right ...
0
votes
0answers
5 views

Woocommerce: Allow Offers and Purchases While Hiding the Add to Cart Button

I have only basic knowledge of wordpress/web development and need some help. I am developing a woocommerce site for a family member that sells very pricey items (think $20,000 or more). I want to ...
0
votes
0answers
6 views

woocommerce - how to add custom field in one page checkout?

I can add custom fields to normal checkout pages of WooCommerce. But our company decided to try Woocommerce One Page Checkout. I wanted to collect additional information by using <input> text or ...
1
vote
0answers
8 views

Send billing info from woocommerce checkout page to paypal checkout form

I have a theme using Woocommerce and PayPal Checkout. The checkout page in my theme has a form to input Billing Address info. My only method of payment is via PayPal Checkout. If a user starts the ...
0
votes
0answers
9 views

Adding additional information to Admin Order Preview

Looking at adding the actual shipping costs of an order to the order preview pop-up. I think we have to use add_action with woocommerce_admin_order_preview_end and maybe even using add_filter to ...
0
votes
0answers
7 views

How to handle 1000's of variations? [on hold]

I have a custom made suit site. Where user get to choose from fabric range to collar style etc. But I am stuck in variations. If I have 100 fabrics, 5 collar styles and button colors which are only 3 ...
0
votes
0answers
8 views

Getting Subcategories of specific category and display subcategories in the li tag

I use this code to display the main categories of my woocommerce store Now, I want to display the subcategories of that category using the category name my code <?php function ...
0
votes
0answers
9 views

Woocommerce shows product images in the wrong size

All products in my website have 200x200 featured images. But in catalog images are shown in 750x750 (sooo blurry) instead of 200x200. Source code of catalog page: <img width="200" height="200" src=...
0
votes
0answers
7 views

Woocommerce grouped products, group all the products of a category at the same time

I have a grouped product called Pizzas, and I need to link more than 30 ingredients to this product "Simple products", Woocommerce currently has that option available, one adds three letters in the ...
0
votes
0answers
6 views

promote woocommerce items on another wordpress site

I have multiple related wordpress sites. one of them has woocommerce. is there a way to promote some of those products (maybe identified by category or new or something like that) on one of my non-...
0
votes
0answers
11 views

Pagination not working correctly

I wrote a query like this: $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; $q = new WP_Query( array( 'post_type' => 'product','posts_per_page' => 15,'paged' => $paged) )...
0
votes
1answer
5 views

I want to use a product thumbnail completely different than the product image

I want to use a product thumbnail completely different than the product image. I've tried to search on google but all solutions lead to just customization of thumbnail sizes.
1
vote
0answers
8 views

How to search Woo Commerce products with punctuation in title?

How do I modify the default WooCommerce Product search so that products with punctuation in the title can be found without including the punctuation in the query? For example, if I have a product ...
1
vote
0answers
42 views

Override woocommerce wc-class function

I'm not good in WP and plugins and will need some help here. I've read that is possible to alter some WC core function with filters and action but probably I didn't understand this correctly. I want ...
0
votes
0answers
36 views

How to customize buttons on single page product

I am trying to add a second button called "pay online" on a single product page with the Custom Fields Plugin, but I am getting this error/output: ?> You can also see the problem following this ...
0
votes
0answers
14 views

Retrieve Admin Settings WooCommerce

I have created a plugin in WooCommerce and in the front end I save a businesssID and password. How do I retrieve those settings in the backend? I have tried this. $this->form_fields = array( '...
0
votes
0answers
28 views

Add Search Field Dropdown in Woocommerce Order Search

I am using the following code to limit the fields that woocommerce searches in when you search for an order: /** * Limit woocommerce order search fields. */ function ...
0
votes
0answers
11 views

VAT Number in WooCommerce Emails - if empty dont't show

Is it possible that the NIP label and company name will not be displayed in the e-mail if the customer does not provide them. I use this code: add_filter( 'woocommerce_email_order_meta_keys', '...
0
votes
0answers
16 views

WooCommerce get products based on the taxonomy

I need to modify the WooCommerce product query because I want to filter the shown products on the shop pages based on the taxonomies for each product. So what I've tried is this here: add_filter( '...
0
votes
0answers
10 views

Add Prefix to Auto Generated Username

Is it possible to add a prefix to the auto generated username in WooComerce at checkout? Thank you
0
votes
0answers
9 views

Woocommerce import products with serialized data

I am creating a Woocommerce shop that makes use of the official Measurement Price Calculator. This plugin seems to store its data serialized in the database as when I export a spreadsheet of products ...
-1
votes
2answers
22 views

WooCommerce - item added to order not actually saved?

I'm trying to make a plugin that merges two carts into one. I am doing the following: $old_order = wc_get_order($old_order_id); duplicate_line_items($new_order, $old_order); //re-fetch order to ...
0
votes
1answer
6 views

Disable theme WooCommerce template

Just purchased a premium WooCommerce-read theme. Unfortunately, this theme comes with a /woocommerce folder. How can I disable this templates,without deleting whole folder?
0
votes
0answers
18 views

Parse woocommerce_wp_textarea_input

I have a textarea in admin which looks like this woocommerce_wp_textarea_input( array( 'id' => 'json', '...
0
votes
0answers
29 views

Woocommerce 'order_by' random with 1 hour seed refresh

I need my woocommerce products to display randomly. My products are actually people and the random element is so different people get seen on the first page so no-one is favoured. So, I have ...
0
votes
0answers
11 views

Show item on shop as per user vehicle what he mention his profile as a default search [on hold]

i want shop page show as default item based on user vehicle what he mention in his account setting. here is account setting page http://hius.tsm.team/my-account/edit-account/ this is shop page in ...
0
votes
1answer
18 views

Woocommerce postage question? [on hold]

Quick question if I have a flat rate of £5.00 for postage lets say and I want to charge customers £10 if the value of the basket is over £25.00. Can this be done and if so what are the calculations ...
0
votes
0answers
14 views

How to add AND condition in woof- product filter in woocommerce [on hold]

I have added AND condition for multiselect in woof-product filter plugin by following code which has been provided in the FAQ of this plugin, But its not working for me. Please suggest me how to add ...
0
votes
0answers
6 views

WooCommerce “Grandparent” or Other Inventory Management

My issue is this: We have shirts that people can order, in different designs, different colors. They are screen printed (let's say) on demand. So, we have multiple "products", but, in fact, the ...
0
votes
0answers
19 views

Wordpress user ID prefix

Anyone know of a way to add a prefix to the WordPress user ID when the user registers via WooCommerce checkout? This new user ID format would need to be stored in the WP database in the default user ...
0
votes
0answers
9 views

woocommerce product sorting based on custom fields

I am trying to add a custom sorting option for woo commerce . So I am using following code to add new sort option plus set it as default meta key is '_am_cat_sort' function ...
0
votes
1answer
11 views

WP All import sale price 0

I want to import woocommerce products from an xml file, i got a problem, with the sale price. In the provided xml some products sale price is “0,00”. I would like to skip theese cases, and import the ...
0
votes
0answers
7 views

WooCommerce Taxjar Plugin - No Transactions Being Sent

I currently have a Woocommerce site setup, utilizing Taxjar with multiple nexus'. I have the plugin setup to I've followed the steps from the following two pages appropriately https://app.taxjar.com/...
0
votes
0answers
14 views

How to add product variations for large number of products in WooCommerce?

I have a Wordpress site with WooCommerce selling photo prints. Currently there are around 150 photos. I managed to import the photos as products fine, but each print has 3 sizes. I've added a Size ...
0
votes
1answer
22 views

WooCommerce Order status is processing after receiving payment from Payapl

I am having strange issue and this happens sometimes, when user pay for a course via paypal the order status changed from pending to processing instead of completed. In this image IPIN notification ...
0
votes
0answers
14 views

WooCommerce: How to Move Quantity Selector below Add to cart button area

with my current theme, the quantity selector for each woocommere product sits to the left of the add to cart button area. When it's sized down in mobile, the add to cart button moves below the ...
0
votes
0answers
12 views

Product with Variations has blank attribute selectors. What am I missing?

I've made some code to synchronise products with a feed. It creates or updates products and variants with stock/price info etc. I was using a "custom product attribute", i.e. is_taxonomy => 0 in ...
0
votes
1answer
13 views

Auto Woocommerce user name and password from first name and last name [closed]

Is it possible to auto generate woocommcerce customer user name from first name of shipping address and password from last name of shipping address ?
0
votes
1answer
18 views

WooCommerce - previous customer data exposed on checkout form

On our almost-vanilla WooCommerce site the address and name data from the last customer-order pre-populated the form fields on the checkout page e.g. https://examplesite.eu/checkout/ exposing the data ...
0
votes
1answer
29 views

WP_Query To Display Product Of Brand On Taxonomy Page

I am trying to print all products of a brand on a taxonomy page. I find the wp_querry but i cant print the current brand name of the brand to show all products in this page. What to put on terms ...
0
votes
1answer
18 views

Woocommerce order processing email subject not changing

I am using this hook woocommerce_email_subject_customer_procesing_order to change email subject but it is not working. I have tried other hooks to update subject for order completion ...
0
votes
0answers
17 views

How to add the downloaded item name in New Order email in WooCommerce?

What code should I add in the WooCommerce 'New Order' admin email to include the name of the downloaded file with a digital product? Default email does not include any info on the product ordered (...
0
votes
0answers
20 views

WooCommerce filter shop page without any plugin via AJAX

I've build a fancy dropdown filter at the top of the WooCommerce shop products list: The list gets filled from a custom product meta called hardness. It can has 3 values: big, middle and small. The ...
0
votes
2answers
15 views

How to modify WooCommerce button text in default and additional languages

I'm trying to change the text in the 'Place order' button on my multilingual site in WooCommerce. My default lang is English US, other is Polish. I can easily modify the secondary language text via my ...
-4
votes
0answers
16 views

how to make this type of search function [closed]

How to make this type of search and product listing in WordPress check link