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

learn more… | top users | synonyms

0
votes
1answer
739 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
2k 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
3answers
835 views

Wordpress Comment Box on woocommerce product page [closed]

can we activate same comment widget on woo-commerce product page which WordPress gives on post or pages. actually i want other users should be able to comment on others comment which is not allowed in ...
0
votes
1answer
2k 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
1answer
721 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
1answer
38 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
52 views

How to get_template_part using AJAX?

I'm currently on the Woocommerce archive-product.php template file (say shop page or product category page). On the click of the post (or product), a GET query is added to the title of the same page, ...
0
votes
1answer
33 views

How to maintain wordpress site blogs in production and staging?

I work as a website admin in my company. We are selling digital products using WooCommerce. We wanted to have staging and production in order to avoid any site down. So in staging we use to create ...
0
votes
1answer
52 views

How to get private property in parent class into extended class?

I am not sure if my function is firing before another funciton or if I am having issues with the $this variable when I am extending my class. I am creating a function in my functions.php file. Here's ...
0
votes
1answer
27 views

woo product , wp_insert_post() never displays on the front end. What gives? [closed]

I've tried so many different ways of handling this, but every way results in the same exact result. All I'm trying to do is programatically generate woo products. As the most basic of implementations ...
0
votes
1answer
237 views

How to override woocommerce.css?

I would like to override woocommerce.css in my child theme. This is what I tried in my child theme's functions.php but it does not seem to work: add_filter( 'woocommerce_enqueue_styles', ...
0
votes
1answer
41 views

Product Images Low Quality After Updating From WP 3.5 to 4 [closed]

I recently updated my WP website from WP 3.5 to recent version 4 and now I am getting a lower quality of all product feature images. I am using woocommercee to generate an online shop and it was ...
0
votes
1answer
38 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
84 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
170 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
31 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
41 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
85 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
2answers
2k 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
128 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
2answers
920 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
262 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
214 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
1k 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
116 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
3k 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
2k 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
572 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
9 views

What happens in the database when you link variations in woocommerce?

I have a program that sends products to the woocommerce backed website. I succesfully have it sending single products but variable products are only 90% of the way there. When I send it I create the ...
0
votes
0answers
5 views

How do I translate product categories and attributes with qTranslate

I'm running a Woocommerce-based eshop with all latest versions (Wordopress 4.1, WooCommerce 2.2.10) and I'm using a fork of qTranslate, the qTranslate Plus v2.7.2 plugin. I can translate titles, menu ...
0
votes
0answers
12 views

Add inventory to custom WooCommerce product type [on hold]

I have extended the product type to create a custom product class. However, even after extending the 'simple product' the inventory function isn't included. How would I add this to my custom product ...
0
votes
0answers
20 views

Display category and subcategory hierarchical

This is what I'm trying to achieve: So the result should be like this: <ul class="product-categories"> <li class="cat-item cat-item-18 current-cat"> <a ...
0
votes
2answers
24 views

How to change display price in woocommerce based on role? [on hold]

I'm looking to display a different price based on a user role (wholesaler, customer, affiliate, preferred customer). I have the dynamic pricing plugin that displays these discounts once an item is ...
0
votes
1answer
14 views

WooCommerce products contain single attributes with different keys within available variations [on hold]

This is the first time I've really delved into WooCommerce customization. The issue I'm having is in trying to create a custom product page with a custom buy table (using buttons instead of ...
0
votes
1answer
12 views

How to add “back to top button” in wordpress backend product list page and order page? [on hold]

Hello i want to set "back to top button" in the product list page and order page in the backend of the admin area in product list page and order list page. Anyone help me how to add this button or ...
0
votes
0answers
30 views

Proper Array Setup

I'm having real trouble getting this to function right, basically I'm tweaking an array for the related products section of WooCommerce for WP, but it's not really a plugin issue more of a general ...
0
votes
0answers
9 views

Woocommerce - get custom field value in cart [on hold]

I created field 'bali_latitude' with advanced custom fields, it is displayed in products. I want to get this field's value to cart to be able to retrieve it on the map in my cart. I used this code: ...
0
votes
2answers
32 views

Add extra fields to register form woocommerce [on hold]

I've followed the following link which allows data to be saved via a field name i.e. billing_city, billing_phone which is great and helps me a little. Although their is a requirement to add extra ...
0
votes
0answers
13 views

Show custom shipping and payment field Woocommerce in backend [on hold]

I have created a custom checkout field in a WooCommerce store. I managed to get my custom field to show on the checkout page by using this code i found on the WooCommerce documentation page: // Hook ...
0
votes
0answers
14 views

woo commerce breadcrumb [closed]

I'm having a really hard time with this, essentially what I want is to be able to display the main product category page for a product, as well as ALL sub categories of it per each category. For ...
0
votes
0answers
50 views

Display Woocommerce product's taxonomy's description on archive page [closed]

On my Woocommerce site, its product's categories have a description that is automatically shown on the category's archive page, due to built in functions of the theme itself. Looking to add this ...
0
votes
2answers
58 views

Woocommerce - Check product stock availability from external database

I have an external database (not a Wordpress one) where my client's stock is managed and I need to check the product availability considering this database, not the wordpress' one. My inicial idea is ...
0
votes
1answer
15 views

How do you search for a post by custom taxonomy?

I'm trying to search for the latest post that has a custom taxonomy attached to it. I've used the Advanced Custom Fields plugin to add a custom taxonomy called 'brand_post_link' which allows users to ...
0
votes
0answers
16 views

Woocommerce hidden fields with meta keys and values. how?

Im trying to make a Frontend Publisher work with woocommerce, and need to set three hidden Meta Key fields with values. How do I go about doing that? The meta is: _manage_stock:yes _stock:1 ...
0
votes
1answer
39 views

Changing Woocommerce categories programatically

for the last two days I am trying to find a solution to this little problem. I want to change the categories of certain products programatically, so far I have this It seems quite logical for example ...
0
votes
0answers
46 views

Woocommerce Product Category Filter by Parent

I don't think the title is detailed enough, but the main issue here is making a filter with three drop-down menus, each one getting populated after selecting the previous (apart the first one). An ...
0
votes
0answers
36 views

Woocommerce CPT

Good Afternoon, Is there a way to override woocommerce Categories to use Custom Post Types categories?. custom post type; Destination (Main) --Location (Child of Main) --Categories (Child Of ...
0
votes
1answer
95 views

Category with description and thumbnail

I am using the below codes to show all Parent Terms from a custom taxonomy with title and link on a page. But I want to show the parent term description, thumbnail and post count in it too. So how I ...
0
votes
1answer
60 views

WordPress Woocommerce - Product Type [closed]

I have recently created a php script to import new products into Woocommerce. Please see how it was done here How to add product in woocommerce with php code. The question I have is related to the ...
0
votes
0answers
67 views

Why are Wordpress e-mails full of “mysql_real_escape_string” errors? (wp-db.php)

Since recently all Wordpress e-mails, which include Woocommerce order confirmation emails, are full of errors like these: Warning: mysql_real_escape_string(): 19 is not a valid MySQL-Link resource in ...