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

learn more… | top users | synonyms

0
votes
0answers
4 views

WooCommerce - Remove Cart Item via Ajax

I have looked for any information regarding removing the WooCommerce cart items via ajax and there seems to be not much information on how to do it. This article mentions a method but I wasn't sure ...
0
votes
0answers
7 views

How to use WooCommerce Duplicate Product Class in functions.php [on hold]

I am trying to use http://docs.woothemes.com/wc-apidocs/source-class-WC_Admin_Duplicate_Product.html#15-235 in functions.php but it does not work. $wcx = new WC_Admin_Duplicate_Product; $product = ...
-4
votes
0answers
10 views

WooCommerce purchase buttons disappear on the Mobile Version of the site [on hold]

I have a WooCommerce cart on a site and recently added the WPMobile plugin. In the mobile version, the product pages allow you to choose an option, but no purchase button appears once you do. If I ...
-1
votes
0answers
15 views

Woocommerce registration - add country field

I've been adding custom fields to my Woocommerce registration page which is fine. I now need to validate the postcode. To do this I need the registrant's country which I have omitted up to this point. ...
-3
votes
0answers
8 views

Woocommerce Endpoints on my-account page [on hold]

I'm currently using woocommerce fro e-commerce. I want billing address, contact details and password reset to edit on account page. Need help.
-1
votes
0answers
6 views

Plugin for creating offer on 2 products in Woocommerce [on hold]

Is it possible to do a offer, if the client is on one of these 2 sites: http://powercube.dk/shop/powercube-extended-dobbelt-usb/ http://powercube.dk/shop/powercube-rejseadapter/ The offer is when ...
-3
votes
0answers
19 views

Customising Woo commerce the best sellers widget [on hold]

I'm currently trying to customise the best sellers widget by creating a copy of the widget and creating a new function, but I'm stumped on the mysql. I'm using sum on order items and grouping by ...
-3
votes
0answers
14 views

WooCommerce - Validate Total Quantity of a Grouped Product [on hold]

I have a grouped product set up in WooCommerce and I need some validation to make sure that the total quantity of all of the selected product options in the group is equal to a specific number when ...
-2
votes
0answers
15 views

Woo commerce taxonomy multiple category types [on hold]

I would like to have multiple types of category rather than duplicate variants within child categories. Types of categories are, for example: Brand Type Class New/preowned All products will belong ...
0
votes
0answers
26 views

Manipulate a <p> element via add_filter / function.php

I would like to add a class to the following <p> tag: /** * Add Checkbox to checkout form */ function AddCheckboxToCheckoutPage() { $checked = get_option($this->GrOptionDbPrefix . ...
-2
votes
0answers
13 views

Woocommerce - Add post_tag to products or match product pos_ tag [on hold]

I need to have post_tag to display on woocomrece products so I can match post with them etc. Is there away of doing this. Even replace product-_tag with gobal post_tags
-2
votes
0answers
11 views

Filtering item quantity in WooCommerce using 'woocommerce_order_item_quantity' [on hold]

I'm working on a solution that allows a site owner to set the quantity per "Case" for a product variation. I'm using custom meta within the product variation and then attempting to use the ...
-1
votes
0answers
18 views

Display dynamic pricing in the Woocommerce wishlist (bulk vs special offer) [on hold]

I contacted Woocommerce support, they said they didn't support customisations and to try here. I've created a plugin to show dynamic pricing in the wishlist. My code creates a copy of the cart, ...
-4
votes
1answer
34 views

WooCommerce Total # orders [on hold]

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.
-3
votes
0answers
20 views

Woocomerce, record a query string parameter with an order [on hold]

here is what I am trying to do. A customer gets a URL to a woocomerce product page that includes a query string parameter groupid=13. When they checkout I need to record this groupid on the order, ...
-2
votes
0answers
9 views

Placing a product (woocommerce) from PAGE (..not from WS Dashboard) [on hold]

Hi, am currently working on a project (and got lost a bit) where the main part is, that specific users will be able to post products from a WS page, "Place product" page. I only know how to add ...
-3
votes
0answers
15 views

Woocoommerce stop user from purchasing products from differerent categories [on hold]

Does anyone know/have a solution that would allow user not to buy two product from different categories. So every time a product is added to cart I would need to check if a product is already in the ...
-3
votes
0answers
19 views

Add custom upload field in checkout page - Woocommerce [closed]

I would like to add a input field to upload a file during the checkout. How can I do this? Currently, I added this in function.php add_action( 'woocommerce_after_checkout_billing_form', ...
0
votes
1answer
29 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
14 views

what is hook for handle woocommerce my-account details? [on hold]

I need to add custom user fields for the customer account. The customers are allowed to changed the data at their account page. I am using the my-account template to create the custom field. I can ...
-2
votes
0answers
6 views

Creating custom woocommerce's custom shortcode for login form [closed]

Hi i am looking to create a custom shortcode for woocommerce's my account page that will only call in the login and registration form and want to implement that to ubermenu plugin for a drop down form ...
-2
votes
0answers
17 views

How to make the “Create account” checkbox of woocommerce checkout page marked as default? [on hold]

How could I make the "Create account" checkbox of woocommerce checkout page marked as default? I still will give the user the chance to not create the account by unticking it.
-1
votes
0answers
15 views

Woocommerce Product URL

MY product urls look something like this http://xyz.com/shop/human/925-ring The ring itself is in 3 categories, Human -> Jewellery (child of Human) -> Ring (child of Jewellery). I want my product ...
-5
votes
0answers
18 views

how can i do two custom WooCommerce product page [closed]

i am not so expart in WooCommerce. just new start WooCommerce. since two days i am trying something figure out how to make two column product details but i can not yet. say .. like <div ...
0
votes
1answer
57 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
36 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
43 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
27 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
41 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
30 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
28 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
74 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
32 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
28 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
72 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
35 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
1answer
991 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
316 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
41 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
39 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
47 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
62 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
52 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
70 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
29 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
53 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
49 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
30 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 ...