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

learn more… | top users | synonyms

-1
votes
2answers
88 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 ?
5
votes
1answer
58 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 ...
1
vote
0answers
89 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 ...
-2
votes
1answer
341 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
1answer
54 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 ...
1
vote
0answers
416 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
56 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' => '', ...
0
votes
0answers
45 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
218 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
282 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
2answers
599 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 ...
0
votes
1answer
970 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
490 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
74 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
211 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
vote
1answer
443 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
96 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
164 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
1answer
542 views

How do I update WooCommerce template files in my theme? [closed]

WordPress beginner here - my site seems to have some outdated template files which I think are the cause of some functionality issues the site is experiencing. Particularly, there are bundled ...
-1
votes
1answer
324 views

WooCommerce New customer email Hook? [closed]

I've created a sign up page for new customers to create an account. This is working fine but I would like to hook into WooCommerce customer_new_account inside ...
0
votes
1answer
144 views

Dynamic logo/banner depending on affiliate link

i am building an affiliate site using woo commerce and wp affiliates. There will be a network of 20-30 affiliate sites linking back to main site. I need to display the logo/banner of the referring ...
3
votes
2answers
876 views

How to correctly add Javascript in functions.php

I would like to remove some ugly looking arrows that are standard on cart buttons in WooCommerce. To achieve this, I found a tip of adding the following code, which should remove the arrows when the ...
0
votes
0answers
24 views

csv format change in wocommerece

i have made my own custom code to download the csv of order it is quite working good but i need to give one space in after each coloum i mean to say if one value is coming in A than second value ...
1
vote
2answers
993 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 ...
0
votes
0answers
60 views

Does Anyone Know How To Shard A MYSQL Database With HypderDB?

I have a woocommerce site with 80,000 products. It's on pretty speedy VPS (8GB RAM, 4CPUs, SD hard drives) and it's configured pretty well (nginx, php-opcode caching, w3 total cache, etc.) but when ...
0
votes
2answers
30 views

CSV to WordPress posts: do I have to populate each possible field?

I'm planning to import Products in a CSV to WooCommerce. We are still working on an Excel, and we are using the main fields that a product has, following the WooCommerce wordings for the Products ...
0
votes
1answer
150 views

Retrieve Product category 'NAME' by product category ID - WooCommerce?

Can I retrieve woocommerce product category name by ID? Not thumbnail, not the URL, not the Sub-categories, just raw Category name.
0
votes
1answer
89 views

Wordpress directing to Posts page (edit.php) instead of saving post

I have got a clean build (WordPress 3.9.1 running Twenty Fourteen theme). I've installed WooCommerce plugin and added one product. The product is a variable product with 65 variations. When I link ...
0
votes
2answers
85 views

How do we exclude multiple pages (like opposite of is_page)

Scenario I have a following customized format for the website with Woocommerce. <?php if(is_shop()) {?> There are certain css styles, JS options used for this particular page <?php } ...
1
vote
0answers
84 views

WooCommerce Customize the archive-product page [closed]

How to modify the archive-product.php in Woocommerce to sho the results with a bigger thumb and in list view not in grid. There is a plugin for that but this is not working for me since I will use a ...
1
vote
1answer
779 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 ...
0
votes
1answer
126 views

Category menu that filters out empty categories

I'm trying to build a menu which can be administered from the menu editor, but gets filtered before being output. More specifically the menu contains Woocommerce product categories, organised into a ...
1
vote
1answer
238 views

Add sku to product url woocommerce [closed]

I want to make url's with the following structure: www.mywebsite.com/wordpress/product/postname-sku for example: wordpress/product/apple-ap01 Is this possible? And also tell if this done with ...
0
votes
1answer
37 views

Unlimited Page Sitemap Link

I am trying to display all the product links (7000+) of woocommerce, but I get a blank result when doing so. When I set 'posts_per_page' to 2000, it returns a result. More than 2000 returns a blank ...
0
votes
0answers
142 views

Identify a Woocommerce page by Wordpress conditional tags

we have a website running on WPMU, and the main site is using Woo-commerce and the sub sites doesn't use that. I use conditional statement in my meta title with following code: <title> <?php ...
0
votes
0answers
66 views

Custom Taxonomy for multiple Custom Post Types - Taxonomy Archive not working

I'm working on a project where I have a custom taxonomy, for example, called class-formation, that is shared for two Custom Post Types. On of them is the product CPT created by WooCommerce, and the ...
0
votes
2answers
82 views

Adding nofollow to a PHP generated Nav

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $wp_query; if ( $wp_query->max_num_pages <= 1 ) return; ?> <nav class="woocommerce-pagination"> ...
-1
votes
2answers
50 views

Get all categories

I'm trying to create a list of all the categories exist for my custom post type. For each category i would like to create a Category Name Link. Could anyone help me in this loop?
0
votes
2answers
256 views

Use meta boxes inside an archive page template for Woocommerce

I'm creating my own Wordpress theme, and I'm trying to make it compatible with Woocommerce. I understand pretty much everything about theming woocommerce, including copying the template files and ...
-1
votes
3answers
330 views

Maintenance mode just for WooCommerce shop pages [closed]

I am trying to enable some sort of maintenance mode for a Woocommerce site. The problem is all of the maintenance mode plugins I have seen designed for both WordPress and specifically for WooCommerce ...
0
votes
1answer
171 views

Display featured products by category

I have this code in my themes' shortcode to display featured product rating product like this. But I need to get product by category show. Which code do I have to add. Any suggestions? if($type == ...
-1
votes
1answer
117 views

Different customer login form than administrator login form?

I've recently installed Woocommerce. I have realized that the administrator can access the back-end through the same login form presented to the customers. This, to me, presents a huge security risk. ...
0
votes
1answer
1k 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 = ...
0
votes
0answers
94 views

Creating Content for Custom Tab in WooCommerce

I'm working with a set of three products in WooCommerce, each of which is made up of multiple "items" (custom post types). These are linked to the product using a relationship custom field. In my ...
-1
votes
1answer
566 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 ...
0
votes
1answer
118 views

Get Terms from Custom Taxonomy and Current Post

I'm working with the WooCommerce plugin. I've got three products (called "Kits") and each kit contains several items. The "items" are a custom post type which are linked to each kit via a relationship ...
1
vote
1answer
342 views

woocommerce allow users to select or use avatar

I am working on constructing a ecommerce site that is run by woocommerce and the free woo theme artificer. Standard with the plugins there is a my account page which allows you to put in basic ...
-1
votes
0answers
52 views

Enable Woocommerce chart, price and buying functions if only user is specific role, otherwise use as catalog [closed]

I would like to make a e-commerce site that use as catalog for visitors or users that less than specific role capabilities. Eg: if i enable the woocommerce for Editors than editors and above will be ...
0
votes
2answers
599 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 ...
1
vote
2answers
197 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 ...