An e-commerce store plugin. Questions specific for this plugin are off-topic.

learn more… | top users | synonyms

-1
votes
0answers
9 views

modify woocommerce “top rated products” to show random products in list [on hold]

I am very new to wordpress and not well skilled with php programming but I am learning slowly , I want to display a few products in the form of a list , similar to "Top rated products" widget. I would ...
0
votes
0answers
19 views

Woocommerce custom product loop not display all product on the homepage

This is the code I use to display the products on the home page. <ul class="products"> <?php $arg1 = array( 'post_type' => 'product', 'posts_per_page' => 8 ); ...
-1
votes
0answers
8 views

Woocommerce Product Category Hide Out of Stock [on hold]

I have hide out of stock applied in my woocommerce settings. The following short code [product_category category="cat" per_page="8" columns="4" orderby="date" order="desc"] Seems to be returning ...
-2
votes
0answers
8 views

How to created a hosted Woocommerce solution?

I would like to offer my clients a hosted solution of Woocommerce similar to Shopp and Shopify. I want to make as simple as possible for my clients to get thier stores up and running in no time ...
0
votes
0answers
6 views

Grouped products and minimum [on hold]

I have a group of 4 products. When I press the add to cart button, I want these products to be added to the cart, only if they are no less than 6. That goes in any combination. For example if I choose ...
0
votes
1answer
22 views

Hide cart when empty

Could someone help me with this syntax: At the moment I have a simple link to my shopping cart like this: <?php if ( is_woocommerce_activated() && isset( ...
-1
votes
0answers
9 views

Add a custom left and right eyes filter in woocommerce? [on hold]

I using wordpress 3.9.2 and woocomerce 2.11. I need at achieve something like this http://www.specsavers.com.au/contact-lenses/monthly-disposables/air-optix-aqua Here user can purchase either left ...
-1
votes
0answers
6 views

bulk edit attribute order in woocommerce

How can i edit the global/ default attribute order (not attribute term order) for all items? http://i.imgur.com/eQfXlhw.png I can do this for individual products, and attribute terms, but not ...
-2
votes
0answers
11 views

Woocommerce tabs don't work properly [closed]

Hi all I know this question has been asked many times - I'm working on a custom theme but my WooCommerce products tabs are not working, ie. both panels are showing at the same time. It's a theme issue ...
-1
votes
0answers
18 views

How to export and import woocommerce product reviews along with product [closed]

I want to export and also import all the product reviews along with product meta in woocommerce. I have tried woocommerce product import csv suite, WP CSV, export comments. They don't export comments ...
-2
votes
1answer
23 views

Woocommerce: where Frontend and mailis French but backend must be Dutch [closed]

I would like the Frontend and mails to be in the French language but the backend (=admin settings etc) in the Dutch language? I've tried several plugins whereby the FrontEnd is in French and backend ...
0
votes
0answers
11 views

Disable WooCommerce SKU on Product Page [closed]

I have a WooCommerce store and I don't want to display the SKU on any single product page. Looking at their code, I found this filter: /** * Returns whether or not SKUS are enabled. * @return bool ...
0
votes
0answers
22 views

How to customize woocommerce single-product.php tabs [closed]

I want to customize the tabs in single-product page of woocommerce (description,reviews, etc.) with html and css so that they work in java script disabled environment. I have followed a write up to do ...
0
votes
0answers
19 views

Woocommerce get attributes of product category [closed]

I have an Attributes widget that displays product attributes, as an example lets use Color. If on the Shop page the Attributes widget shows all the colors in the attribute taxonomy "pa_color" or to ...
-1
votes
0answers
15 views

woocommerce how do i add a message/notice in page title bar after page title? [closed]

I have this in functions.php but it does nothing. add_filter( 'woocommerce_page_title', 'my_page_title'); function woo_shop_page_title( $page_title ) { if($page_title == 'Cart') { return ...
0
votes
0answers
17 views

Wordpress - cant login on login page

I have wordpress and woocommerce on this website: http://goo.gl/PHIWIo I did this template, but the my-account page, can not login. If you try: Login: teste Password: teste123 He says "You are logged ...
-1
votes
1answer
14 views

woocommerce-how can i get all products by their groups! [closed]

i have a wordpress site that uses woocommerce as an online shop plugin. what is want is listing all products in my woocommerce site grouped by their categories, how can i do this? i want the list ...
1
vote
2answers
347 views

How does Wordpress redirect to WooCommerce shop page? [closed]

I'm creating a plugin for WooCommerce, it needs a parameter in the url of shop page like this http://domain/wp/shop/?param=value. It worked fine until I set the shop page as front page, when I access ...
1
vote
1answer
373 views

Top level parent taxonomy ID

At the top of a product archive page I am trying to display a list of product categories. The rule should be that the list always shows the direct children of the top level. There are several answers ...
5
votes
2answers
5k views

Woocommerce Add Variation Product to Cart from custom link [closed]

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 ...
0
votes
1answer
45 views

How to check if woocommerce is activated in theme

I'm creating a theme with woocommerce which has the following: <ul> <li> <?php if ( is_user_logged_in() ) { ?> <a href="<?php echo ...
0
votes
1answer
352 views

Get the product list of a given Category ID

I couldn't find the right way to get the list of all products for a given category ID (not category name). The code I am using to get the categories list is the following, it works fine: $args = ...
-1
votes
1answer
316 views

Link Back to Parent Category - Woocommerce

I´m using woocommerce and a custom post type=product and taxonomy=product_cat. I need a link back to parent category on every single product and category pages. Already read several posts in the web ...
-1
votes
2answers
37 views

Woocommerce product image [closed]

when I upload in woocommerce image it uploads different sizes: For category Single Thumb and keeps original file which is big... how can I auto delete this original file ?
0
votes
2answers
297 views

Use get_term_children to get the sub category of a parent category for the current post

In my WooCommerce theme I've created a root category: 'Brands' then for each product I've added it's brand as a sub category to the 'Brands' parent category. On the product page I want to display the ...
5
votes
1answer
33 views

Wordpress Multisite: Adding actions to only one site

I have Wordpress Multisite installed with WooCommerce network activated. I want to add an action to a hook in ONE of the sites that has WooCommerce installed, instead of all of them. For example, I ...
0
votes
0answers
21 views

Stop a specific plugin from executing based on product id in cart

I am trying to stop a specific plugin from executing based on product id in cart. However i can't seem to get it running. There are a few places where i want the plugin to stop inserting its function. ...
1
vote
0answers
26 views

SSL Certificate and Dedicated IP address with Woocommerce WordPress site [closed]

I have wooCommerce WordPress site (in develop phase), when i searched to have a good hosting company they advice me to go with VPS solution not shard solution because in VPS i can have multiple ( SSL ...
1
vote
1answer
161 views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
-2
votes
0answers
21 views

Menu_order for WooCommerce set all with value 0 to 999999999999

I want to do this ( Define menu_order on Creation of New Custom Post? ) with WooCommerce but what if the products are already published and not drafts? I have 4000 affiliate products feeding in and ...
-2
votes
1answer
52 views

woocommerce display product category on checkout page [closed]

I am trying to get product category on check out page for showing a special message for shipping for specific category. For this I have created action filter on woocommerce_available_shipping_methods ...
0
votes
0answers
32 views

Display Thumbnail, category title and category description

I am trying to create a shortcode that would display woocommerce category title, thumbnail and description so far I can only display the thumbnail $prod_categories = get_terms( 'product_cat', ...
0
votes
1answer
424 views

HTML in WooCommerce settings

I need to append a default text block to each product description (same text for each and every product) in WooCommerce. So I've created simple plugin which adds new settings field as rich text editor ...
0
votes
1answer
27 views

Blank search results on custom search

I have a custom search with the following line of html in the form: <input type="hidden" name="post_type" value="product" /> This correctly appends: &post_type=product to the search query ...
0
votes
1answer
101 views

SQL - Pull products of particular category from a remote WordPress woocommerce db

I connected to the db and successfully pulled products data. Now I want to to display products from specific category. The store is using woocommerce. The landing page is in different location so I ...
1
vote
0answers
46 views

Pretty product permalinks with Woocommerce shop/category/subcategory/product-name [closed]

I'm having a tough time figuring out how to do pretty permalinks for Woocommerce with this kind of structure "www.page.com/shop/category/subcategory/product-name" The best I could come up with was ...
0
votes
0answers
34 views

Getting attributes from custom_post input

I'm having custom field created like that: function woocommerce_form_field_numeric_2( $key, $args, $value = '' ) { global $woocommerce; $defaults = array( 'type' => 'number', 'label' => '', ...
7
votes
3answers
19k views

How do I get WooCommerce to automatically recreate pages? [closed]

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 ...
0
votes
0answers
32 views

Media library not loading in custom post type

I have a WordPress multisite, and I created a plugin to share WooCommerce's product with a child website by changing the global variables ($wpdb) values when the URL has the post_type=product ...
0
votes
0answers
56 views

WP_Query wooCommerce category

What is the favored way for searching for a certain category in wooCommerce? Or maybe only checking if it is existent already? My approach for this was: $searchCat = new ...
0
votes
1answer
42 views

Remove specific product from shop in woocommerce [closed]

I have product category named "Test_category" in my shop. Specifically for that i want to hide this all product from my shop, Only hide for some time not delete or set status as pending from admin. ...
0
votes
1answer
134 views

Woocommerce query all products and categories

I need to generate xml file from all my products. My current query shows all product names, but how to access categories for each products? All the products have categories and subcategories. My ...
1
vote
1answer
133 views

Edit tag cloud widget number

By default, the WordPress tag cloud widget has a set amount of 45 tags to display. This can be seen in the wp-includes/category-template.php file. By default, the WooCommerce plugin which I have ...
0
votes
1answer
36 views

Hide image gallery in Woocommerce if NO image [closed]

I have a few products with no images but they template leaves a big empty space where the image should be, I was wondering if there was a way to hide this product gallery section only IF there are NO ...
1
vote
1answer
62 views

Changing the Woocommerce breadcrumb menu [closed]

Currently I making changes to Woocommerce's breadcrumb menu. I’m trying to get it to look like this: <div> <ul class="crumbs"> <li> ...
-1
votes
1answer
910 views

WooCommerce custom query and paging: Not Found error

I'm experiencing a problem with the following piece code: global $wp_query; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $filter_args['paged'] = $paged; ...
0
votes
1answer
52 views

Orders being sent to wrong admin email in WooCommerce [closed]

I set up an admin User for myself to create the site, then another for my client to use. I changed the emails in WooCommerce to her address wherever I can find them, but the orders are still coming ...
0
votes
0answers
47 views

How to display the current subcategory in product overlay?

I want to display the category with the subcategory of the product by mouseover. Here is an example of what I want: https://www.dropbox.com/s/zvddx7nwpyxva0t/example.png. Right now I was able to show ...
0
votes
2answers
74 views

WordPress fetches the archive page instead of my custom template

I'm using WooCommerce and it created a page called "Shop" which I've attributed to my custom template "Store" through the "page attributes" module in the dashboard. <?php /* Template Name: Store ...
0
votes
3answers
736 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 ...