Tagged Questions

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

learn more… | top users | synonyms

-2
votes
0answers
12 views

Woocommerce shipping on chrome

I have a website: fluterscooter.com I'm using woocommerce right now. My settings are that I have a flat rate of $30 for international purchases & $12 for US. For some reason, on chrome, when a ...
-3
votes
0answers
14 views

Woocoommerce stop user from purchasing products from differerent categories

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 [on hold]

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

WordPress Woocommerce - Product Type [on hold]

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?

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

Creating custom woocommerce's custom shortcode for login form [on hold]

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

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

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

WooCommerce Checkout Customisation - Tax [closed]

I have the following Tax Settings in latest version of WooCommerce: Display prices during cart/checkout: Including Display tax totals: As a single total However, if the user is BOTH logged in ...
-1
votes
0answers
14 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 ...
0
votes
1answer
14 views

Wordpress Menu With Image

I want to generate a menu stucture like below <li collection="diapering" class="drop1 dropli "><a redirect="/collections/diaper_alpha-asc" style="color: rgb(255, 255, ...
-3
votes
0answers
17 views

Woocommerce - Hiding Add to Card button for specified products [on hold]

I would love to know how i can make a checkbox inside admin panel, which will disable/enable add to cart button for WooCommerce product. I couldn't find any plugins or hooks which will help me. I ...
-1
votes
0answers
11 views

How does meta_key _product_attributes work [on hold]

I am looking at some dummy data for WooCommerce. There is an xml-file. In there are items with all their attribes but its kind of complicated for me to understand how this is working. There is this ...
-5
votes
0answers
17 views

how can i do two custom WooCommerce product page [on hold]

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

Woocommerce product page, list SKU and Stock either single or all variations [closed]

I want to be able to show on product details page either a single product or variation product stock level. SKU = Stock SKU = Stock ... iv managed to show stock quantity but this dose no work with ...
-1
votes
0answers
15 views

Woocommerce - free shipping to the continental US for a specific product? [closed]

I've built an ecommerce site for a client over the summer using Woocommerce, but I would still consider myself a beginner when it comes to PHP and the backend of WordPress. I'm trying to accomplish ...
-3
votes
0answers
53 views

Woocommerce: “Please choose product options…” appearing even when all options were checked [closed]

I have a variable product. On my single product page, when I pick the 2 options and click on "add to cart" I get "Please choose product options…" even when all options were selected. I just can't add ...
0
votes
0answers
10 views

Blank page when saving edits on post

Whenever I try to edit a product or a post on WordPress I get a blank page and the edits are not saved. I have been checking Google alot, but there it all seemed to be caused by a plug-in. I only have ...
0
votes
1answer
54 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
32 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
36 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
25 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
38 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
70 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
66 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
34 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
768 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
271 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
39 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
36 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
45 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
61 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
51 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
51 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
47 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
25 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
175 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
76 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
47 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
67 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 ...
-2
votes
1answer
228 views

woocommerce display product category on checkout page [closed]

I am trying to get product category on check out page for showing a special message for shipping for specific category. For this I have created action filter on woocommerce_available_shipping_methods ...
0
votes
1answer
44 views

Blank search results on custom search

I have a custom search with the following line of html in the form: <input type="hidden" name="post_type" value="product" /> This correctly appends: &post_type=product to the search query ...
1
vote
0answers
287 views

Pretty product permalinks with Woocommerce shop/category/subcategory/product-name [closed]

I'm having a tough time figuring out how to do pretty permalinks for Woocommerce with this kind of structure "www.page.com/shop/category/subcategory/product-name" The best I could come up with was ...
0
votes
0answers
54 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' => '', ...