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

learn more… | top users | synonyms

0
votes
0answers
9 views

is that possible to add quantity filed in woocommerce [on hold]

guys trying so long add quantity category page and home page but not success yet. add bellow code in function. it working category page. no problem. but it not added in homage recent product.. ...
-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
15 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 [closed]

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

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

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
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
12 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
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 ...
0
votes
0answers
16 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
14 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
31 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
42 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. ...
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 ...
-4
votes
1answer
50 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.
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
77 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
87 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
42 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
68 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
112 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
47 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
40 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
105 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
423 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
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
57 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
72 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
63 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
88 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 ...
0
votes
1answer
32 views

Add a field to the taxonomy editor?

I would like to add an additional image field to WooCommerce Product Taxonomy Admin page as part of my theme. It works fine by modifying the existing class within the plugin, but it will be replaced ...
0
votes
1answer
68 views

Hide cart when empty [closed]

Could someone help me with this syntax: At the moment I have a simple link to my shopping cart like this: <?php if ( is_woocommerce_activated() && isset( ...
0
votes
0answers
69 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
31 views

woocommerce-how can i get all products by their groups! [closed]

i have a wordpress site that uses woocommerce as an online shop plugin. what is want is listing all products in my woocommerce site grouped by their categories, how can i do this? i want the list ...
0
votes
1answer
294 views

How to check if woocommerce is activated in theme

I'm creating a theme with woocommerce which has the following: <ul> <li> <?php if ( is_user_logged_in() ) { ?> <a href="<?php echo ...
-1
votes
2answers
88 views

Woocommerce product image [closed]

when I upload in woocommerce image it uploads different sizes: For category Single Thumb and keeps original file which is big... how can I auto delete this original file ?
5
votes
1answer
58 views

Wordpress Multisite: Adding actions to only one site

I have Wordpress Multisite installed with WooCommerce network activated. I want to add an action to a hook in ONE of the sites that has WooCommerce installed, instead of all of them. For example, I ...
1
vote
0answers
89 views

SSL Certificate and Dedicated IP address with Woocommerce WordPress site [closed]

I have wooCommerce WordPress site (in develop phase), when i searched to have a good hosting company they advice me to go with VPS solution not shard solution because in VPS i can have multiple ( SSL ...