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

learn more… | top users | synonyms

-1
votes
0answers
5 views

Products in category not full width after changing loop_shop_columns [on hold]

add_filter('loop_shop_per_page', create_function('$cols', 'return 8;'), 10); add_filter('loop_shop_columns', 'loop_columns'); if (!function_exists('loop_columns')){ function loop_columns(){ ...
-7
votes
0answers
24 views

Woocommerce help. SOS [on hold]

I need some help with Woocommerce . If you know the answer please help me asap. 1st:How can i add a custom checkbox field at Billing Section where the customer will choose between 2 tax rates (for ...
-3
votes
0answers
7 views

What's the nature of latest WooCommerce security issues? [on hold]

I've seen that WooCommerce 2.2.8 and 2.2.9 have been security releases. However, the changelog does not say anything about the nature of these security issues (nor do the related github commit ...
-1
votes
0answers
6 views

Woocommerce create_category hook not working for product categories? [on hold]

so I want to hook into create_category and edit_category for products in Woocommerce. However it seems like it's not using these hooks when creating / editing categories? I know the hooks work for ...
-1
votes
0answers
7 views

Create an order in WooCommerce using S2Members API and wc_create_order [on hold]

I'm trying to use S2Members 'Payment Notification API' to create an order in WooCommerce when a payment is processed. I'm going to be batch shipping my product once a month to all members who've paid ...
0
votes
1answer
29 views

Woocommerce cannot see products in wp-admin [on hold]

I have a problem with the wp-admin interface in woo-commerce. I have around 14k products and they show up when I browse the website as a user, but I cannot see or modify them in wp-admin -> ...
0
votes
0answers
8 views

woocomerce - admin is not received any email when order is placed [on hold]

I have set all parameters in woocomerce -> settings-> email-> new order , processing etc but email is not sended to admin or email id which i have provided in these option. Yes, email is sending to ...
-4
votes
0answers
21 views

Add Product Images to WooCommerce Checkout [on hold]

How can I add product images to the WooCommerce checkout? On checkout it lists what products customers are paying for, their cost, and quantity. How can I add a product image to this as well? It ...
0
votes
0answers
11 views

WooCommerce make coupons mandatory? [closed]

I was wondering if it was possible to make the coupon field mandatory on Woocommerce. I know that this is possible using functions, however this is slightly above my current skill level so I was ...
-2
votes
0answers
35 views

Woocommerce - How to add new Google “no Captcha” reCaptcha into frontend registration form [closed]

I need to use the new Google "no Captcha" reCaptcha in frontend Woocommerce registration form page. I've inserted following code before the < / head > tag: <script ...
0
votes
0answers
7 views

add a class to fields from woocommerce products add-ons to hide with jquery [closed]

I am using woocommerce and the product add-ons extension to add 3 groups of fields to certain products in my shop. There are many fields, up to 23, for some products. What I am trying to accomplish is ...
0
votes
0answers
7 views

woocommerce : refund a sample at the next order [closed]

On my site I will sell products (full size) and samples so that customers can try before buying the full size. The idea is to sell the samples at a very cheap price, just enough to cover shipping ...
-5
votes
0answers
12 views

Woocommerce: menu products (wp-admin) visible for all users [closed]

I would like to enable access to the administration menu of products not only to superadmin but to other users: author, editor, customer and shop managers so that they too can enter the products in ...
-4
votes
0answers
33 views

Woocommerce - remove product with ajax [closed]

I would like to add ajax to the remove product button at the woocommerce cart page, for removing each product individually. I came up with the code below, which i inserted in my theme's functions.php, ...
0
votes
0answers
14 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
10 views

WooCommerce as a food ordering system? [closed]

I am trying to make a restaurant a ordering system, where as a customer you start adding the first item into the basket, and popup comes up saying which kind of menu or buffet you want (2 meals menu, ...
0
votes
0answers
17 views

Wordpress form fields filling with garbage data [closed]

This is the second time I've seen this behavior. It's happening inside a page where the woocommerce shortcode is the only thing present. The form fields are randomly populated with garbage data that ...
-2
votes
0answers
8 views

Change order of product categories in woocommerce [closed]

I have a site with woocommerce. A programmer built it and in a product category page there is a list of the main categories sorted in UL > LI hirarchy. I am trying to change the order of the ...
0
votes
0answers
11 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
19 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
20 views

woo product , wp_insert_post() never displays on the front end. What gives? [closed]

I've tried so many different ways of handling this, but every way results in the same exact result. All I'm trying to do is programatically generate woo products. As the most basic of implementations ...
-1
votes
1answer
28 views

Add Attribute to Woocommerce programatically, doesn't display front end [closed]

I am trying to add an attribute to some products in Woocommerce. I am able to do so, using the following : wp_set_object_terms( $product_id, 'Test Model #', 'pa_model' , false); Cool. The data ...
-1
votes
1answer
35 views

Template for product-category page [closed]

Where can I find the template that is used for the product-category page? The general template is "page-full.php". But where is the template for the single-product page (single.php?) and the ...
-1
votes
1answer
29 views

Send checkout page custom field in order email

i have added option box custom field in checkout page using bellow snippet hook's and function.when user order the product that option box custom field value displaying in backed admin panel but i am ...
-2
votes
1answer
63 views

WooCommerce Only OnSale Products Loop Snippet [closed]

I am trying to pick only OnSale products in a WooCommerce loop through a snippet. For that I tried to use below code but this one is picking all products. I only want to pick OnSale products in loop. ...
0
votes
1answer
68 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 ...
-4
votes
1answer
45 views

WooCommerce Total # orders [closed]

total number (#) of orders, maybe create the function in functions.php and call it in a shortcode anywhere in page. I just don't want to update it.
-4
votes
0answers
16 views

Get WooCommerce Total Products # [duplicate]

How can I just get the total number (#) of products, maybe create the function in functions.php and call it in a shortcode anywhere in page. I just don't want to update it.
0
votes
1answer
44 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
1answer
74 views

Woocommerce sidebar not loading in theme

I've installed Woocommerce into a theme however as it wasn't configured for Woocommerce I'm running into a problem. Client wants a sidebar to show catagories so I'm trying to pull in Woocommerce ...
0
votes
0answers
50 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
10 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 ...
-1
votes
1answer
77 views

Change sidebar product category text color (woocommerce) [closed]

I have woocommerce shop set up here: http://museiam.ca/shop/ I am trying to change the color of the category texts to black in the left sidebar, however I've been unsuccessful so far even trying ...
0
votes
0answers
39 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
1answer
61 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
votes
1answer
31 views

eCommerce solution doesn't want to display its shortcodes or any content where it's set to [closed]

I'm running the latest WordPress, WooCommerce; WC claims in its System Status that everything is okay. I tried disabling EVERY other plugin, changing themes, clearing my cache, having the permalink ...
0
votes
0answers
32 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
1answer
105 views

How to override woocommerce.css?

I would like to override woocommerce.css in my child theme. This is what I tried in my child theme's functions.php but it does not seem to work: add_filter( 'woocommerce_enqueue_styles', ...
0
votes
0answers
45 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
37 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 ...
-1
votes
1answer
103 views

How to add metabox ONLY to specific WooCommerce product type [closed]

A little extra info: I have created a custom product type within WooCommerce. The add_meta_box function only accepts a 'post_type' argument. This means that I can get it on all products no problem, ...
0
votes
1answer
38 views

Product Images Low Quality After Updating From WP 3.5 to 4 [closed]

I recently updated my WP website from WP 3.5 to recent version 4 and now I am getting a lower quality of all product feature images. I am using woocommercee to generate an online shop and it was ...
0
votes
2answers
2k 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 ...
1
vote
0answers
410 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
votes
1answer
50 views

Issue On Listing Woocommerce Parent Tag List

I am having some issue on getting top level terms of product_cat Taxonomy of WooCommerce First of all I have a code which list all Terms in product_cat as: $terms = get_terms("product_cat"); if ( ...
0
votes
0answers
45 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
1answer
55 views

Custom Search Template for Custom Post Types

I know this is asked a million times, and I've found the solution. It seems fairly straight forward but it's not working for some reason. I wonder if it has something to do with the fact that I'm ...
0
votes
2answers
70 views

Hide a Menu Item on Login

I am using the following code to hide a menu item when a customer is not logged and show it when a customer is logged in. .hide-item-not-login{ display: none !important; } .logged-in ...
0
votes
0answers
60 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
2answers
86 views

Serializing User Role for update_user_meta

I've created a custom user role and am attempting to change the users role from CUSTOMER to ADVOCATE on purchase of a particular product (using WooCommerce). I'm really close but struggling to get the ...