The Woocommerce plugin adds an eCommerce store to Wordpress.

learn more… | top users | synonyms

0
votes
0answers
21 views

Coupons Tab Is not there in new Woocommerce Version [closed]

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
1answer
182 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
58 views

How can I add a Categories page link to a menu? [closed]

Not a link to a specific category, but a link to a page that lists all categories of a custom post type (WooCommerce Products).
-2
votes
1answer
79 views

Adding more information to a Content Product Category

The template content_product_cat is responsible for showing the product categories images and its name. I want to display more information below the name of a category e.g a Category called 'Books', I ...
0
votes
1answer
71 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
2answers
471 views

Is it possible to set up multistore in Woocommerce? [closed]

Is it possible to have multistore in WooCommerce? I want to divide my WooCommerce store into 3 distinct stores with the toys showing up in 3 different collection names called: remote cars, ...
0
votes
0answers
16 views

Media Uploader Won't Open Unless Page is Saved [closed]

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 ...
1
vote
1answer
173 views

WooCommerce is slow with many categories [closed]

I'm struggling a bit with WooCommerce (and WordPress) being a bit slow. I have a development store for a customer with the following stats 5,319 Products 2,437 Product Categories Categories are ...
0
votes
1answer
66 views

Allow unfiltered HTML for not logged in users when saving a post

I'm using this code: $var1 = $_GET["t1s2ninput"]; $var2 = $_GET["t1s2pinput"]; $new_post = array ( 'post_title' => 'Title <dl class="variation"> <dt>Variation: </dt> ...
0
votes
0answers
36 views

How to define a product on sale on WooCommerce programmatically [closed]

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
55 views

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

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
2answers
278 views

WooCommerce: Translation lost on AJAX call in Checkout page

I'm using WooCommerce for a site that I'm currently working on. And I'm creating it for a language other than English. I do the translations by means of the .po file. The issue that I'm encountering ...
-1
votes
1answer
30 views

reusing code in function and running it with loop

In variable.php , the page use to display any attributes related to a product. I want some changes in code but not for all pages, so i think only point it to create a function of variable.php, and ...
0
votes
1answer
26 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
49 views

coding for custom layout woocommerce product [closed]

I want to change things according to my needs for [product_categories number="4"] While it shows the correct format. I want to edit the look of it. Like changing the labels of attributes or change ...
0
votes
2answers
169 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
108 views

Make WooCommerce pages accessible for logged in users only

I have a website using WordPress, and an e-commerce using WooCommerce. I would like my shop (and all its pages) to be seen by logged in users only. Via the User Access Manager plugin, I have denied ...
0
votes
0answers
31 views

Prevent WooCommerce saving orderd data [closed]

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 ...
2
votes
2answers
74 views

User profiles and object associations

I'm coming over from Drupal and I'm very used to the way Drupal handles users and objects (called nodes over there.) I have to learn how WordPress handles these same situations. Since we're going to ...
0
votes
0answers
47 views

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

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
1answer
280 views

Woocommerce Top Seller Products [closed]

I'm trying to display best selling products on my woocommerce install. I've created a custom shortcode for that, but it seems that it's not working properly as the products it shows don't reflect ...
2
votes
1answer
124 views

Woocommerce custom shared taxonomy

I've added custom shared taxonomy season for product type from woocommerce and my custom type care. Care type and taxonomy are created in functions.php file of my custom theme. add_action('init', ...
0
votes
0answers
179 views

Gravity Form Field from WooCommerce Product Add-On Extension not being POSTed to Cart [on hold]

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
1answer
58 views

Can I use Woocommerce to take orders but not handle payment? [closed]

I would like to create an ecommerce website. In this website the customer will browse the product catalog, add the desired products to his cart, maybe create an account, and during the checkout ...
2
votes
1answer
1k views

WooCommerce - How to Add a Custom Field to Cart Items and Cart Totals [closed]

I am using WooCommerce plugin and have the following query: Within the single product page, I have a product where based on certain selections by the buyer, a shipping cost value is calculated, which ...
0
votes
0answers
64 views

Add link to Shopping Cart on Woocommerce's Checkout page [on hold]

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
75 views

Woocommerce Payment Complete on Success Ajax Call [on hold]

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
2answers
159 views

WooCommerce changes Page's Featured Image [on hold]

not sure if anyone else has ever had this problem. I have added WooCommerce shortcode to a page that has a Featured Image. [product_category category="electrical-products" per_page="9" columns="3" ...
0
votes
1answer
145 views

How to access Gravity Form Field Values prior to Form Submission [on hold]

I am using Gravity forms within a WooCommerce product page (via the WooCommerce Gravity Form Product Add-On), where I have three fields: Form ID: 1 1) Field ID: 3 value = 200 2) Field ID: 4 value = ...
0
votes
0answers
23 views

Theme error when deactivating WooCommerce plugin [closed]

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
18 views

Display Variation Thumbnails using Layered Nav Widget and ACF [closed]

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
1answer
18 views

Holding 2 wp_user in the same action (to update billing_email when user_email is updated)

iam trying to update woocommerce billing_email when user_email is updated , the problem is how to hold two objects from wp_user within the same action , in this code add_action('profile_update', ...
0
votes
0answers
69 views

Woocommerce Checkout Page Add Image to Order Review [on hold]

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. ...
0
votes
0answers
389 views

WooCommerce payment gateway receipt page [on hold]

I'm trying to make a fairly simple WooCommerce payment gateway and the only thing I have left to do is to output some text on the receipt page. For some reason I just can't get my code to work. ...
0
votes
1answer
59 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
169 views

ACF and Woocommerce Products [on hold]

Hoping someone can assist – I am trying to use the Advanced Custom Fields plugin together with the repeater add-on, with Woocommerce products. To begin with, I have setup two products, Product A and ...
0
votes
1answer
57 views

How to get Woocommerce cart data? [closed]

Woocommerce is powerful, but I really want to apply another way to my customers to take orders by using a form. This is how I imagine it to do. The customers still have to press Add to cart button to ...
0
votes
0answers
65 views

get_query_var( 'paged' ) not working in product template [on hold]

I am using woo commerce. I have a template file named product.php to show 10 products per page with pagination. But if i click the second page in pagination it shows nothing was found at this ...
0
votes
0answers
131 views

Attaching Images to Multiple Rows within Foreach Loop [closed]

I'm trying to modify the Product Add-Ons plugin for WooCommerce. I need to be able to add an image for each add-on item. So each add-on item row would look like: Name Price Image Each row is ...
1
vote
1answer
283 views

woocommerce - How Can I add author metadata for a product? [closed]

Hi I am using woocommerce with Mystile Theme for a book store. How Can I add author taxonomy for a product? I need to set an author for every book I am selling and possibly to search trough, author, ...
1
vote
0answers
149 views

Override a theme's WooCommerce template files with plugin [on hold]

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 ...
0
votes
0answers
175 views

Product Add-Ons vs. Variable Products WooCommerce [closed]

I have a question for those of you who are adept with WooCommerce and Product Add-Ons. The store i'm developing has over 100 different products most of which have three variations (2 global and one ...
0
votes
0answers
53 views

Woocommerce product - changing metabox locations [on hold]

I've been trying to find more information or a tutorial on how to move the metaboxes for products in the add/edit admin screens in woocommerce. I found a good tutorial on how to move the metaboxes ...
0
votes
1answer
221 views

How to display Shop Products in a Table Format with Column Headings as Custom Attributes in WooCommerce WordPress [on hold]

I have already entered my products along with their custom attributes into my WooCommerce system and am looking to customize the look and layout of the Shop page to display products in a tabular ...
-1
votes
1answer
274 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
1answer
131 views

WooCommerce wp_insert_post action firing on every save

function initial_product_data ( $post_id ) { // lets get out of here if this is not a new product if ( 'product' != $_POST['post_type'] ) return; // make sure the post isn't automagically ...
1
vote
0answers
434 views

How to get Woocommerce Variation ID? [on hold]

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
1answer
39 views

Echo SKU in WooCommerce Conformation page [closed]

I am able to display SKU in a single product page using Product Meta data but it looks like same method does not work on Order Conformation page. Is there any way to echo SKU in a order conformation ...
-1
votes
1answer
41 views

Extract array from custom field

I'm using woocommerce product bundles extension. I need to manipulate some informations about bundled post. Actually I found the bundled product container has a hidden custom field named _bundled_ids ...
0
votes
0answers
140 views

Make custom menu widget title dynamic for woocommerce product categories [closed]

I've tried several things and I can't figure this out. What I want to accomplish is to use the custom menu widget with a certain menu and have the title dynamically change depending on which category ...