The Woocommerce plugin adds an eCommerce store to Wordpress.

learn more… | top users | synonyms

3
votes
4answers
19k views

How to Display Product specific to a category with WooCommerce Plugin?

I'm using plugin Woocommerce to do shop online. I have many categories for example shoes, clothes and so on. How can I display the products of specific category? I see such product loops of on the ...
2
votes
1answer
123 views

Woocommerce custom shared taxonomy

I've added custom shared taxonomy season for product type from woocommerce and my custom type care. Care type and taxonomy are created in functions.php file of my custom theme. add_action('init', ...
2
votes
2answers
116 views

Creating Multiple wp_localize_script for Shortcode?

I have a shortcode that displays recent WooCommerce products in a carousel, however i would like the end user to be able to use the shortcode multiple times on the same page, currently when this ...
2
votes
2answers
73 views

User profiles and object associations

I'm coming over from Drupal and I'm very used to the way Drupal handles users and objects (called nodes over there.) I have to learn how WordPress handles these same situations. Since we're going to ...
2
votes
1answer
1k views

WooCommerce - How to Add a Custom Field to Cart Items and Cart Totals [on hold]

I am using WooCommerce plugin and have the following query: Within the single product page, I have a product where based on certain selections by the buyer, a shipping cost value is calculated, which ...
1
vote
1answer
32 views

Product admin page breaking with too many product variations [closed]

When adding more than 100-155 variations to a variable product our admin page seems to break and loose all it's layout and i'm not able to edit anything to do with the product. Some of our products ...
1
vote
1answer
260 views

woocommerce - How Can I add author metadata for a product? [on hold]

Hi I am using woocommerce with Mystile Theme for a book store. How Can I add author taxonomy for a product? I need to set an author for every book I am selling and possibly to search trough, author, ...
1
vote
0answers
14 views

Single Product Navigation within Category for WooCommerce

I'm working on a website for a client who would like to have product navigation on each single product page. The navigation will go through each product within the category and when it reaches the ...
1
vote
1answer
32 views

Hiding taxonomies with no children WP_Query & tax_query

I have this code which has taken over 7 hours to put together through research but the last hours or so I have hit a brick wall! I require the taxonomy title to be hidden if there are no posts ...
1
vote
0answers
77 views

Woocommerce - sort by discount in dropdown menu - woocommerce_get_catalog_ordering_args [on hold]

I have searched and searched for a solution for adding a "Sort by Discount" to the dropdown on the shop page in woocommerce. I need to add a calculation such as this somewhere: $percentage= ...
1
vote
0answers
39 views

How to get tabs for products on product category pages? [closed]

My tabs.php file looks like below in wp-content/themes/mytheme/woocommerce/single-product/tabs/tabs.php file. ob_start(); do_action('woocommerce_product_tabs'); $tabs = trim( ...
1
vote
1answer
158 views

WooCommerce is slow with many categories [closed]

I'm struggling a bit with WooCommerce (and WordPress) being a bit slow. I have a development store for a customer with the following stats 5,319 Products 2,437 Product Categories Categories are ...
1
vote
0answers
144 views

Override a theme's WooCommerce template files with plugin

A plugin I'm working on, has it's own WooCommerce template files which override the default WooCommerce templates. I know I could make a child theme with a woocommerce folder but I'm trying to make ...
1
vote
0answers
408 views

How to get Woocommerce Variation ID?

I am trying to create some additional functionality on my Woocommerce backend where I add a custom field to the variations section of backend of Woocommerce. However I cannot for the life of me ...
0
votes
2answers
5k views

Hide prices and checkout functionality in woocommerce

I know this question might be too broad, but I'm looking for a bit of direction. My client has a woocommerce store with 30-40 products. For whatever reason they do not want to sell online anymore, ...
0
votes
2answers
22 views

Question on WooCommerce Syntax

The Below syntax removes the "Related products" from appearing on the Single Product page, but what does the 20 stand for ? remove_action( 'woocommerce_after_single_product_summary', ...
0
votes
1answer
66 views

Allow unfiltered HTML for not logged in users when saving a post

I'm using this code: $var1 = $_GET["t1s2ninput"]; $var2 = $_GET["t1s2pinput"]; $new_post = array ( 'post_title' => 'Title <dl class="variation"> <dt>Variation: </dt> ...
0
votes
1answer
65 views

Display WooCommerce newest product reviews on top [closed]

By default, woocommerce product reviews are listed in chronological order. How do you get the newest review to appear first?
0
votes
2answers
265 views

WooCommerce: Translation lost on AJAX call in Checkout page

I'm using WooCommerce for a site that I'm currently working on. And I'm creating it for a language other than English. I do the translations by means of the .po file. The issue that I'm encountering ...
0
votes
1answer
25 views

Results not being printed

I am trying to run the following code, which i got from the site but i don't see any output.When i do print_r($product) only then i get array back. $args = array( 'post_type' => 'product', ...
0
votes
1answer
32 views

WordPress Displaying Thumbnails Vertically :(

WordPress is displaying my thumbnails vertically and VERY LARGE. Specifically it's displaying WooCommerce product page thumbnails vertically and VERY LARGE. Can't seem to figure out why or what piece ...
0
votes
1answer
57 views

( Woocommerce) How to get the user belonging to an order? [closed]

I am making a function which needs to be called after an order is completed within WooCommerce. For this I'm using the *'woocommerce_order_status_completed'* hook. I want to check if the order has a ...
0
votes
2answers
111 views

Existing Ecommerce plugins with Custom Post Types [on hold]

I am developing a solution which is selling a service (can not be categorized as product) I have developed custom post types and taxonomies but I do not want to re-invent the wheel by adding payment ...
0
votes
1answer
106 views

Woocommerce include custom stylesheet after woocommerce styling [closed]

After the upgrade to WC 2.1.2 my styling seems to be overruled by the standard WC styling. Is there a way to overrule the standard WC styling without using solutions like using the !important or other ...
0
votes
1answer
30 views

Disabling shopping basket in WooCommerce [closed]

I'm currently creating a shop, and using WooCommerce. The shop doesn't need the shopping basket element. Users should only be able to buy one product at a time, instead of adding stuff to the basket ...
0
votes
1answer
156 views

Additional fields on Woocommerce's rating system

I need to add additional fields to a Woocommerce product rating system like this: I opened this file: /wp-content/plugins/woocommerce/templates/single-product-reviews.php and saw the following ...
0
votes
1answer
73 views

WooCommerce customer account multiple emails

Is there a function to have more than one email address for a user account? basically a customer who makes an order also gets sent a copy of the order to a different email address (cc/bcc)
0
votes
1answer
176 views

Setting an attribute as variation in woo commerce via php [duplicate]

I have a front-end form I am creating to allow users to publish a variable product to my shop from the front end with predefined attributes and variations. I have found this very helpful question: ...
0
votes
2answers
159 views

Woocommerce display one random product via php

I am trying to display one random product in my template header. So each time someone visits or refresh there will be a different product displayed in the header. I searched and found this <?php ...
0
votes
1answer
58 views

How to update billing_email when user_email is updated [on hold]

I'm trying to achieve two way synchronization between user_email and billing_email (the key for woocommerce emails). So far, I have it working that when a customer edits/updates their billing email ...
0
votes
0answers
5 views

Woocommerce productsorting will not update page [on hold]

I`m working on woocommerce and have been trying the whole day to fix the problem. Now its up to you ill cant find it out. If i change the option in the form it should automatically change the ...
0
votes
0answers
9 views

getting Uncaught TypeError: undefined is not a function after update WordPress 3.8.3 [on hold]

My Checkout page showing working in http://amargedget.com but never finished. I checked the chrome console window and found following error message in checkout.min.js?ver=2.1.7:1 of WooCommerce ...
0
votes
0answers
5 views

How to modify the payment account by vendor? [on hold]

I would like customers pay to vendor directly in my multi-vendor website powered by woocommerce and Product vendor by Matt Gates,how to do it? any guru will help me? Thank you very much!
0
votes
1answer
6 views

Woocommerce remove shipping methods table from admin panel [on hold]

I need to remove shipping methods table. The code: function woocommerce_shipping_methods_setting() { global $woocommerce; $default_shipping_method = esc_attr( ...
0
votes
0answers
10 views

WooCommerce Hide Categories From Recent Products [on hold]

Ref: WooCommerce In the 'recent_products' shortcode on the shop homepage, is there anyway to NOT SHOW products from a certain category? Many thanks in advance
0
votes
0answers
12 views

Woo-commerce registration page language not translate with qtralslate plugin? [on hold]

We are using WordPress 3.8.1. In this we are using woo-commerce theme and also use q translate plugin. q translate plugin is working good all of pages. But its not working only one page woo-commerce ...
0
votes
0answers
6 views

Woocommerce - Is there a way to add shipping charge based on weight and user role? [on hold]

I am building a website based on woocommerce but i am stuck with adding shipping charge based on weight and user role. Can anyone give me suggestion or tip.
0
votes
0answers
6 views

Woocommerce: Set variable default selection to lowest price [on hold]

By default, cart button and price are hidden and when you select variations, they appear. And if you want them to appear you have to go through each product and set default selection. Does anyone ...
0
votes
0answers
18 views

Delete WooCommerce Order Status Widget Data [on hold]

I have cloned an existing WooCommerce store and tried to delete all order related data from the database DELETE FROM wp_posts WHERE post_type = "shop_order"; DELETE FROM wp_comments WHERE ...
0
votes
0answers
12 views

How to display existing custom billing field in get_formatted_billing_adress in woocommerce? [closed]

I have custom billing field successfully added on checkout page and it shows also in admin panel on order page. I added some actions and filters in functions.php (code below) However I would like to ...
0
votes
0answers
17 views

Showing a description under input field on WooCommerce Checkout Page [closed]

Scenario - We're working on a particular WooCommerce site that is meant for Charities only. So on the Checkout page, we'd like to change "Company Name" to "Charity Name" We've manage to to that with ...
0
votes
0answers
22 views

Woocommerce Pending Orders [closed]

I have pending orders, but no payment was received how can i redirect user to go complete the payment. Once user goes to paypal but does not complete the transaction is their anyway a user can go and ...
0
votes
1answer
29 views

Custom Fields for WooCommerce [on hold]

I am attempting to follow a tutorial on adding custom fields to products and have them display. It is a fabric store that I am trying to do this for. Each fabric has some basic must display ...
0
votes
0answers
19 views

associated products to show a profile [closed]

I am using the plugin for wordpress pro user, insert a code page [template = postsbyuser userpro postsbyuser_num = 4] in the editor, then when entering user's profile shows me the post of that user. ...
0
votes
0answers
14 views

Paginate product variations during product edit

I have a client who has a large number of variation for some products which is causing admin to hang when editing any of the affected products. I have increased max_input_vars to 5000 but this didn't ...
0
votes
1answer
52 views

Problem With Order Item Meta In Woocommerce

I'm following Xatic's tutorial to help me add custom data to products. I've managed to be able to have that data on the cart page. However, it doesn't display in the order page in the admin backend. ...
0
votes
1answer
14 views

Show image that can be updated by multiple attributes [on hold]

I'm trying to figure out the easiest way to replicate this type of product functionality into woocommerce: example: http://maruccisports.com/wood-bats/adult/custom-pro/wood-bat-custom-cutch22.html ...
0
votes
0answers
46 views

With Permalinks Activated, WooCommerce Product Page Does Redirect to 404 [on hold]

I use Wordpress, WMPL, WooCommerce and everything is Ok except permalinks. Actually after activation of permalinks, every product page redirects to 404. I guess this is due to WMPL; Because, after ...
0
votes
0answers
32 views

Prevent caching of a WooCommerce “micro-cart” in WP Total Cache [on hold]

So I have a WordPress site running WP E-Commerce and WPTC. On the whole wptc works very well with WC and the shop sections of the site are dynamic as they should be out of the box. As an additional ...
0
votes
0answers
23 views

WooCommerce - group downloads by product [on hold]

In Woocommerce(*My Account page) I can see now an unordered list with all the downloads available, like: <ul class="digital-downloads"> <li><a href="#">Product 1 - ...