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

0
votes
1answer
57 views

All WooCommerce pages are blank when switching themes

All WooCommerce pages using shortcodes, excluding product categories and product pages, are blank when switching to a new theme I made. Both themes are made upon Underscores and I can't find any ...
0
votes
1answer
31 views

Custom CSS Not working on Product page

I'm building a etsy style site using WooCommerce and WC Vendors with the JointsWP framework (Foundation). On my front-page all the custom Sass is rendering fine. On the shop page it is not ...
0
votes
1answer
134 views

Woocommerce: Extra added country field not taking value from database

I have created a form as per posted here Everything is working fine except country field on checkout page. On checkout page saved value of country isn't getting fetched from database. Note: ...
0
votes
1answer
275 views

How remove woocommerce title on category page only by PHP

How to remove woocommerce title on category pages only (by PHP) and keep rest of titles (on search result page for example) visible? thx
0
votes
1answer
31 views

How to remove image on single product and get product to span page?

I'm using applay and have created some minor customisations with a child theme. I'm wanting to have a single product displayed without an image. I'm using this code in my theme's functions.php ...
0
votes
1answer
26 views

How to add a menu page for options in wordpress for user that has the role of vendor?

I want to add new options page ONLY for those users whose role is vendor. How can I do that? This is my current code. add_action('admin_menu', 'business_settings_menu'); function ...
0
votes
1answer
222 views

Delete All Product Images in phpmyadmin

I've just inherited a site that's being migrated to a new host, and I'm attempting to tidy up the database during the process. The WooCommerce site had roughly 10,000 products resulting in somewhere ...
0
votes
1answer
100 views

Show all author products from specific category

I used this code to get all the products of a specific category, but how can I show only the author's products of a specific category? <div class="author_products"> <ul class="...
0
votes
1answer
164 views

Product categories don't appear as option to build menu

I am trying to add my product categories as top level categories in the navigation bar on my site. Under the "categories" option in appearance > menus, the only thing that appears under categories ...
0
votes
1answer
62 views

How to redirect WooCommerce shop URL?

Is there any way to redirect WooCommerce default 'http://website.com/shop/' URL to 'http://website.com/shop/all/'? After a long research found this : How does Wordpress redirect to WooCommerce shop ...
0
votes
1answer
131 views

Adding a brand column to WooCommerce Products

I'm going to attempt to add a brand column to the WooCommerce Products admin table, and also update the search filter so it searches for brands also. Has anybody done this before though? I've never ...
0
votes
1answer
49 views

Display child categories in WooCommerce

This code displays the category thumbnail and title of the two parent categories for WooCommerce product categories. I have several child categories I'd like to display as well. Is there way way to ...
0
votes
1answer
205 views

Woocommerce - Display product category of product in Orders page

I need to show the product category of product in admin Orders page when a customer make a purchase.Appreciate if any one can help. :) screen shot attached where in need to display product category of ...
0
votes
1answer
36 views

Testimonials/Reviews for Products

I have my brand website that has 250+ same products, but all have different designs. Basically they all are phone cases, and have designs. I wanted to centralise my system of testimonials/reviews that ...
0
votes
1answer
288 views

Show different menu on each woocommerce category page

I have created several custom menus that appear under the main menu on the shop page. Each category (and its subcategories) should display a different custom menu like below: custom menu: ...
0
votes
1answer
44 views

WooCommerce Attribute Display Issues

am using WooCommerce for a website however I have an issue with the products attributes. I haven't seen this issue before, the attributes and variations have all been created however on the frontend ...
0
votes
1answer
52 views

Woocommerce - How to mix products and posts on a landing page?

I'd like to create a landing/home page for my wordpress site that contains a woo commerce shop. Ideally, I'd like it to be able to mix listings of products as well as blog posts by time. EG: ...
0
votes
1answer
36 views

Woo-commerce: Adding additional page sections using a child theme

I'm hoping to modify Woo-commerce by adding a section to every product page. I have a child theme setup with a copy of the Woo-commerce template files in it. I want the new section to appear under the ...
0
votes
1answer
47 views

WooCommerce Images are uploading to the server but not attaching

I've Created a Script that Grabs an image from an external site and it is imported to the WordPress image gallery. -> wp-admin/upload.php [Media Library] My Code Snipplet foreach($url as $...
0
votes
1answer
272 views

Woocommerce Add to Cart function

I'm new to WooCommerce and looking for your help. Here is the challenge: I have 3rd party widget generated on a partner's site to show up on my site with WooCommerce. E.g. I get code and place it on ...
0
votes
1answer
93 views

Display free WooCommerce products

How can I display only my free WooCommerce products on a page? These products change each week, and I want a page that displays my current free products without having to update these products ...
0
votes
1answer
204 views

How to remove “From:” before variable product price?

How can I remove the "From" text before product price? I'm running the latest version of woocommerce and I've added this snippet of code to the functions.php file to revert pricing style to that of ...
0
votes
1answer
96 views

Get usermeta info from sql query

I'm using WooCommerce and need to get my users billing name, billing address, billing phone, billing email, etc from wp_usermeta in a good format like this: name,address,phone,email fake name, 123 ...
0
votes
1answer
137 views

How can I hide the entire “Shipping Details” block on the admin side of Woocommerce?

My Woocommerce store has virtual products that don't require shipping. I have disabled the shipping options from the customer on checkout, but now I want to hide it on the backend as well. When ...
0
votes
1answer
77 views

Add text specifically to order-proceessing-email in WooCommerce

I am trying to add some text to the customer-order-processing email from WooCommerce, and it should ONLY be added in this particular email and ONLY if chosen payment method is Paypal. I have come so ...
0
votes
1answer
15 views

WooCommerce - missing products when viewed by tag

Has anyone had the same problem as this? A product tag has a count of 68 products to it but when i view that tag page it only shows 47 products ! another tag has 41 and shows 41, another 160 shows ...
0
votes
1answer
380 views

Print Woocommerce product price on cart page

I can access subtotal or total price via like this: $woocommerce->cart->get_cart_subtotal(); But I tried to $woocommerce->cart->product or $woocommerce->product->price then echo, ...
0
votes
1answer
28 views

Change WooCommerce Checkout Button - Reverts to normal

I am trying to change the checkout label and placeholder for the postcode field. However using this code: function custom_wc_checkout_fields( $fields ) { $fields['billing']['billing_postcode']['...
0
votes
1answer
42 views

Pagination adds product to cart Woo-Commerce

In my WordPress Woo-Commerce theme when a product is added to cart from shop page its added into the cart with a url e.g /shop/page/3/?add-to-cart=149 and when I switch to another page using ...
0
votes
1answer
92 views

CPT or Custom Table for Repository of Serial Numbers

My app allows users to purchase products from a WooCommerce store. But I need to attach a serial number (cannot be generated on the fly) to each product, depending on type, size and design. The ...
0
votes
1answer
73 views

Order Woocommerce Products by Latest Reviewed

In my Woocommerce site, I have: [recent_products per_page="16" columns="4"] which as the shortcode infers, orders products by the most recent. If I wanted to order my products by the ones latest ...
0
votes
1answer
179 views

Problem with hidden products on woocommerce

I'm dealing with a common problem for what I saw. When I hide "Out of stock" products, they keep counting on the pages. For example: I show 24 items per page, if 10 are out of stock and I hide them ...
0
votes
1answer
24 views

How to display Woocommerce catagories

I want to display woocommerce products catagories in my wordpress sidebar theme. what is the code for it ?
0
votes
1answer
101 views

Custom action not working in Woocommerce

I've created a custom action in woocommerce in order to rewrite the breadcrumbs function and put it in another place into html, but it didn't work. Firstly, I removed the original Woocommerce ...
0
votes
1answer
38 views

Declaring a new woo commerce product type i get this error

Warning: Missing argument 1 for WC_Product_PJB::__construct() class WC_Product_PJB extends WC_Product { public function __construct( $product ) { $this->product_type = 'pjb_product';...
0
votes
1answer
254 views

How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?

I would like some clarification on how to achieve the following structure: Posts & Categories domain.com/blog/ - Blog index domain.com/blog/%category%/ - Blog category archive domain.com/blog/%...
0
votes
1answer
231 views

Cannot save values to custom fields for variations on Woocommerce 2.4.6

I'm having trouble setting up custom fields for variations on Woocommerce. I followed this very helpful tutorial to get the ball rolling, and everything worked well enough except that my values for ...
0
votes
1answer
330 views

“Trying to upload files larger than” error will not go away

I have a woocommerce setup for virtual products. All products are around 10MB and uploaded fine. I do however keep getting the following error show up when browsing the store: Trying to upload files ...
0
votes
1answer
71 views

Get Non-Paginated Index of Post in Paginated Query

I want to number "product" post types according to their position in their archive. Currently, I have tried to do this by creating a counter variable $count and incrementing it in the loop in my ...
0
votes
1answer
89 views

Woocommerce: Any way to list all products *without* a specific attribute?

We're going back through an existing site and adding attributes to the products, but we need a way to verify that every product has gotten them. Is there any method or function call that will give ...
0
votes
1answer
21 views

What is the earliest hook you can piggyback on to check terms/taxonomy for a collection view?

I am attempting to set up some conditional logic based on whether or not get_the_terms( $post->ID, 'product_cat' ) has the term 'Photographs' in it. Currently I'm using the wp hook, but that doesn'...
0
votes
1answer
125 views

Check if value exists before saving

I added an extra registration field: function wooc_extra_register_fields() { ?><p class="form-row form-row-first"> <label for="billing_cpf"><?php _e( 'CPF', 'woocommerce'...
0
votes
1answer
271 views

Delete all per-product attributes in WooCommerce

Is there a method to find & delete most/all attributes for products in WooCommerce when these attributes are unique to each product, that is they don't appear under the Product->Attributes menu? ...
0
votes
1answer
130 views

Product Category Page in Full Width

Initially the Product Category page is divided into Content Area (70% width) Side Bar Area (30% width) I have removed the side bar area using function.php. However the content area is still in 70%. ...
0
votes
1answer
210 views

can we import csv (woocommerce products) to MySql

can we import csv (woocommerce products) to wordpress database..? For example let just say I've an woocommerce products list in a csv file. Now I want to store all the products details in my database.
0
votes
1answer
12 views

Woocommerce hidding pages

I am trying to build a multi-vendor affiliate website. I wanted to know how to recognise a user type (f.e. vendor, customer ) while user login's so I can hide some pages from them for example Vendor ...
0
votes
1answer
132 views

merge two query arguments into one WP_Query call

I'm overriding WooCommerce's default search query to include searching by SKU as well. // default search query $query_default_search = new WP_Query( array( "post_type" => "product", ...
0
votes
1answer
117 views

Unable to show 4 products in a row

Above is my shop page, I want to show 4 products in a row, But after adding filter for 4 columns in functions.php, This problem occur. If somebody go to direct my shop page everything is fine, but if ...
0
votes
1answer
225 views

Convert external/affiliate product to simple product in Woocommerce

it will be highly help if you are able to give me some solution of my problem.. I have uploaded about 2000 products from csv to my woocommerce and each of the product is set as external/affiliate by ...
0
votes
1answer
53 views

Create a regular post for every WooCommerce order

I'm trying to make a post, which will list product meta(every order will have only one product) and on that post I want to make visible product variations. So the link will be generated and sent to ...