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

learn more… | top users | synonyms

1
vote
0answers
824 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. ...
0
votes
0answers
5 views

WC_product class in custom plugin not found

I am trying to make use of the WC_porduct class in my custom plugin but it throws the error; 'Fatal error: Class 'WC_Product' not found in:' I've added global $woocommerce, $wordpress; to the top of ...
0
votes
0answers
11 views

Showing Woocommerce cart in a specific menu?

I've tried adding Woocommerce cart in the menu. And I found this code function add_last_nav_item($items) { global $woocommerce; return $items .= '<li class="menu-item-cart-item"><a ...
0
votes
0answers
25 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
12 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
0answers
14 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
10 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
17 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
15 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
9 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
0answers
22 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
15 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
12 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
0answers
19 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
0answers
8 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
9 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
0answers
11 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
0answers
22 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
10 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
70 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
51 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
16 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
17 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
0answers
35 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
15 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
44 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
34 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
0answers
33 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
0answers
52 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
0answers
38 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
0answers
48 views

Woocommerce hidden fields with meta keys and values. how?

Im trying to make a Frontend Publisher work with woocommerce, and need to set three hidden Meta Key fields with values. How do I go about doing that? The meta is: _manage_stock:yes _stock:1 ...
0
votes
0answers
90 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
92 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
0answers
102 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
88 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 ...
0
votes
0answers
44 views

woocommerce.css throws off style.css background urls

In the style.css of my theme root I include a background image, like this: background: url(images/image2.png); All works well, but when I move a copy of the woocommerce.css into myTheme/css the ...
0
votes
0answers
75 views

Is removing orphaned wp_postmeta records safe?

I am using woocommerce as a shopping cart on a wordpress site. Products and Product Variations are each stored as records in the wp_posts table. Each of these Variations have aprox. 15-20 associated ...
0
votes
0answers
84 views

Woocommerce Product Thumbnail sizing

I am trying to get all small medium large and full thumbnail sizes in the SHOP page of woocommerce. I am using the following code in woocommerce.php (duplicate of page.php) to display all products ...
0
votes
0answers
61 views

How to get php variables into JS script tag correctly?

I am using WooCommerce theme for a store and am unable to correctly get the Order Id and Price of an order and put it into a script tag for tracking orders using EchoVantage. I wrote an if statement ...
0
votes
0answers
97 views

Auto adding product meta on publish

I currently have this function: add_action('transition_post_status', 'wpse_110037_new_posts', 10, 3); function wpse_110037_new_posts($new_status, $old_status, $post) { if( $old_status != ...
0
votes
0answers
145 views

Wordpress - cant login on login page

I have wordpress and woocommerce on this website: http://goo.gl/PHIWIo I did this template, but the my-account page, can not login. If you try: Login: teste Password: teste123 He says "You are logged ...
0
votes
0answers
72 views

Getting attributes from custom_post input

I'm having custom field created like that: function woocommerce_form_field_numeric_2( $key, $args, $value = '' ) { global $woocommerce; $defaults = array( 'type' => 'number', 'label' => '', ...
0
votes
0answers
61 views

Media library not loading in custom post type

I have a WordPress multisite, and I created a plugin to share WooCommerce's product with a child website by changing the global variables ($wpdb) values when the URL has the post_type=product ...
0
votes
0answers
268 views

WP_Query wooCommerce category

What is the favored way for searching for a certain category in wooCommerce? Or maybe only checking if it is existent already? My approach for this was: $searchCat = new ...
0
votes
0answers
118 views

How to display the current subcategory in product overlay?

I want to display the category with the subcategory of the product by mouseover. Here is an example of what I want: https://www.dropbox.com/s/zvddx7nwpyxva0t/example.png. Right now I was able to show ...
0
votes
0answers
25 views

csv format change in wocommerece

i have made my own custom code to download the csv of order it is quite working good but i need to give one space in after each coloum i mean to say if one value is coming in A than second value ...
0
votes
0answers
80 views

Does Anyone Know How To Shard A MYSQL Database With HypderDB?

I have a woocommerce site with 80,000 products. It's on pretty speedy VPS (8GB RAM, 4CPUs, SD hard drives) and it's configured pretty well (nginx, php-opcode caching, w3 total cache, etc.) but when ...
0
votes
0answers
189 views

Identify a Woocommerce page by Wordpress conditional tags

we have a website running on WPMU, and the main site is using Woo-commerce and the sub sites doesn't use that. I use conditional statement in my meta title with following code: <title> <?php ...
0
votes
0answers
83 views

Custom Taxonomy for multiple Custom Post Types - Taxonomy Archive not working

I'm working on a project where I have a custom taxonomy, for example, called class-formation, that is shared for two Custom Post Types. On of them is the product CPT created by WooCommerce, and the ...
0
votes
0answers
110 views

Creating Content for Custom Tab in WooCommerce

I'm working with a set of three products in WooCommerce, each of which is made up of multiple "items" (custom post types). These are linked to the product using a relationship custom field. In my ...