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

learn more… | top users | synonyms

3
votes
1answer
323 views

display woocommerce all category title on home page

how can i display in my theme all woocommerce category title are custom filed value. example html like bellow <li><a href="#"> <div> <h2>category ...
2
votes
1answer
70 views

update default search function and get postmeta entries

I want to get post meta entries in woocommerce. When user search anything from default search bar. Data should be also returned from post meta table. So basically I need to modify the default ...
1
vote
1answer
28 views

Woocomerce language

I have no idea why woocomerce is not changing language. When I change language in wordpress everything is fine, but woocommerce language is not changing, but only in my language (Lithuanian lt_LT), in ...
1
vote
0answers
242 views

Display Woocommerce Orders for specific author

I tried finding lot of options and used lot of functions so far in my woocommerce theme but i am unable to find any solution for this issue. This platform is my my only hope so far. What I want? I ...
1
vote
0answers
22 views

wp_set_object_terms being undone

I am trying to set some object terms on a Woocommerce product when it is saved. My code is as follows. add_action('set_object_terms', 'update_attributes_after_save', 99, 3); function ...
1
vote
0answers
29 views

How can I run a multi language WordPress site in two folders in one install?

I would like to achieve something like this: www.site.com/en www.site.com/fr A single WordPress installation but it is translated into French and English and also the theme support, posts and ...
0
votes
0answers
9 views

How to update table in woocommerce product_attributes page

This is here edit.php?post_type=product&page=product_attributes and this two tables comes from class-wc-admin-attributes.php . How to update this tables in woocommerce product_attributes page? Can'...
0
votes
0answers
10 views

WooCommerce Get All Products as key value pair

Hi am using following function to get all my products to show in a selectbox as a key value pair. function get_product_list_as_key_name(){ $args = array( 'post_type' => ...
0
votes
0answers
43 views

How to select N number of products and display it randomly in Woocommerce

I have a woocommerce setup with about 10,000 products, i would like to display all the latest products on the home page so that i can have N number of latest products from each PRODUC TAG displayed in ...
-1
votes
0answers
18 views

The custom validate function not working

I follow the following tutorial to add custom field to my registration form:- https://nicolamustone.com/2016/04/19/adding-custom-fields-vendor-registration-form/ And it is worked perfectly. When I ...
-1
votes
0answers
5 views

Gravity forms pass query string to woocommerce

I'm using a gravity form in a wordpress website to create user accounts (subscriber role). This user can select his age and there's a filter in the woocommerce on age. So you can select what age you ...
-1
votes
0answers
20 views

Woo Commerce product image upload own Product image

Upload product Image Here there will be simple functions to crop (to standard aspect ratios) and rotate the image (90, 180, 270 degrees) . I do not need filters. The image should be analyzed and the ...
-1
votes
0answers
14 views

how to remove endpoint in woocommerce plugin

Hey, how i can remove endpoint from woo commerce plugin? such as download endpoint and billing endpoint I am using woocommerce plugin please suggest me a suollution. thanks
-1
votes
0answers
9 views

display images related to product image (woocommerce plugin) below description in single product page

I have a wordpress site running the wordpress plugin WooCommerce and also I use image category plugin to manage my images. I am trying to display all the images having same category as that of ...
-1
votes
0answers
16 views

Change category link. Lead it to a specific page

How can I change a link of any shop category in functions.php? I have 4 shop categories. To one of them I need change its href-link, it should go to specific shop page. How can I approach this?
-1
votes
0answers
13 views

Hide the woocommerce tax label when set to none

Is it possible to hide the tax label when the products tax status is set to none and tax class is set to no tax? This is only for certain products, other products must still have the tax label ...
-1
votes
0answers
8 views

Why is my add media button showing the current page?

Im modifying the my account page for Woocommerce and I have a problem, I have managed to integrate a media upload button to the my account page in Woocommerce but when clicking on it, it just opens up ...
-1
votes
0answers
23 views

How do I save my form fields in the woocommerce my account page?

Ive added a new endpoint to my Woocomerce account section, following this tutorial Change & Rename WooCommerce Endpoints in My Accounts Page but nowhere does he mention a save button, now if your ...
-1
votes
0answers
21 views

Replace woocommerce product categories taxonomy with already existing categories taxonomy

I have a theme that already has custom post types with taxonomies registered to it I also have woocommerce and as I'm integrating woocommerce with this theme I need to replace the registered ...
-1
votes
0answers
11 views

import a wordpress page's comments as woocommerce product reviews

I have a wordpress page with 600 comments in it. I want to have all these comments as reviews on a product in woocommerce. How can I do that? I also know a little about PHP and mySQL.
-1
votes
0answers
14 views

Problem in creating a new product with Woocommerce REST API

Below code is a sample code in WOO REST API documentation on how to create a simple product, but I think it has a bug in categories associative array. Could someone please clarify this? Is it ...
-1
votes
0answers
27 views

Email verification function inside ajax registration pop up

I have created a registration popup form following this tutorial and its working. Also installed woocommerce user email verification for sending verification email to newly registered user. When i ...
-1
votes
0answers
27 views

WooCommerce Shop Page Display Product Div as a Weird Loop

function neato() { global $product; if ( $product->get_permalink() ) { echo '<script src="https://code.jquery.com/jquery-1.10.2.js"></script><div class="new-projects"></div> ...
-1
votes
0answers
28 views

Advanced search with multiple fields

I'm using wordpress + woocommerce and I need to make an advanced search. I created the form: So one field must search at the post_title and the second at a producit attributte value. I made some ...
-1
votes
0answers
46 views

Woocommerce persistent cart on multisite

I am trying to make a global cart plugin for woocommerce. I want to use the details stored by woocommerce in the persistent cart since it is stored as a user meta and user tables are shared across a ...
-1
votes
0answers
29 views

How to show sub category instead of product on woocommerce product category page

I have tried in woocommerce>setting>product>display> Default Category Display >show subcategories but is not working. I'm using woocommerce 2.5.4 and WP 3.5.4 with goodstore 3.0.3 theme. is there ...
-1
votes
0answers
39 views

“Sorry, your session has expired” error on woocommerce checkout

I just discovered that my checkout page is not working for all non-logged (everybody) potential customers. Im using woocommerce and an error message "Sorry, your session has expired. Return to shop" ...
-1
votes
0answers
27 views

Woocommerce add to cart button doesn't work with custom templates

I'm using twig for my WP templates and they work just fine. I've installed WooCommerce and all its templates into my theme folder so that I can overwrite them. I'm not planning to use twig with ...
-1
votes
0answers
14 views

Product Query by meta_value and published date

I've seen some similar posts here, but this none that gives me really the answer. I have products that I want to order by their meta_key '_sku'. The SKU can be a number (ex. 1234) or alphanumeric (...
-1
votes
0answers
42 views

Overriding product search in Woocommerce admin

I need to alter the query used for the AJAX product search when adding or editing an order in Woocommerce admin. I want to add variation terms to the query. Using browser dev tools, I see the call ...
-2
votes
0answers
21 views

How can I create and insert WooCommerce attributes programmatically?

I have an XML file with product information that I want to insert in WooCommerce. I am trying to figure how I can create an attribute automatically (pa_color, pa_hard drive, pa_screen…) if it doesn't ...
-2
votes
0answers
15 views

Testing dev e-commerce site with live merchant account

I'm currently using WordPress with storefront/woocommerce with Authroize.net for payments to develop an e-commerce site. The old site is still live but I'm wondering if I can test the new shopping ...
-2
votes
0answers
13 views

Fatal Error conflict with Vafpress framework when plugins activated together

Couldn't find anything related on Vafpress, and the plugin authors say they can't fix or won't respond. I'm using the following two plugins: https://wordpress.org/support/plugin/woo-product-gallery-...
-2
votes
0answers
25 views

WooCommerce Pagination Issues

Found myself in a bit of a pickle over here. So, I tried to add pagination to one of my product category pages, taxonomy-product_cat-sale.php; by calling the function, woocommerce_pagination(); I ...
-2
votes
0answers
9 views

Showing descriptions in Woocommerce category widget

I'd love to display category descriptions under each category in the product-category widget that comes with Woocommerce. How exactly would I go about doing so? Cheers!
-2
votes
0answers
13 views

Translate introoduction message in Woocommerce login page

Woocommerce checkout page offers users to login, with the following introduction message: "If you have shopped with us before, please enter your details in the boxes below. If you are a new customer ...
-2
votes
0answers
17 views

Showing null records in YITH WooCommerce Ajax Product Filter in woocommerce

Using YITH WooCommerce Ajax Product Filter free plugin for WooCommerce and I am trying to hide categories with empty records. I have tried editing plugin class file yith-wcan.php and some other php ...
-2
votes
0answers
16 views

How to make woocommerce looping images of one product in the content-product.php

I need to put via woocommerce shortcode 'product' a product, and it must to change image (second image of product) when hover.There is the code of content-product.php: <?php if ( ! defined( '...
-2
votes
0answers
45 views

Can't change woocomerce checkout field to optional

I am trying to change checkout field like address to be optional (I need it only for companies). Therefore, I am using following code: $fields['billing']['billing_address_1'] = array( '...
-2
votes
0answers
16 views

Hiding Sale Price on Product Page Until Customer Adds to Cart or Checkout

We are looking for a piece of code that will allow us to hide our product sale price on the product page; display a message of our "Sale Pricing Available During Check Out". In return, it will show ...
-3
votes
0answers
14 views

Add custom calculation instead of: quantity * price

I'm using WooCommerce for the first time. Let's say I have 8 products, each with a different price. Product 1 costs €3.44. When someone buys less than for example 10 units of that product, it will ...
-3
votes
0answers
10 views

No space between fields from Gravity form address field in Woocommerce

So I have an address field in a Gravity Forms form as part of a Woocommerce product. Problem is that as soon as the order is created in the backend the address field in the Woocommerce order page is ...
-3
votes
0answers
24 views

Customize Woocommerce Product Widget to show only free products

What I want to do is to show only products which _sale_price is equal to zero. I have a created a new 'case' in WC file responsible for class-wc-widget-products.php like that: case 'free' : ...
-3
votes
0answers
20 views

Wordpress - change sorting of search results

the WP product search (WooCommerce) does a search of a term in the title and the product texts. Can I use a snippet in my functions.php to alter the search results in a way that the ones who have the ...
-3
votes
0answers
15 views

Lost data from variable after update product

I have problem bcs when I set value in dropdown list and refresh cart, product I lost this value. My code below: if ($_POST['period'] == NULL) { $cart_item['quantity'] = 1; } else { $...
-4
votes
0answers
16 views

Pagenavi on custom template with shortcode category

I have a custom page template which display products from one woocommerce category, at the bottom I added the pagenavi function but I can't switch to another page it say that there are only 1/1 page ...
-4
votes
0answers
12 views

How to add Bulk values in Woocommerces Attributes

How to add bulk values in woocommerces attribute. I want to add 70 smartphone models in the attribute "Smartphones". Please tell me how can I do this ?
-4
votes
0answers
22 views

Woocommerce API

I am trying to take control of my e-commerce website using the Woocommerce API and PHP, I'm wondering if I can add products, edit price and stuff using only the API and PHP if i can't , with wich ...
-4
votes
0answers
29 views

Changing code output of 'woocommerce_content()'

I am relatively new to WooCommerce and have been working with a custom template. Anyway, on my shop page it is using woocommerce.php: <?php get_header(); ?> <?php if (is_product()) : ?> &...
-4
votes
0answers
41 views

Woo commerce star rating

I am using woo commerce but I want to customise the star rating for hearts instead is there anyway I can do this? I already have the heart PNG but don't have a clue how or where to implement this? ...