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

learn more… | top users | synonyms

0
votes
1answer
350 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
1k 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
4k 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
48 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
81 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
434 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
465 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
55 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
2k 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
56 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
178 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
393 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
527 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
467 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
3k 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
268 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
7k 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
1k 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
12 views

Warning Error When Visiting My Site

When some people visit my eCommerce site, they get this error: This is what it keeps saying: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_widgets_init' not ...
0
votes
0answers
13 views

Woocommerce Cart Issue

I am having an issue with woocommerce cart where it adds an additional item to the cart. For example, if a user wants to buy 1 apple the cart adds an additional apple, so the users cart will show two ...
0
votes
0answers
8 views

Create a Button alongside add to cart

i want to create a button alongwith add to cart that will perform a specific function. please tell me how to do this.Also can you tell me the css of this button so that the button looks exactly like ...
0
votes
0answers
3 views

woo commerce order success page not redirect

On our Word press site, we have developed a woocomerece payment gateway plugin and it passes the order id and the amount correctly, furthermore if we cancel the payment on the gateway it redirects the ...
0
votes
0answers
10 views

AJAX Request not working for Wordpress Multiple Shipping Addresses Plugin

I have a pretty urgent question and I need some help figuring out this issue. So I bought the Wordpress Multiple Addresses plugin because my client needs the functionality for their e-commerce site. ...
0
votes
0answers
7 views

woocommerce display total of completed orders on a product

I want to display the total of only completed orders of a product, now total_sales are displayed, but it contains the total of all orders of a product (processing or completed orders).
0
votes
0answers
17 views

custom meta boxes to dispay for specific categories

I'm new to WordPress and I am learning everyday. Being a newbie I am not being able to handle / solve a problem. I am currently working on a lighting website that will sell light bulbs, ballast and ...
0
votes
0answers
7 views

price of woocommerce products with zeros in cents [on hold]

When I need to show price of woocommerce products I do like: $woocommerce_price_format= get_woocommerce_price_format(); $currency_symbol= get_woocommerce_currency_symbol( ...
0
votes
1answer
14 views

change product image url in widgets & shop page

I am trying to setup CDN on woocommerce theme. Here's what I have added to the functions.php add_filter( 'woocommerce_single_product_image_html', 'replace_content' ); add_filter( ...
0
votes
0answers
6 views

woocommerce product link including category-name and with /product/

I like to change the product link in woocommerce. Now it is www.shop.com/product/test-product-123/ But I like the category inclosed instead of the text /product/ Result would be: ...
0
votes
1answer
9 views

How can I display one product using WooCommerce

I can't seem to find the function that does this I the API docs of WooCommerce. Is the a function that allows me to display one a couple of products that are under a specific category or tag?
0
votes
1answer
21 views

Append woocommerce category to product title globally?

I am trying to append the product category to the product title in woocommerce, this needs to be on a global level (so it works everywhere). Ive tried the following code which I thought would work ...
0
votes
0answers
8 views

Adding a custom product filter

I'm currently working with woo-commerce. I'm looking to add a custom product filter (I'm looking to build this as a learning exercise), currently my product categories pull back all products in that ...
0
votes
0answers
9 views

External User & Woocommerce

I am evaluating the following: What i have: A big custom-coded Community (600k users) A custom coded shop inside the community which sucks What do i want: Leave the community as it is Exclude the ...
0
votes
0answers
17 views

Woocommerce get brands for selected category

I am using woocommerce and i want to show the brands for selected category. i am using plugin brands. https://docs.woothemes.com/document/wc-brands For example i want to show the brands only for ...
0
votes
1answer
24 views

rating, share and review issue for single WooCommerce page

i am new WooCommerce, i am having one issue for product single page. which is rating and sharing not showing. i want to show in single page rating, sharing and review count number. bellow ...
0
votes
0answers
6 views

Woocommerce - Show animation while variation product images are loading

When selecting a different product variation, the new image takes up to three seconds to load, which can confuse users. It also gives no indications that a new image is loading. Here is an example: ...
0
votes
0answers
18 views

Woocommerce product option redirect to other product

I'm looking for a solution in woocommerce in a gateway that doesn't accept variable products. =( I have 3 products. Each one has 2 sets of 3 options So in product A: Option 1 - A | B | C Option 2 - ...
0
votes
0answers
30 views

Redis + WooCommerce = Failed?

I have Apache + Redis + Wordpress (WooCommerce) Setup. Like: ( AWS ELB ) + ( 2 x Apache ) + ( Redis ) .. are all on separated Nodes. On Both Apache I have: Wordpress + WooCommerce Tried both: ...
0
votes
0answers
13 views

WordPress Meta Box + WooCommerce - Display for specific product type right away?

So I've created a custom product type 'MY_PRODUCT_TYPE' and a meta box and that displays for this product type: function MY_PRODUCT_TYPE_meta_box($post_type) { $post_types = array('product'); ...
0
votes
0answers
19 views

Woocommerce voucher - apply multiple discount types per voucher

I currently have a situation where I need to be able to define different discount types per voucher code eg: Coupon XYZ123 gives the following: FREE PRODUCTA FREE PRODUCTB 25% OFF ANY PRODUCT Is ...
0
votes
2answers
32 views

Override function

In woocommerce plugin file class-wc-booking-cart-manager.php there is this code /** * Constructor */ public function __construct() { add_filter( 'woocommerce_add_cart_item', ...
0
votes
0answers
14 views

Woocommerce Redirect after login based on user group

I am using the add on Groups for Woocommerce and have assigned specific users as "wholesale" group. I am trying to redirect the user group "wholesale" to a different page than other users that login. ...
0
votes
0answers
18 views

Remove header (first row) from csv export

I am sorry for my bad english in advance! The company I work for has bought the amazing plugin "WooCommerce Customer/Order CSV Export" which really works like a charm. The documentation is sublime, I ...
0
votes
0answers
17 views

Woocommerce sort by price with [products] shortcode

I have been looking all over the internet for a solution past few hours, there's this problem that I can't sort products by price (low to high) using this shortcode: [products orderby="price" ...
0
votes
1answer
13 views

Variable Products Being Added to Cart with AJAX on Shop and Category Pages

By default, Woocommerce ajax add to cart functionality is only supposed to apply to simple products on archive, shop, category pages, etc.. But for some reason it is also adding variable products to ...
0
votes
0answers
3 views

Separate carts in one order

I have to create a commerce site where user can combine items in packs within one order like ie. in cart is 6 items. 4 in one pack and 2 item in second pack. Each pack goes to different address. Any ...
0
votes
0answers
10 views

Append Text to product_short_description [duplicate]

I'm trying to add some text after the product description in WooCommerce which uses the product_short_description. Currently I'm using the following code: add_action( ...
0
votes
1answer
14 views

How woo-commerce store Product Data value in DB?

I am working on a project in which Products are being added by parsing a XML file. For Variant product I am able to save all attributes and the product variant related to a product , but I am unable ...
0
votes
0answers
14 views

woocommerce no shortcode for all products in one page

I like a list of all products on one page. So only per category. I have going through the shortcodes, but can not find the code for it. Looking into: ...
0
votes
1answer
29 views

Woocommerce checkout field maxlength, make input number field only (postcode)

I've been struggling with this for a few days now. What i want to do, it to limit the Postcode/zip fields to 4 numbers. So, to add a maxlength and a type="number" to those fields. Things i've tried ...