The Woocommerce plugin adds an eCommerce store to Wordpress.

learn more… | top users | synonyms

1
vote
0answers
38 views

Update all posts in one go

I've just used the woocommerce CSV uploader to add 1000+ products to an online store. However the products only appear in the store after they have been updated - And it has to be from the main edit ...
1
vote
0answers
98 views

Use WordPress as authentication for custom app

I am in the process of developing a custom web application which will require users to login. We have developed a WordPress website to manage the signup and payment/subscriptions for the application. ...
1
vote
0answers
73 views

Woocommerce - sort by discount in dropdown menu - woocommerce_get_catalog_ordering_args

I have searched and searched for a solution for adding a "Sort by Discount" to the dropdown on the shop page in woocommerce. I need to add a calculation such as this somewhere: $percentage= ...
1
vote
0answers
142 views

Override a theme's WooCommerce template files with plugin

A plugin I'm working on, has it's own WooCommerce template files which override the default WooCommerce templates. I know I could make a child theme with a woocommerce folder but I'm trying to make ...
1
vote
0answers
400 views

How to get Woocommerce Variation ID?

I am trying to create some additional functionality on my Woocommerce backend where I add a custom field to the variations section of backend of Woocommerce. However I cannot for the life of me ...
0
votes
0answers
20 views

Remove comments from database

I have a number of comments generated by a WooCommerce payment gateway module. For some reason the comments can not be deleted in the backend (no checkboxes). Would it be safe to delete them from the ...
0
votes
0answers
12 views

Paginate product variations during product edit

I have a client who has a large number of variation for some products which is causing admin to hang when editing any of the affected products. I have increased max_input_vars to 5000 but this didn't ...
0
votes
0answers
22 views

Woocommerce conflict with pre_get_posts

I implement woocommerce in my theme but I have a conflict with my custom query that I added for my archive template. I can't figure out how to make work pre_get_posts with woocommerce activated. ...
0
votes
0answers
39 views

Woocommerce type product image gallery in post

i am just trying to create product gallery box like woocommerce. i just find the code from the woocommerce and tried to create product gallery images uploaders. unfortunately it is not saving then ...
0
votes
0answers
32 views

term_id a 13 character string, not an integer. How do I replicate this?

I am trying to manually insert meta data to a post that requires the term ID within it. I expect it to be a number but it is in fact a 13 character string. Revising the plugin code, I see this: ...
0
votes
0answers
41 views

With Permalinks Activated, WooCommerce Product Page Does Redirect to 404

I use Wordpress, WMPL, WooCommerce and everything is Ok except permalinks. Actually after activation of permalinks, every product page redirects to 404. I guess this is due to WMPL; Because, after ...
0
votes
0answers
29 views

Prevent caching of a WooCommerce “micro-cart” in WP Total Cache

So I have a WordPress site running WP E-Commerce and WPTC. On the whole wptc works very well with WC and the shop sections of the site are dynamic as they should be out of the box. As an additional ...
0
votes
0answers
32 views

Existing Woocommerce plugins with our Custom Post Types

I am developing a custom plugin which is creating custom post types and taxonomies (can not be categorized as product). Is there any way I can customize the "Product" post type for my custom posts in ...
0
votes
0answers
22 views

WooCommerce - group downloads by product

In Woocommerce(*My Account page) I can see now an unordered list with all the downloads available, like: <ul class="digital-downloads"> <li><a href="#">Product 1 - ...
0
votes
0answers
26 views

Woocommerce Messages Not Appearing with product_page Shortcode

I am displaying a single product page via a shortcode above a custom product loop on a WordPress page: http://dublab.com/donate It would be ideal to have the Added To Cart Message appear at the top ...
0
votes
0answers
31 views

wocommerce : list sub category of parent category on current category page

In WooCommerce, if there is no subcategory of the current category, then it display the subcategory of the parent category. I tried following code: $args = array( 'type' => 'products', ...
0
votes
0answers
15 views

Saving changes in wordpress redirects to log in page, doesn't save changes

I am running wordpress with woocommerce. Recently whenever I go to save a change (add a product, update a page, etc.) I am redirected to this url. Without fail this always happens. I can however ...
0
votes
0answers
86 views

wordpress multisite problem with woocommerce

when user creates new blog, I want to add widget to sidebar automaticaly. I am using hook: function add_new_blog_by_user($blog_id) { switch_to_blog($blog_id); $sidebars_widgets = ...
0
votes
0answers
18 views

Need help to show content dynamically based on a products meta/taxonomy

I have a site based on woocommerce. What i'd like is to be able to show ads based on the products attributes. IE. if product attribute is $attribute1 show the $attribute1 ad-code from external file ...
0
votes
0answers
66 views

Woocommerce custom field not visible in the admin

I added a custom field for the checkout, it's working, it saves the data. The problem is with the code from the woocommerce docs: /** * Display field value on the order edition page **/ add_action( ...
0
votes
0answers
20 views

woocommerce how to catch the last product in each category?

since all the products in woocommerce are li in the same list(ul products), I am looking for an option to catch the last li in each category ul products li.catA li.catA--->this one li.catB ...
0
votes
0answers
31 views

Replace variable in url with value from date field, send new url to filter?

I'm working with Gravity Forms and I need to retrieve an exchange rate for a given day. Basically I just need to replace "$exdate" with "yyyy-mm-dd" in the url: ...
0
votes
0answers
27 views

Help with tweaking code for showing custom text i products woocommerce

I got help earlier from @Ravs who was very kind to help me with tweaking this code $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); // current term $parent_slug = ...
0
votes
0answers
29 views

WooCommerce order shortcode by sku

I'm using a custom theme The Retailer and this has some Woocommerce shortcodes and what i like to do is order it by SKU, but i cant seem to find the code for this. function ...
0
votes
0answers
44 views

Custom post type numeric pagination

I have already develop wordpress custom type.But I cant add numeric pagination.I need it very urgent. Here is my script. $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query(); ...
0
votes
0answers
27 views

Cart Discount when applied to the cart doesn't show the correct amount in Order Total using Woocommerce in wordpress

I have being creating a new woocommerce plugin that will provide an option to the apply discount on top of the cart page. Now when there are products in the cart, the user will click on the Apply ...
0
votes
0answers
37 views

Woocommerce reviews outside tabs

Can anyone tell me if this is possible and if yes how can achieve this? I need to use the review comments and review comment form outside the woocommerce tabs, so far i only find this way, on my ...
0
votes
0answers
30 views

how to show a custom post as a category

Is it possible to show a CPT as a category. To be more precise here is my example, I have created a CPT called vendor and it is having own taxonomy. Eg: Vendor1 with books as category In ...
0
votes
0answers
50 views

WooCommerce Review Modification

I'm trying to modify how the WooCommerce Reviews are displayed. I want to remove all tabs on the product page and display the reviews as part of the main content. I understand how to disable all the ...
0
votes
0answers
16 views

Woocommerce remove settings items in google analytics

I was looking to remove some unusable settings items in integration section. I don't need "Add tracking code to your site's footer. You don't need to enable this if using a 3rd party analytics ...
0
votes
0answers
15 views

Display AIOSEO Description as Product Excerpt in WooCommerce

I've tried every solution available online that relates to the AIOSEO description being displayed in the theme. I'm essentially wanting to start displaying the AIOSEO description rather than ...
0
votes
0answers
87 views

Warning: Cannot modify header information - headers already sent by (output started at ../wp-content/themes/shopifiq/functions.php:1)

I have just migrated my live site back to my local environment for further testing and development.I am running the site on OSX Mavericks with its stock Apache installation thus /Sites directory. As ...
0
votes
0answers
31 views

Link custom taxanomy with woocommerce categories

I am using Woo-commerce in my WordPress, the issue is I have created a custom product type (CPT) with custom taxonomies. I want to link this custom taxonomy with Woo-commerce products. Ex: my CPT is ...
0
votes
0answers
24 views

Compare all products together in Woocomerce Compare Plugin

I am using Woocomerce Compare Plugin.It is working fine but I want something other than it's basic functionallities or may be I dont know plugin has that feature also. I have checkboxes on my product ...
0
votes
0answers
44 views

Woocommerce form request on checkout

I'm currently implementing a postcode search on Woocommerce. Basically I post the postcode to the url which I get and put it into a json url which populates a select with all the possible addresses. ...
0
votes
0answers
36 views

Problem getting ancestor term ID

I've been trying to filter out paypal for all WooCommerce product categories except products in sub-categories of a parent category (it has 20 sub-categories and 200+ products). I don't seem to get ...
0
votes
0answers
29 views

Woocommerce: Setting featured image file size as a web suitable file size

I have 200+ product images to upload to a WooCommerce site and they all look like they have simply been passed on to me in the original size they were taken in - with many being 5mb+. The issue I ...
0
votes
0answers
20 views

Coupons Tab Is not there in new Woocommerce Version

In the latest version of woo-commerce plugin there is no coupons tab how to set it up. Not able to create coupons as in the previous versions.
0
votes
0answers
14 views

Media Uploader Won't Open Unless Page is Saved

I am modifying the Woocommerce Product Addons plugin. I've added the ability to assign an image to each addon option in the Woocommerce admin area. However, the Media Uploader won't open for new ...
0
votes
0answers
84 views

How to display the image of first product in a woocommerce category as it's category image?

After an import of products to woo commerce system, I am faced with an issue where I have 50+ categories without any featured image and limited time. Assigning them an image manually will be tedious ...
0
votes
0answers
33 views

How to define a product on sale on WooCommerce programmatically

how are you? I'd like to define a WooCommerce product on sale programmatically, just using function.php and having the ID of the product. I did some searches in the WooCommerce documentation but it ...
0
votes
0answers
53 views

Woocommerce: Automatic category/subcategory thumbnail based on 1st product

At the moment I am building Affiliation shop based on xml. There is plenty of categories and more are being added automatically. Does anybody know how to write function, which would show ...
0
votes
0answers
28 views

Prevent WooCommerce saving orderd data

I'm using the following action within WooCommerce: woocommerce_checkout_order_processed to push the order data to a different database after a order is submitted. Ideally I want to just push the ...
0
votes
0answers
45 views

Get Terms (Woocommerce Cats) in the order which is set in the Backend

I want to have a category list, which lists the product cats in teh order, they are set in the backend. This is my current code: $categories = get_terms( 'product_cat', array( 'orderby' => ...
0
votes
0answers
165 views

Gravity Form Field from WooCommerce Product Add-On Extension not being POSTed to Cart

I am using Gravity Forms Product Add-On extension as part of my WooCommerce plugin in my site. All works fine, where I have created two fields for buyers to select values from and a third field, ...
0
votes
0answers
63 views

Add link to Shopping Cart on Woocommerce's Checkout page

My question is a simple one, I think. I want to place a link or button on the Woocommerce Checkout page saying "Return to My Cart" (obviously linking to the cart page) but I want it placed just after ...
0
votes
0answers
70 views

Woocommerce Payment Complete on Success Ajax Call

I working on woocommerce payment gateway plugin. That Payment gateway is done by ajax (there is no more redirect) If i made successful payment i get a alert, but i actually need to make the payment ...
0
votes
0answers
22 views

Theme error when deactivating WooCommerce plugin

I get several errors when deactivate WooCommerce plugin. Here are some errors : Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'woocommerce_update_cart_action' ...
0
votes
0answers
16 views

Display Variation Thumbnails using Layered Nav Widget and ACF

My client sells jewellery in different materials such as gold, silver, oxidised, etc. When using the Layered Nav widget I would like to display the thumbnails corresponding to the selected filter. So ...
0
votes
0answers
64 views

Woocommerce Checkout Page Add Image to Order Review

How do I add a thumbnail of the product image to the checkout page as it is seen on the cart page? I tested, modified and retested the change recommended this answer, but I am unable to make it work. ...