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

learn more… | top users | synonyms

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
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 ...
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: ...
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 ...
0
votes
0answers
76 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
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
68 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), ...
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
1answer
121 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
90 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
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 ...
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 ...
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 ...
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, ...
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
0answers
88 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
28 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
56 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 ...
0
votes
1answer
468 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
377 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
0answers
59 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
204 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 ...
0
votes
1answer
150 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 ...
0
votes
1answer
207 views

Add .html to Woocommerce permalinks

I'm redesiging a site for a client using Wordpress and WooCommerce and I need to add .html to all the woocommerce permalinks so they don't lose any SEO ranking when we go live with the site. Does ...
0
votes
0answers
50 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
412 views

Woocommerce - Check product stock availability from external database

I have an external database (not a Wordpress one) where my client's stock is managed and I need to check the product availability considering this database, not the wordpress' one. My inicial idea is ...
0
votes
1answer
39 views

How do you search for a post by custom taxonomy?

I'm trying to search for the latest post that has a custom taxonomy attached to it. I've used the Advanced Custom Fields plugin to add a custom taxonomy called 'brand_post_link' which allows users to ...
0
votes
1answer
125 views

Changing Woocommerce categories programatically

for the last two days I am trying to find a solution to this little problem. I want to change the categories of certain products programatically, so far I have this It seems quite logical for example ...
0
votes
0answers
144 views

Woocommerce Product Category Filter by Parent

I don't think the title is detailed enough, but the main issue here is making a filter with three drop-down menus, each one getting populated after selecting the previous (apart the first one). An ...
0
votes
0answers
129 views

Woocommerce CPT

Good Afternoon, Is there a way to override woocommerce Categories to use Custom Post Types categories?. custom post type; Destination (Main) --Location (Child of Main) --Categories (Child Of ...
0
votes
1answer
170 views

Category with description and thumbnail

I am using the below codes to show all Parent Terms from a custom taxonomy with title and link on a page. But I want to show the parent term description, thumbnail and post count in it too. So how I ...
0
votes
1answer
396 views

WordPress Woocommerce - Product Type [closed]

I have recently created a php script to import new products into Woocommerce. Please see how it was done here How to add product in woocommerce with php code. The question I have is related to the ...
0
votes
0answers
126 views

Why are Wordpress e-mails full of “mysql_real_escape_string” errors? (wp-db.php)

Since recently all Wordpress e-mails, which include Woocommerce order confirmation emails, are full of errors like these: Warning: mysql_real_escape_string(): 19 is not a valid MySQL-Link resource in ...
0
votes
0answers
13 views

Get List of Taxonomy terms used in another taxonomy term [duplicate]

I'm using WooCommerce for WordPress powered cars store. I've registered new taxonomy called "car types" which contains terms like: "new cars" and "used cars". I want to query the "product_cat" terms ...
0
votes
0answers
107 views

Display post type by category/taxonomy term

I wish to display the post types from every category in a tab scenario. So I can style it into a slider. I need the names of each category to be on the tab titles. Instead of pulling out one category ...