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

learn more… | top users | synonyms

0
votes
1answer
178 views

Trying to disable slider for WooCommerce price filter [closed]

I'm currently working on an e-commerce site that uses WooCommerce, and the client wants to change the price filter from the existing range slider to the two inputs. By default, WooCommerce creates it ...
0
votes
1answer
111 views

Custom Taxonomy Select Menu: Setting default option value?

I'm creating a series of select drop down menus that pull data from various taxonomies. I got this PHP script working for a WooCommerce attribute of color: function get_color_dropdown($taxonomies, ...
0
votes
1answer
79 views

Exclude Empty Child Categories in Menu

I am working in WooCommerce and trying to filter out the empty sub categories. I found this code, which filters out everything "empty"...including my Home page link, About us link, etc. function ...
0
votes
1answer
172 views

How to execute a javascript function just before saving a woocommerce post or a post?

I am working on this project and I am trying to execute a jquery or javascript just before saving the post, I have tried the following: function do_something_with_a_post($id) { ...
0
votes
1answer
66 views

What happens in the database when you link variations in woocommerce? [closed]

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
1answer
589 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
97 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
219 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
116 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
430 views

Add Attribute to Woocommerce programatically, doesn't display front end [closed]

I am trying to add an attribute to some products in Woocommerce. I am able to do so, using the following : wp_set_object_terms( $product_id, 'Test Model #', 'pa_model' , false); Cool. The data ...
0
votes
1answer
2k 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
43 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
59 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
164 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
306 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
40 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
527 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
46 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
119 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
3k 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
244 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
324 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
307 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
2k 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
181 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
5k 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
3k 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
795 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
5 views

Does anyone know how to setup woocommerce with s2member?

I have just started a project where i did this in wordpress: installed woocommerce installed wc vendors -> this helps in making members in the site become vendors installed s2members -> need ...
0
votes
0answers
12 views

Wordpress / Woocommerce custom registration fields

I am learning php and I am creating simple registration plugin for wordpress and woocommerce. Everything works like a charm for wordpress but not for woocommerce. As you can see for woocommerce ...
0
votes
0answers
4 views

Grab Current URL & Add to Cart Woocommerce

I have been researching of a way to do this but have been unable to find an answer to my question. There are answers on there on how to grab the current URL etc but it is not the answer I was looking ...
0
votes
1answer
16 views

WooCommerce comments_template Filter Not Firing

I have a template file that is being called via wp_ajax that returns data from a specific WooCommerce product. In the "tabs" section of the template file every tab is working fine: Description - ...
0
votes
0answers
12 views

How to remove a product from an order id WooCommerce?

I want to let the customers to remove items/products from their order before it is sent. The only 2 functions I tried are wc_delete_order_item_meta and wc_delete_order_item. Neither of them seems to ...
0
votes
0answers
11 views

How to get order id with the item id in woocommerce?

I got the id of a specific line item. Is there any way to get the order that includes that item? Thank you.
0
votes
0answers
4 views

Jetpack interfering with woocommerce

I have a site using woocommerce and I recently installed jetpack. Since installing jetpack my product category pages only show 7 products per page now, and I need it to show 9 since I have a 3 column ...
0
votes
1answer
31 views

Which Wordpress version to use for improved plugin compatibility?

I am currently using WordPress 4.2.2 and Woocommerce 2.3.11 - I find that many plugins associated with Woocommerce have not yet been updated for whatever reason. In some cases a whole year has gone ...
0
votes
1answer
64 views

Complex strcuture as CPT or taxonomy for use in woocommerce product variations

In woocommerce, I've got a bunch of products, which all have a certain material assigned. My current implementation of a material is a CPT (with about 20 fields (color, transparancy, reflection, ...
0
votes
1answer
37 views

How to display ACF taxonomy checkbox links on WooCommerce product category archive

I am using the Advanced Custom Fields plugin, and have several custom fields that appear on the WooCommerce product category edit screen (where you add/edit product categories), which then display the ...
0
votes
0answers
13 views

Woocommerce conflict with new “submit_button”

I have replace the submitdiv meta box (publish box) with just one simple save button. All working fine with post/page and custom post type (plugins that i have install that create custom post type). ...
0
votes
0answers
11 views

WordPress Homepage - display set of posts from two categories and a set of products in date order

I'm in the planning process of a WordPress/Woocommerce site. The client wants to have the posts from two categories and her woocommerce products to show together on the home page in date order. This ...
0
votes
0answers
22 views

pagination in woocommerce order history page

Please help me to add pagination in my order history page. Pagination should work like WooCommerce products page. Here is my code: <?php $customer_orders = get_posts( apply_filters( ...
0
votes
1answer
34 views

How can I allow access to two user accounts using one login?

I have spent the last two hours searching for this and I cannot find a solution to my problem. I have a WP site with WooCommerce running which allows to users to create their own store. My client ...
0
votes
0answers
31 views

Calculate with custom checkout field in Woocommerce

I'd like to calculate the shipping fee based on a custom created checkout field. I'm using the update_totals_on_change class to recalculate the shipping fee when change this value. // Action to ...
0
votes
0answers
20 views

Add custom functionality on WooCommerce complete button

I've a situation to add some data to the database tables on order status completed button. I can see the url in class-wc-admin-post-types.php Can someone help me for any hook? Or how the ...
0
votes
0answers
34 views

Custom post excerpt not translating in WooCommerce product page

I am trying to show the translation of an excerpt of custom post that is associated with a WooCommerce product. The excerpt always shows in default language but using the same code used to work for me ...
0
votes
0answers
22 views

Pagination not working on archive page

i'm trying to add woo commerce support to my theme. I have copied the archive-product page under the woo commerce folder in my theme directory. But i can't get the pagination working. i'm sure i'm ...
0
votes
0answers
72 views

Woocommerce “Add to Cart” ajax

On the product category page, when someone clicks "Add to cart", woocomerce adds automatically "View cart" below this button through Ajax. I found that the script in /assets/js/frontend/add-to-cart.js ...
0
votes
0answers
23 views

restrict product category plugin

I don't know if this is possible or not. How can I restrict a product category woocommerce until it was paid. either a short message for payment in paypal, and after payment, they can access it. Most ...
0
votes
0answers
28 views

Add a product custom field's value to custom tab

I would like to add some custom tabs to the product screen. The values of these custom tabs would be the values of the custom fields assigned to the product. I'm using the following plugin to add ...
0
votes
0answers
20 views

How can I create a simplified Product Entry meta box in WooCommerce

My client has hundreds of products to enter into their site. The WooCommerce product screen has so many entry fields but the client will only be using a few of these - maybe 5 total. I'd like to ...