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

learn more… | top users | synonyms

0
votes
0answers
34 views

%author% permalink for woocommerce

I have a multi-vendor website. I need to have the products permalinks set to, something like this: /author/product or /vendor/product Wordpress already has inbuilt code for /%author%/ but sadly this ...
0
votes
0answers
35 views

Pass custom image on add to cart

I'm trying to replicate the behavior that this site has: http://pixers.es/fotomurales/hermosa-mujer-ejemplo-de-la-acuarela-59301559 As you can see you can select a certain portion of the image to buy ...
-1
votes
1answer
87 views

How do you access the Product Short Description in a WooCommerce email template? [closed]

I would like to output the Product Short Description beneath the product name inside the order items table inside WooCommerce emails. I think I know where to place code inside the email template file, ...
0
votes
1answer
74 views

If WooCommerce Stock Updates, Also Update Specified Field Values

I would like to have a function that should update the Est. Dispatch Date Field ) in whenever WooCommerce Stock Value / Stock Amount changes even when order is placed and stock amount is reduced by ...
0
votes
1answer
62 views

How to trigger WooCommerce order complete email?

I want to be able to trigger the WooCommerce order complete email at a different stage in the WooCommerce checkout process. So I've disabled WooCommerce order complete email from the backend and am ...
0
votes
1answer
91 views

Woocommerce Filter Main Loop by Tag [closed]

Two questions: How can I modify the query results of the archive and search pages exclude the product-tag "audio"? How can I make the Recent Products shortcode of Woocommerce exclude the product-tag ...
1
vote
1answer
70 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 ...
0
votes
0answers
37 views

When not logged in, WooThumbs plugin causes: Resource interpreted as Script but transferred with MIME type text/plain

Using Chrome, when attempting to change product variations (and only when WooThumbs is enabled) sometimes the plugin gets stuck at the image-loading gif. The console throws an error: Resource ...
0
votes
0answers
97 views

Storefront Theme: Shop & Product Pages do not Respect Template=“Full width”

I have set the Shop and Product pages to use the Full width template but I still see the sidebar. Setting Template="Full width" seems to hide this sidebar for the other pages. Settings: ...
1
vote
2answers
111 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 ...
0
votes
1answer
720 views

Create product category and keyword search form in woocommerce? [closed]

i want to build category and keyword based search form. so i got this following form <form role="search" method="get" id="searchform_special" action="<?php echo esc_url( home_url( '/' ) ); ...
1
vote
0answers
344 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 ...
0
votes
1answer
90 views

Woocommerce Price Text

I'm trying to show after the price of my product, whether the price is 'per person' or 'per group'. I've created a custom field for both, so for example, if custom field 'price_per_person' is ticked, ...
0
votes
1answer
20 views

Quotes not rendering properly in WooCommerce settings API [closed]

hello i'm using a setting API of woocommerce for creating form fields. what i want here is to fetch emails from database and display it in a dropdown in frontend now have fetch the emails but when i ...
-2
votes
1answer
71 views

Woocommerce where to set the Price Suffix [closed]

Short question but where in de woocommerce/wordpress environment can I define the "get_price_suffix();" function per product? Thanks!
0
votes
0answers
74 views

How do I get WooCommerce pages to display in a container in WordPress? [closed]

The Problem: I have been trying to get WooCommerce to display nicely in the Noteskine theme (https://wordpress.org/themes/noteskine/ with a demonstration page at http://noteskine.pinczek.pl/ ). I ...
0
votes
0answers
16 views

Can I have two wordpress in one host in two diferent subdomains? One used as standard blog and the other with an ecommerce plugin?

I am looking into having a personal website, a blog and a store, all under the same domain, but the blog and store will be subdomains, can I use Wordpress networks to do this or do I have to install ...
0
votes
1answer
90 views

Adding “reply-to” in the email [closed]

So, I am trying to add "reply-to" in the order email using the billing_email Here is what I have so far but the code is not written well and I am not sure how to change it. Here is the original: ...
0
votes
0answers
25 views

Category not able to display on dashboard

I added some category from other database.Category successfully added into wordpress database (wp_terms) table and there is also record entry in wp_term_taxonomy table but from backend in category ...
0
votes
0answers
67 views

Display selectable variable product options upon hover

I'm trying to figure out how when one hovers over a product image (I use woocommerce) in the shop page the product's product variations appear -small, middle, large - ( each with a different price), ...
1
vote
1answer
82 views

WooCommerce: Add content prior to or after checkout form

I'm trying to produce a message to appear prior to (or after) the checkout form on the checkout page (Example: https://susieoshandbags.com/shop/checkout/). So I did the following: add_action( ...
0
votes
0answers
19 views

Show custom field value in Edit order / Print invoice page

I've got the following in my functions file: if ( isset( $_POST['university'] ) ) { update_user_meta( $customer_id, 'university', sanitize_text_field( $_POST['university'] ) ); } This in my ...
0
votes
2answers
223 views

Woocommerce: deleted single-product.php, everything still works. How is it possible?

I'm trying to customize single-product.php to achieve the often requested different categories = different single product templates, but it seems this file it's not affecting anything at all. It's ...
0
votes
2answers
79 views

How to add category and subcategory in WordPress custom code?

I create custom plugin for import categories. now i have categories array from api.but when import categories into my wordpress woo commerce means not working. My code is given below. public ...
0
votes
1answer
120 views

WooCommerce -> wc_enqueue_js not working [closed]

I have a plugin that was using a deprecated function add_inline_js. I've changed it for wc_enqueue_js but it's not working. What I'm doing wrong? $woocommerce->wc_enqueue_js( file_get_contents( ...
0
votes
0answers
89 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
34 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
115 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
41 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
47 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 ...
-2
votes
1answer
63 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
54 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
20 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
28 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 ...
-2
votes
1answer
63 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 ...
1
vote
1answer
33 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 ...
0
votes
1answer
56 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 ...
1
vote
2answers
148 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
1answer
42 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
45 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
146 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
75 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
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 ...
0
votes
0answers
23 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
80 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
617 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
62 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); ...
0
votes
1answer
36 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
239 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 ...