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

learn more… | top users | synonyms

-3
votes
1answer
11 views

How to get Woocommerce Product Catagory thumbnails [on hold]

H Everyone, I just developing a wordpress woocommerce website. i need to get product category thumbnails in my home page for a slider. This is my code, <ul class="allinone_carousel_list"> ...
-3
votes
0answers
14 views

Woocommerce: Add to cart redirect to checkout [on hold]

When user click on add to cart , it must be redirect to checkout page. I have used this code snippet in functions.php file add_filter ('add_to_cart_redirect', 'redirect_to_checkout'); function ...
-2
votes
0answers
8 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
29 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
8 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
vote
1answer
773 views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
-1
votes
0answers
9 views

Woocommerce create_category hook not working for product categories? [closed]

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
8 views

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

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
37 views

Woocommerce cannot see products in wp-admin [closed]

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
2answers
598 views

SQL - Pull products of particular category from a remote WordPress woocommerce db

I connected to the db and successfully pulled products data. Now I want to to display products from specific category. The store is using woocommerce. The landing page is in different location so I ...
0
votes
0answers
9 views

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

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 [closed]

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
39 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
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 ...
0
votes
2answers
599 views

Use get_term_children to get the sub category of a parent category for the current post

In my WooCommerce theme I've created a root category: 'Brands' then for each product I've added it's brand as a sub category to the 'Brands' parent category. On the product page I want to display the ...
0
votes
0answers
15 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
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 ...
0
votes
0answers
13 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
70 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
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
30 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
38 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
66 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. ...
-4
votes
1answer
48 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
45 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
76 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
51 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
83 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
40 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
64 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
111 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
3answers
759 views

Wordpress Comment Box on woocommerce product page [closed]

can we activate same comment widget on woo-commerce product page which WordPress gives on post or pages. actually i want other users should be able to comment on others comment which is not allowed in ...
2
votes
1answer
5k views

How to add product in woocommerce with php code [closed]

I want to add products with PHP code like below: $post_information = array( 'post_title' => 'new item shop', 'post_content' => 'this is new item shop', 'post_type' => 'post', ...
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
38 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
104 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 ...
1
vote
0answers
422 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
65 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 ...
-1
votes
1answer
52 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
46 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
56 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
3answers
2k views

WooCommerce: Translation lost on AJAX call in Checkout page [closed]

I'm using WooCommerce for a site that I'm currently working on. And I'm creating it for a language other than English. I do the translations by means of the .po file. The issue that I'm encountering ...