WooCommerce is an e-commerce plugin for WordPress developed by WooThemes.
4
votes
1answer
74 views
Tracing the life of a query
I can't find documentation regarding this - but is there a way to see how a query might bounce around from one filter to another? I've got a list of possible wp_filters and their relevance but I ...
4
votes
2answers
2k views
WooCommerce with thousands of products - site is very slow - optimize db queries?
So far I've got around 8,000 products in my WooCommerce and the product page on the front end takes several seconds to load, even after caching.
My VPS host says that I should have multiple ...
3
votes
4answers
4k views
Jigoshop and WooCommerce differences
I'm aware that WooCommerce is a fork of jigoshop, and there was some controversy, however now that both have had releases since their divergence, how do they differ in features and direction?
3
votes
1answer
2k views
Woocommerce - Add a product to cart programmatically via JS or PHP
I am using the Woocommerce plugin to facilitate a small e-commerce part of a site and need to add products to it's cart via some call or function rather than using it's own 'add-to-cart' buttons.
By ...
3
votes
1answer
104 views
Passing .pem and .key files in cURL doesn't work in WordPress
I'm building a payment gateway plugin for woocommerce which requires sending an XML request via cURL, encrypted with private key.
I'm using the following code:
$xml_request ='<?xml ...
3
votes
2answers
687 views
custom XMLRPC method plus authentication of user & WooCommerce order
I'm working with a custom XML-RPC method to capture some information for a plugin I am building. When activated the user has to authenticate themselves by entering there user/password given to them ...
2
votes
4answers
2k views
WooCommerce store with ~30,000 products
I'm investigating WooCommerce as a potential e-commerce solution, however my immediate concern (which I haven't been able to find information on) is the number of products.
The proposed store needs ...
2
votes
3answers
6k views
How do I get WooCommerce to automatically recreate pages?
I had to uninstall WooCommerce plugin (I deleted the tables it created as well) and now I reinstalled the plugin and I doesn't automatically recreate the WooCommerce Pages. Am I stuck having to ...
2
votes
1answer
93 views
Displaying a WooCommerce product via PHP
Having a hard time composing a searchable query, so I apologize in advance if this has been covered.
I know you can add WooCommerce products to a page or post via short code, but I have one section ...
2
votes
2answers
491 views
Enabling free shipping on Woo Commerce by specific items
I would like to know if it is possible to enable free shipping with Woo Commerce only if certain items (or items of certain categories / shipping classes) are included in the cart.
The Free Shipping ...
2
votes
1answer
509 views
Woocommerce: assign an “author” to a product
I'm developing my first theme for woocommerce.
I need to be able to have "authors" (really "designers") assigned to woocommerce products. Is that feasible? I was thinking of using the wordpress ...
2
votes
2answers
761 views
add a woocommerce shop to every buddypress user
I'm creating a social network site with buddypress and woocommerce.
I want to enable every member to purchase from others and to sell their products online.
That is, every user must assigned to ...
2
votes
1answer
589 views
Woocommerce Add Variation Product to Cart from custom link
I am trying to add a variation product to my cart directly through a link. I am setting the variation_id with the query string. As far as I can tell I am sending the data the exact same way as the ...
2
votes
1answer
397 views
Change Label for field used in Woo Commerce
I'm using WooCommerce, and using a BACS Payment method which is actually Bank Trasnfer. The fields account details are fine, but for Indian context.. i need to change following two fields labels to ...
2
votes
2answers
1k views
Different template of products for specific category. WooCommerce
For example i have category coffee machines, and one template for coffee machine single product template, but for category coffee i want to have different single-product.php template, how to implement ...
2
votes
3answers
2k views
woocommerce shop page to use my custom template
Before asking the question I want to tell you that I have already asked the question in http://stackoverflow.com/questions/15025213/wordpress-woocommerce-template-file-overiding
I am using woocommerce ...
2
votes
1answer
869 views
Woocommerce Custom CSV export
I've been trying to figure this out for the past few days.
Is there a plugin that exports CSV with the Order Items all on the same line but not in the same column cell?
Example: Item Name_01, Item ...
2
votes
1answer
86 views
How can I customize the wp_list_categories
I have a list of categories in woo-commerce which I'm trying to customize to be displayed to look like the following image.
I created the above image using normal HTML and css however I would like ...
2
votes
0answers
634 views
How to add to cart via AJAX Woocommerce
I have been searching for a while, this. I want to add an item via AJAX. When you add an item to a cart in Woocommerce the page reloads with the GET parameter add-to-cart="The current product ID".
I ...
1
vote
1answer
8k 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 ...
1
vote
1answer
97 views
Combine two taxonomies in a hierarchical tree
For example, I have WooCommerce products that have taxonomies:
brand (e.g. Converse, adidas, D&G) (taxonomy id: product_brand)
category (e.g. Boots, Sneakers, Sandals, Heels) (taxonomy id: ...
1
vote
1answer
95 views
How to disable lightbox popup for “add a review” only?
By default in woocommerce when a user wants to add a review of a product, they click 'add a review' and this opens up a pop-up lightbox.
I want to disable this part and just display the review form.
...
1
vote
3answers
361 views
How to check if the product is in a certain category on a single-product.php in Woocommerce?
How in the world can I check if a product is in a certain product category on the single-product.php?
<?php if (is_product_category('audio')) {
echo 'In audio';
...
1
vote
2answers
574 views
woocommerce and is_user_logged_in() if not redirect to homepage
I am currently using woocommerce and would like to redirect none logged in users to the home page, however i am having a little trouble determining where i should implements this
I have done research ...
1
vote
2answers
2k views
WooCommerce change number of columns in the frontpage
I've been looking for an answer for a couple of days now. I've tried every snippet possible, changing the functions files, creating a separate template for content products but I can't change the ...
1
vote
1answer
2k views
How to setup a product that has multiple price options?
Still very new to the Woocommerce interface. I'm trying to figure out how to sell 'attendance' to a workshop. So I'm assuming I need to create a 'variable product' and then I need to add the ...
1
vote
1answer
266 views
How to declare WooCommerce support in your theme
I have built my own theme, which integrates quite well with WooCommerce, but I want to know how to properly get rid of the notification on top of my theme that said my theme didn't support WooCommerce ...
1
vote
1answer
549 views
Woocommerce disable shopping cart based on user roles
Is there anyway to disable the shopping cart for guest users but have a quote only option and have the shopping cart function for wholesale users? Any help is greatly appreciated. Thank you.
1
vote
1answer
311 views
How to add image attachment to post from a single meta key (Woocommerce)
I'm using Woocommerce for products. All products are imported automatically by a plugin.
Currently when i want to attach an image to a product (a post type) i have to use "Featured image" to display ...
1
vote
2answers
985 views
Woocommerce with metabox plugin
I'm using woocommerce as my e-commerce solution and the metabox plugin ( http://www.deluxeblogtips.com/meta-box/ ) to make my life a lot easier when implementing meta boxes. I've never had any issues ...
1
vote
1answer
682 views
How to force Wordpress to temporarily switch locale (using qTranslate)?
I have a multi-language store running WooCommerce and qTranslate, and am trying to setup multi-language customer emails. The problem is, the "order complete" email gets sent from the admin backend, ...
1
vote
2answers
888 views
Woocommerce Change placement with wrapper
I am trying to change placement of Price from top to beside the Add to Cart button and want to wrap Price and Add to cart button (form) both with one div.
I dont know either it is bad way or correct ...
1
vote
2answers
1k views
Hide price & title in store thumbnail dispay?
I'm setting up a WooCommerce site to sell shirts. I have the front page (and the "Store" page" set up to show a grid of thumbnails of the shirt designs. Each item has the price and the title of the ...
1
vote
1answer
792 views
In woocommerce who is responsible for sending the receipt email?
I'm writing a Paypal Pro woo commerce extension to allow it to accept credit card directly on my websites. When I test things, everything works well. The only thing that I don't get is an email ...
1
vote
0answers
122 views
Show category images on single product page and product overview page
I am running a woocommerce shop and I have products which are in multiple categories. I would like to show the category images on the single product pages. And also on the product overview page.
I ...
1
vote
0answers
319 views
How to create a 'single' category widget for woocommerce plugin
Woocommerce out of the box provides many widgets, however the category widget for providing a product search, groups ALL the categories into one widget.
I want a widget for one category, i.e. 'shop ...
1
vote
0answers
60 views
How to redirect user to first page of product after selecting a new filter
Anyone one know how i could go about changing the loading behaviour of WooCommerce. I'm trying to figure a way to load from page 1 everytime a new filter is selected
At the moment, when a new filter ...
1
vote
0answers
302 views
Custom product slider from woocommerce products
I want to create a custom products slider for my woocommerce theme.
I want to retrieve the thumbnails from my products with a custom taxonomy (product_tag) for example "t-shirt".
I'm calling the ...
1
vote
2answers
858 views
WooCommerce - Fixed quantity of a product
I am trying to accomplish a thing on WooCommerce that I can not find any information about. It is like the following scenario:
I sell screws and have 1500 in stock. I would like the customer to ...
1
vote
0answers
168 views
WordPress Query wp-terms SLOW
I've got a very large database in WordPress with lots of products in WooCommerce along with quite a bit of taxonomies. When querying the products on the front end it takes 1 minute or more.
Here is ...
1
vote
1answer
213 views
Trying to reorder posts by custom field
I'm running WooCommerce and am trying to get the default product display to be sorted by the sku field in ascending order. So far I've come up with this:
/* Order products by SKU */
function ...
1
vote
0answers
222 views
Woocommerce checkout error using cardsave extension
I am having a problem when integrating the cardsave payment gateway to the woocommerce plugin for WordPress.
On the checkout page, I review my cart and select place order and the following error ...
1
vote
1answer
78 views
How to change how many list item show in category generated by file edit-tags.php
It's always been a pain in the @$$ to see only 20 item in category. If i have 30, it paged on 2 pages, i hate that. If WordPress had a preference for that. So the question, Hot to list ALL the ...
1
vote
0answers
49 views
How to call a funcion via a dropdown or a input? (Woocommerce funcion)
This is the function I want to call
function test() {
echo "test";
add_filter('loop_shop_per_page', create_function('$cols', 'return 24;'));
}
And I call it like this
<?php test() ?>
So ...
1
vote
1answer
2k views
WooCommerce Product Page Loop - Output All Product Thumbnails
http://69.89.31.200/~horologi/shop/
I'm working on the site above and the client has requested that on the shop page, all the product information is displayed on that page, including all product ...
1
vote
1answer
556 views
WooCommerce: Show shipping options on product page
I'm using WooCommerce with shipping tables module. My shipping options are quite basic and are somewhere along these lines. I have 2 shipping zones in which I more-less have the following rules.
USA
...
1
vote
0answers
512 views
Display products for a category, sorted by post_excerpt
I'd like to display a list of products for a certain category, sorted by the post_excerpt.
The original code I used was this:
$args = array(
'tax_query' => array(
array(
...
1
vote
0answers
216 views
How to order posts by meta_value and title
How do you order products in WooCommerce so that products are random, but at the same time featured products show first?
Here is my code:
$args = array(
'post_type' => 'product',
...
0
votes
2answers
9k views
WooCommerce dynamic menus
I have a basic WordPress site set up with the Suffusion theme and the WooCommerce plugin. This is working well for the most part, however when I have folks click / hover over the "Shop" menu icon I ...
0
votes
2answers
255 views
Wordpress apply_filters() Arguments Missing
I'm customizing a Woocommerce Wordpress site.
In the Woocommerce product class (class-wc-product.php) the get_price function applies a filter as follows:
function get_price() {
return ...
