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

learn more… | top users | synonyms

0
votes
0answers
47 views

Featured image do not show in woocommerce

I have written a plugin to allow my clients to add products to woocommerce from frontend. I have setup everything I can think of: - add post as product and as image attachment in table _post ...
0
votes
0answers
27 views

Woocommerce Booking Time format

i got WC Booking extension, and dont know how to change time format from am/pm to 24h , my wordpress time format is set to 24h but Booking is AM/PM, anbody can help with this?
0
votes
1answer
67 views

Enqueue script on specific WooCommerce template

I would like to enqueue a lightbox script on the WooCommerce page content-single-product.php. I have tried the following via functions.php: if(is_page_template( 'page-gallery.php' ) || ...
0
votes
0answers
30 views

Child Theme for WooCommerce's Upstart

I'm having trouble with the Child Themes concept, and I am using WooCommerce's Upstart Theme. After Reading the Wordpress Documentation on Child Themes, I attempting to implement a Child Theme for the ...
0
votes
2answers
38 views

Use existing image sizes for WooCommerce

I've built a theme and have set the following image dimensions via functions.php: set_post_thumbnail_size( 1064, 347, true ); // Upload @ 2128(W) x 708(H) add_image_size( 'standard', 352, 235, true ...
0
votes
1answer
57 views

Can't show Woocommerce product category description

I'm trying to show product category description on a Woocommerce pdf invoice. Here i'm using this code , but not showing anything. $cat_id = $category->term_id; $term = get_term( $cat_id, ...
-2
votes
1answer
48 views

Making product image in woocommerce invoice linkable [closed]

So, I am customizing woocommerce invoice email and here is a portion which displays product images in the email invoice: if ( $show_image ) { echo apply_filters( ...
0
votes
0answers
20 views

Media and products does not show after adding new

Hello fellow wordpress developers, I have created a site with wordpress and woocommerce and I have a problem with the media and the products. After I enabled quick Cache (now I think it's called ...
0
votes
1answer
35 views

How to get price of my products show in snippet on google?

I use wp e-commerce plugin woocommerce to sell my products online. I am trying to figure out how to get prices and reviews of my products shown in snippets on google. Is there a plugin that can help ...
0
votes
0answers
16 views

Why are the terms of Product attributes in the table wp_term_taxonomy showing a count of 0?

im installing a plugin called Woocommerce Product Filters which is a filter system for products as its name may suggest. THe problem im having is when I turn on a number of attributes to filter by, ...
0
votes
0answers
17 views

Woocommerce - Product depending on country

I have more than 200 product, So how can I detect the IP of a visitor and detect which country the person is from? I guess this can be done with some ClientLocation api. And get all product that in ...
0
votes
1answer
39 views

Insert post_name from sql query

I have a script which is add product into wp_posts table. From this script, I store the name of this products into post_title field, but I don't know how to generate the post_name for a particular ...
-2
votes
1answer
42 views

Excluding Categories from WooCommerce Shop

I followed the documentation on WooCommerce support page for removing categories from the shop page (http://docs.woothemes.com/document/exclude-a-category-from-the-shop-page/), but this doesn't seem ...
0
votes
0answers
17 views

Default woocommerce placeholder image

So, here is the woocommerce setting that I have. I have three categories: A, B and C. From the backend, I gave category images to each categories. Now, let say I post a product in the category A ...
1
vote
2answers
97 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 ...
0
votes
0answers
29 views

How to search for categories instead of products in Woocommerce?

I have a webshop with over 30.000 products. I was wondering whether it was possible to, when you search to do so that it searches for categories, rather than products as I get a ton of products when I ...
0
votes
0answers
23 views

Adding a tag for woocommerce product

So, i want to add woocommerce product tag from the frontend. What is the meta key for the product tag? ps. what is the best way to automatically complete tag just like how stackexchange tag system ...
0
votes
0answers
115 views

WooCommerce Shop Page Category Display with multiple category per product

In my woocommerce store all of my products are organized in two categories. My problem is on the shop page, the category is displayed above the name of each product, but it displays the category that ...
0
votes
0answers
22 views

Multi Catagory on shop page show only primary catagory

In my woocommerce store all of my products are organized in two categories. My problem is on the shop page, the category is displayed above the name of each product, but it displays the category that ...
2
votes
1answer
352 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 : ...
0
votes
1answer
342 views

Category menu that filters out empty categories

I'm trying to build a menu which can be administered from the menu editor, but gets filtered before being output. More specifically the menu contains Woocommerce product categories, organised into a ...
0
votes
0answers
67 views

woocommerce: add custom field and visual composer

how do I add a custom field area to the single products dashboard and add visual composer support to it? Thanks.
0
votes
0answers
20 views

Contentwidth Twenty fourteen influences the WooCommerce thumbnailsize

Although I regenerated the WooCommerce thumbnails to a bigger size (I checked it with Firebug), the responsive design (Twenty Fourteen) seems to prevent the thumbnails to grow bigger. Only when I ...
0
votes
1answer
43 views

Customizing $product->get_title() function

i'm customizing a popular CSV exporting tool for Woocommerce. I've got an issue on extracting names for products. Look at this line of code: $product->name = get_the_title($product->ID); ...
1
vote
1answer
32 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 ...
0
votes
1answer
26 views

How can I selectively insert a header for my shop page in woocommerce? [closed]

I use a this line of code in my sites in order to change my header (and hence my css) depending on what template I'm using: <?php include ('otherHeader.php'); ?> however, with woocommerce ...
0
votes
1answer
90 views

Migrate WooCommerce Orders [closed]

I need to export/import all WooCommerce orders from a clients old website to their new website. We basically took their website, redesigned it but the install and everything is the same - besides ...
-1
votes
1answer
125 views

WordPress Woocommerce - Checkout - Error 405: Unable to create order. Please try again [closed]

I've been going nuts all day trying to figure this out. A few days ago the checkout was working fine. Now when I go to complete an order I get this 'Error 405: Unable to create order. Please try ...
0
votes
0answers
62 views

Change product image without Lightbox

Any idea on how multiple product images can be shown without lightbox? In this case, then the main image will be switched when anyone clicks on any other product image. I think better explanation ...
0
votes
0answers
21 views

Adding “notification” button on the menu icon

So, is there a way to put woocmmerce "notification" on the menu icon? (Picture below). For example, if there is a new product posted, I want to show the number of new item notification right above ...
0
votes
0answers
87 views

How to get Woocommerce order product info

I am trying to get all woocommerce orders and find info about the products in each order. I have seen many examples on here and elsewhere on the web and they all seem to say to do the same thing but ...
0
votes
0answers
44 views

Woocomerce - create Make-Model-Year dynamic dropdown filter

I'm going to create a Make-Model-Year dynamic filter for Woocommerce products. I'm trying to decide, if I should use hierarchical taxonomies and tax-query for this, or create a custom table and use ...
1
vote
1answer
235 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 ...
0
votes
1answer
298 views

Programatically added attribute, set to 'show on product page' automatically. Woocommerce [closed]

Ive written a script to import products to a new install of Woocommerce. The products have attributes set up in the admin. This bit of code adds the attributes on import. ...
0
votes
2answers
262 views

WooCommerce: Can't change / style button colors

I'm trying to change the colors of my buttons from a default reddish color to something more pink. So I go to my child theme and insert the following code: .woocommerce a.button.alt, ...
0
votes
1answer
140 views

Unable to display custom fields on WooCommerce product pages

I've set up some custom fields using the existing 'custom fields' panel on a WooCommerce product page. I'm unable to display these on the front end. My technical knowledge is limited but I've tried ...
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 ...
0
votes
0answers
43 views

Placing PHP inside Theme Accordion

I have already posted this on Wordpress.org support (with no response yet) however on the advice from someone they thought this website maybe better suited. I realize that short codes should probably ...
0
votes
1answer
105 views

Get only one product category woocommerce

I have to get and show only one category name from a product. I have almost read everything and tried everything. <?php $term = get_the_terms( $post->ID, 'product_cat' ); foreach ($term as ...
-2
votes
1answer
28 views

Woocommerce: Making email clickable [closed]

So, here is my code in the order-detail.php file: <li> <span><?php _e( 'Email:', 'dokan' ); ?></span> <?php echo esc_html( get_post_meta( $order->id, ...
0
votes
1answer
142 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
103 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
0answers
80 views

Sharing woocommerce product data

I am needing two installs of WordPress and both are being used as an online shop. The problem i am having is that, I am having to update two sites with the same products and wanting to find a way to ...
0
votes
1answer
333 views

WooCommerce search products between price range using WP_Query

I am currently building my own custom advanced search functionality for a WordPress website with Woocommerce. You should be able to search using: Category Min/Max price My current progress is ...
1
vote
0answers
105 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. ...
0
votes
1answer
63 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
149 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
49 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
0answers
44 views

Proper Array Setup

I'm having real trouble getting this to function right, basically I'm tweaking an array for the related products section of WooCommerce for WP, but it's not really a plugin issue more of a general ...
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 = ...