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

learn more… | top users | synonyms

8
votes
3answers
26k views

How do I get WooCommerce to automatically recreate pages? [closed]

I had to uninstall WooCommerce plugin (I deleted the tables it created as well) and now I reinstalled the plugin and I doesn't automatically recreate the WooCommerce Pages. Am I stuck having to ...
6
votes
2answers
19k views

Hide prices and checkout functionality in woocommerce

I know this question might be too broad, but I'm looking for a bit of direction. My client has a woocommerce store with 30-40 products. For whatever reason they do not want to sell online anymore, ...
6
votes
3answers
48k views

How to Display Product specific to a category with WooCommerce Plugin? [closed]

I'm using plugin Woocommerce to do shop online. I have many categories for example shoes, clothes and so on. How can I display the products of specific category? I see such product loops of on the ...
5
votes
2answers
8k views

Woocommerce Add Variation Product to Cart from custom link [closed]

I am trying to add a variation product to my cart directly through a link. I am setting the variation_id with the query string. As far as I can tell I am sending the data the exact same way as the ...
5
votes
1answer
99 views

Wordpress Multisite: Adding actions to only one site

I have Wordpress Multisite installed with WooCommerce network activated. I want to add an action to a hook in ONE of the sites that has WooCommerce installed, instead of all of them. For example, I ...
4
votes
2answers
3k views

How to correctly add Javascript in functions.php

I would like to remove some ugly looking arrows that are standard on cart buttons in WooCommerce. To achieve this, I found a tip of adding the following code, which should remove the arrows when the ...
4
votes
0answers
42 views

Should I check for ABSPATH in Themes? [duplicate]

I recently browsed WooCommerce source, and it appears that they're doing this: <?php /** * The template for displaying product content within loops. * * Override this template by copying it to ...
3
votes
2answers
161 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 ...
3
votes
1answer
8k 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 ...
2
votes
1answer
10k views

How to add product in woocommerce with php code [closed]

I want to add products with PHP code like below: $post_information = array( 'post_title' => 'new item shop', 'post_content' => 'this is new item shop', 'post_type' => 'post', ...
2
votes
1answer
7k views

( Woocommerce) How to get the user belonging to an order? [closed]

I am making a function which needs to be called after an order is completed within WooCommerce. For this I'm using the *'woocommerce_order_status_completed'* hook. I want to check if the order has a ...
2
votes
3answers
177 views

How to order posts (woocommerce products) alphabetically but ignore certain words, eg 'The' and 'An'

I need to order my Wordpress posts (that happen to be Woocommerce products) alphabetically, but I want to ignore certain words, eg. 'The' and 'A' and 'An'. Is there a function or filter that can be ...
2
votes
1answer
313 views

Save Custom Fields for Variations Product

Currently I am using WooCommerce for WordPress and trying to add custom fields for Variations Product. After did some researches, I found some code and tried to modify it. This is my full code : ...
2
votes
1answer
253 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', ...
2
votes
4answers
12k views

Changing Woocommerce Product Description [closed]

I've been changing the way that the Single product page looks. I've moved a few things about by hooking into Woocommerce and also editing the css. Out of the box the single product page shows the ...
2
votes
2answers
677 views

Creating Multiple wp_localize_script for Shortcode?

I have a shortcode that displays recent WooCommerce products in a carousel, however i would like the end user to be able to use the shortcode multiple times on the same page, currently when this ...
2
votes
1answer
541 views

WooCommerce Always Include Shipping Information in Checkout [closed]

I have virtual products in my store but I still want to collect the shipping information from my customers so that I can mail them a card at the end of the year. But a cart with virtual products ...
2
votes
1answer
3k views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
2
votes
1answer
2k 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 ...
2
votes
0answers
5k views

How to get Woocommerce Variation ID? [closed]

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 ...
1
vote
2answers
8k views

How to get WooCommerce Product Category Link by ID?

WooCommerce's product categories are a custom taxonomy called product_cat. In a function I'm writing, I'm using get_categories with the taxonomy parameter set to product_cat. Everything works fine and ...
1
vote
3answers
4k views

Woocommerce override mini-cart.php not working [closed]

I am trying to override mini-cart.php which is template file located at woocommerce/cart/mini-cart.php. It should override behaviour of woocommerce widget cart but it isnt working. I can make any ...
1
vote
2answers
40 views

Exclude a term of a taxonomy with a custom post type in a search

I've got a WooCommerce category for sold items within WooCommerce's custom post type of 'product'. What I'm trying to do is have the site search only return results from the product post type but also ...
1
vote
2answers
91 views

Declaring custom woocommerce product type as virtual / downloadable only [closed]

I'm trying to set up a woocommerce custom product type so that its as minimal as possible - no options I don't specifically designate. Still, despite the declaration below, the custom product meta ...
1
vote
1answer
2k views

Orders being sent to wrong admin email in WooCommerce [closed]

I set up an admin User for myself to create the site, then another for my client to use. I changed the emails in WooCommerce to her address wherever I can find them, but the orders are still coming ...
1
vote
1answer
6k views

Display All Products by Category with WooCommerce

With WooCommerce, I want to display all the categories in a store as headings, with all of their products listed below in an unordered list. Is this possible to do? I've seen a few things that'll let ...
1
vote
1answer
503 views

Add javascript to a woocommerce page template

I have the following code in my functions.php add_action( 'wp_enqueue_scripts', 'dc_datepicker_options' ); function dc_datepicker_options() { if ( is_page_template( 'single-product.php' ) ) { ...
1
vote
2answers
363 views

WordPress Displaying Thumbnails Vertically

WordPress is displaying my thumbnails vertically and VERY LARGE. Specifically it's displaying WooCommerce product page thumbnails vertically and VERY LARGE. Can't seem to figure out why or what piece ...
1
vote
1answer
2k 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 ...
1
vote
1answer
450 views

Top level parent taxonomy ID

At the top of a product archive page I am trying to display a list of product categories. The rule should be that the list always shows the direct children of the top level. There are several answers ...
1
vote
2answers
51 views

Change font size in products listing pages in woocommerce

I want to reduce the font size of the text inside the table so I can fit in more columns. Is there a hook I can use or do I need to modify wordpress/woocommerce's core? In that case, which css or ...
1
vote
1answer
1k views

Edit tag cloud widget number

By default, the WordPress tag cloud widget has a set amount of 45 tags to display. This can be seen in the wp-includes/category-template.php file. By default, the WooCommerce plugin which I have ...
1
vote
1answer
522 views

Changing the Woocommerce breadcrumb menu [closed]

Currently I making changes to Woocommerce's breadcrumb menu. I’m trying to get it to look like this: <div> <ul class="crumbs"> <li> ...
1
vote
1answer
549 views

woocommerce allow users to select or use avatar

I am working on constructing a ecommerce site that is run by woocommerce and the free woo theme artificer. Standard with the plugins there is a my account page which allows you to put in basic ...
1
vote
1answer
2k views

Problem With Order Item Meta In Woocommerce

I'm following Xatic's tutorial to help me add custom data to products. I've managed to be able to have that data on the cart page. However, it doesn't display in the order page in the admin backend. ...
1
vote
1answer
154 views

Product admin page breaking with too many product variations [closed]

When adding more than 100-155 variations to a variable product our admin page seems to break and loose all it's layout and i'm not able to edit anything to do with the product. Some of our products ...
1
vote
1answer
2k 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
31 views

woocommerce place order using curl? [closed]

I need to place order using curl in wordpress woocommerce. i already tried this but its not working. My error {"result":"failure","messages":" \n\t\t\t We were unable to process your order, ...
1
vote
1answer
28 views

Woocommerce: how to know if the customer is canceled the order or the shop owner? [closed]

i want to send sms to shop owner when customer is canceled some order. the question is, if there is any parameter that store if the customer is canceled or the shop owner? i will use to send sms ...
1
vote
0answers
120 views

Error 402 : Unable to create order. Please try again [closed]

I have ecommerce shopping site with with latest version of wordpress and woocommerce. Very odd behaviour is going on with 402 error. Suddenly order creation starts failing with 402 error, and after ...
1
vote
1answer
30 views

Convert Wordpress Woocomerce product to Wordpress post

This question look like terrible :). We have a shop with more than 10.000 product, but at this time we dont have bussiness and we want to convert woocomerce product into new database worpdress post ...
1
vote
1answer
223 views

Woocommerce filter cart and category specific quantity [closed]

So basically, I'm trying to filter my cart. I would like the message below displayed if products from the "cuvees" category are at the number of 4,5,7,8,9,10,11,13,14,15,16,17,19,21 in the cart. So ...
1
vote
0answers
100 views

Woocommerce - Remove all tax rates in standard shortcut [closed]

I am wondering if there was an easier way to remove tax fields in woocommerce Tax Rates for the "Standard" Class. I uploaded a csv file for Illinois tax rates and added tax fields for every zip code. ...
1
vote
1answer
200 views

How to handle a missing page.php?

I'm using the free Wordpress theme Stargazer by Justin Tadlock. I'm trying to integrate a plugin (WooCommerce) with it and after reading the documentation, I need to find the page.php file, copy the ...
1
vote
0answers
926 views

Woocommerce displaying product categories and products on custom theme

Am trying to create custom Woocommerce supporting theme in Wordpress. What am facing is regarding the displaying of Product Categories when accessing the main category and 1st level of categories. ...
1
vote
0answers
179 views

SSL Certificate and Dedicated IP address with Woocommerce WordPress site [closed]

I have wooCommerce WordPress site (in develop phase), when i searched to have a good hosting company they advice me to go with VPS solution not shard solution because in VPS i can have multiple ( SSL ...
1
vote
0answers
870 views

Pretty product permalinks with Woocommerce shop/category/subcategory/product-name [closed]

I'm having a tough time figuring out how to do pretty permalinks for Woocommerce with this kind of structure "www.page.com/shop/category/subcategory/product-name" The best I could come up with was ...
1
vote
2answers
2k views

How does Wordpress redirect to WooCommerce shop page? [closed]

I'm creating a plugin for WooCommerce, it needs a parameter in the url of shop page like this http://domain/wp/shop/?param=value. It worked fine until I set the shop page as front page, when I access ...
1
vote
0answers
131 views

WooCommerce Customize the archive-product page [closed]

How to modify the archive-product.php in Woocommerce to sho the results with a bigger thumb and in list view not in grid. There is a plugin for that but this is not working for me since I will use a ...
1
vote
1answer
437 views

Add sku to product url woocommerce [closed]

I want to make url's with the following structure: www.mywebsite.com/wordpress/product/postname-sku for example: wordpress/product/apple-ap01 Is this possible? And also tell if this done with ...