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

learn more… | top users | synonyms

0
votes
1answer
26 views

Add a field to the taxonomy editor?

I would like to add an additional image field to WooCommerce Product Taxonomy Admin page as part of my theme. It works fine by modifying the existing class within the plugin, but it will be replaced ...
0
votes
1answer
57 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 ...
0
votes
1answer
113 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
1answer
75 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 ...
0
votes
2answers
24 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
36 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
2answers
67 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"> ...
0
votes
1answer
508 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
1answer
94 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 ...
0
votes
1answer
269 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 ...
0
votes
2answers
752 views

Existing Ecommerce plugins with Custom Post Types [closed]

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
151 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
194 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
3answers
860 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
90 views

How to update billing_email when user_email is updated [closed]

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
1answer
2k views

Remove 'product' & 'product-cateogory' from url - woocommerce [closed]

I'm using WooCommerce for a shopping site and it is adding slug or base to the urls. For instance: http://dev.unwaveringmedia.com/8dim/product-category/all-party-supplies/ ...
0
votes
3answers
1k views

Woocommerce - Change Variable Product Add to Cart to behave like external product using Custom Field (link) [closed]

I am importing affiliate products via XML into Woocommerce. Due to products having variations if I use the External/Affiliate product type I get repetition of product on my front end (eg. same product ...
0
votes
1answer
464 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
0answers
17 views

Woocommerce Adding product with php - not visible in shop [closed]

I have a very weird problem . I had plugin made that imports products to WooCommerce / post type product . It used to work great but since the last few updates something changed . It still works, ...
0
votes
0answers
16 views

Is removing orphaned wp_postmeta records safe?

I am using woocommerce as a shopping cart on a wordpress site. Products and Product Variations are each stored as records in the wp_posts table. Each of these Variations have aprox. 15-20 associated ...
0
votes
0answers
15 views

Woocommerce Product Thumbnail sizing

I am trying to get all small medium large and full thumbnail sizes in the SHOP page of woocommerce. I am using the following code in woocommerce.php (duplicate of page.php) to display all products ...
0
votes
1answer
37 views

Custom SQL Query for new Woocommerce Order Filter by Product Categories [closed]

I added some new Filter Select Inputs in the Woocommerce Order Overview, like customer filter, status filter and so on ... but one filter is a big problem - the product categories filter, which ...
0
votes
1answer
59 views

How to get WooCommerce Product Category Link by ID?

WooCommerce's product categories are a custom taxonomy called "product_cat". In a function I'm writing, I'm using get_categories with the "taxonomy" parameter set to product_cat. Everything works fine ...
0
votes
0answers
17 views

How to get php variables into JS script tag correctly?

I am using WooCommerce theme for a store and am unable to correctly get the Order Id and Price of an order and put it into a script tag for tracking orders using EchoVantage. I wrote an if statement ...
0
votes
1answer
34 views

Custom Search Template for Custom Post Types

I know this is asked a million times, and I've found the solution. It seems fairly straight forward but it's not working for some reason. I wonder if it has something to do with the fact that I'm ...
0
votes
0answers
35 views

Auto adding product meta on publish

I currently have this function: add_action('transition_post_status', 'wpse_110037_new_posts', 10, 3); function wpse_110037_new_posts($new_status, $old_status, $post) { if( $old_status != ...
0
votes
2answers
40 views

Serializing User Role for update_user_meta

I've created a custom user role and am attempting to change the users role from CUSTOMER to ADVOCATE on purchase of a particular product (using WooCommerce). I'm really close but struggling to get the ...
0
votes
1answer
32 views

Hide cart when empty [closed]

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

Display Thumbnail, category title and category description [on hold]

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
37 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
0answers
42 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
40 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
100 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
70 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
235 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
419 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 ...
0
votes
0answers
64 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
105 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
256 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
44 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
1answer
50 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
71 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
1answer
63 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 ...
0
votes
0answers
97 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
52 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
1answer
141 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 == ...
0
votes
0answers
88 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 ...
0
votes
2answers
423 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 ...