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

learn more… | top users | synonyms

0
votes
0answers
54 views

Add custom Woocommerce product fields without adding variations [closed]

Situation: - I have Woocommerce products with multiple attribute types e.g. size, color, pattern. There are only 4 sizes, and the price depends on the size. Problem: - However I have hundreds of ...
0
votes
3answers
39 views

How to allow customers to input a text as a product variation *and* charge per character?

I'm looking for a way in Woocommerce to add a product variation for customers that will allow them to put in their name/custom word(s) up to a certain character limit and the additional price will be ...
0
votes
1answer
357 views

How to solve the issue with WooCommerce 2.4.4 [closed]

After update woocommerce to its latest version 2.4.4 my variation product show an error like this. I am using the Bazar theme. sorry, no products matched your selection. please choose a different ...
0
votes
0answers
10 views

Woocommerce: Create a seperate view for a specific custom product type

I have two custom products. What I want is to display them in to different archives. So the standard shop main archive should display only one product type (or category if that helps) and then I want ...
0
votes
0answers
14 views

Rich snippets not working for Woocommerce variable products [closed]

I was testing my woocommerce site for rich snippets, and it occurs there is an issue with variable products. Woocommerce puts something like this in Price field "79zł-139zł" (zł is my currency). This ...
0
votes
0answers
34 views

Creating a new Woocommerce Product Type I get Class 'WC_Product' not found in [closed]

'm creating a new Woocommerce Product Type. From what I 've read in the docs you need to register your product type because justing adding it with a filter the product type shows up as simple. I ...
0
votes
0answers
28 views

Remove Action from plugin class

I am trying to remove the action 'render_product_message' from the woocommerce points and rewards plugin. I tried many different ways that I found from other questions. woocommerce points and rewards ...
0
votes
0answers
12 views

Enable free shipping on a product if certain variation is selected in WooCommerce [on hold]

Im looking for a way to make a product have free shipping if a certain variation is selected. I sell an item in small, medium, large. The Medium and Large should use fedex but small is free. If ...
0
votes
0answers
6 views

Making the search results more relevant

I have setup up my WooCommerce shop so that I have all my SKU's in the tags of the product, so that when a user searches for a SKU they find what they're looking for (unbelievably this isn't standard ...
0
votes
1answer
70 views

woocommerce - How to query Popular Products and Featured products in same loop [on hold]

I'm trying to query for best selling products (popular) and featured products using one loop. And, potentially being able to add an identifier to each product –as a class– to be able to filter them. ...
0
votes
2answers
76 views

woocommerce custom field not updating user meta [on hold]

I have a custom field created on my woocommerce checkout page that saves to db and shows on the order page. I want it to also update in the user profile as it won't change very often (if ever). The ...
0
votes
1answer
34 views

woocommerce_register_post action not firing

I've followed the instructions for adding extra fields to the WooCommerce registration form, and the fields show up and values are added to the database successfully. However, I can't validate the ...
0
votes
0answers
43 views

Show specific meta data on cart with WC_Cart

I want to show more details on the cart in a Woocommerce page. The code in the current format is this one: // Meta data echo WC()->cart->get_item_data( $cart_item ); When I print it as an ...
0
votes
1answer
24 views

can we import csv (woocommerce products) to MySql

can we import csv (woocommerce products) to wordpress database..? For example let just say I've an woocommerce products list in a csv file. Now I want to store all the products details in my database. ...
0
votes
1answer
77 views

Programmatically create product category and add thumbnail in woocommerce

I'm trying to create product-(sub)categories on a WordPress installation. The (sub)categories part is no problem at all, but I can't seem to find a way to add the thumbnail image to the specific ...
0
votes
0answers
32 views

Woocommerce - Display Custom Attribute with Permalink

I've the latest woocommerce 2.4.2 installed. I would like to display custom attribute with permalink and I've been searching high and low for this snippet. The closest I've found is ...
0
votes
1answer
9 views

Woocommerce hidding pages

I am trying to build a multi-vendor affiliate website. I wanted to know how to recognise a user type (f.e. vendor, customer ) while user login's so I can hide some pages from them for example Vendor ...
0
votes
0answers
32 views

WooCommerce prefill values checkout shipping address fields

I have a dropdown list to choose prefered pickup location on the cart page. I have Custom post type with the pickup location details and need to pre-populate the fields of the shipping address fields ...
0
votes
1answer
51 views

woocommerce blank page after clicking add to cart [closed]

I am building a custom plugin based on woocommerce. As a part of this development I have added few custom fields to single product page at woocommerce_before_add_to_cart_button hook. These fields will ...
0
votes
1answer
42 views

How to change the price of a Variable Product? [on hold]

I'm developing a plugin by which an admin can change the price of products through the plugin's main screen. For "simple" products I'm using the following code: update_post_meta( $post_id, '_price', ...
0
votes
1answer
50 views

woocommerce single product page hook not working

I have written a function which will display a date picker and a select box. I want this function output to be displayed on woocommerce single product page. So I assigned my function to a hook ...
0
votes
0answers
27 views

Sort orders by custom order meta - Woocommerce Orders admin page

I'm trying to sort my Woocommerce orders by _payment_method on the 'Orders' admin screen (edit.php?post_type=shop_order). So far I am able to sort by 'Pay_by_phone', but it sorts everytime the page ...
0
votes
0answers
33 views

Woocommerce category Custom Field

Hi I have created with CTP custom fields plugin a custom field to appear only in taxonomy -product category- this field, appear in the backend when I edit the category. Field is intended to be there ...
0
votes
1answer
39 views

Get custom category image from menu

I've got myself into a little pickle, and while I'm so close, my understanding of PHP is letting me down. I want to display the image associated with each category in the menu - working from the ...
0
votes
0answers
25 views

“Success” Message When Item is Added to Cart – Woo Commerce

I'd like woocommerce to display a success message at the top of the screen when an item is added to the cart. Here's the site I'm working on: http://iowstore.wpengine.com. When you add a product on ...
0
votes
0answers
29 views

Get email from shipping address in woocommerce

I'm developing a website where we sell digital products. For requirement when the buyer ask to send the license to another email the buyer uses shipping address to enter the extra email. so I added ...
0
votes
0answers
21 views

Edit the style of the Subcategories in product arhive

I want to display the sub-categories one after one. Not one under one. How to do this? Like: Cars - Jobs - House Not Like: Cars Jobs House Here is the photo, but I want it like this.
0
votes
0answers
33 views

How to remove custom post type slug & taxonomy-base from URL in WordPress

I am using woo-commerce I have bellow code to remove the post type "product" slug from url and it works fine. Product url = http://example.com/product/product-name/ to Product url = ...
0
votes
0answers
51 views

how to use custom form field values in email - woocommerce

I am using following code to add a custom field to woo-commerce registration form. After registration is done. I am saving generated activation key to wp_users table. By using that custom field value. ...
0
votes
0answers
61 views

Category priority for multiple categories in WooCommerce

I'm running WooCommerce and I am trying to figure out a way to define which category ID (or slug) should be used for the automatic permalink generation. I have searched low and high for a solution, ...
0
votes
1answer
23 views

Create a regular post for every WooCommerce order

I'm trying to make a post, which will list product meta(every order will have only one product) and on that post I want to make visible product variations. So the link will be generated and sent to ...
0
votes
0answers
21 views

Front-end submission woo commerce

So I'm building a multi vendor Woocommerce website. However I have encountered a problem. I use a front-end submission form to post products on the website by the vendors. This all goes well with ...
0
votes
0answers
17 views

WordPress page condition on plugin activate

I'm trying to load diff. template on plugin state like on woocommerce pages and bbPress pages if ( class_exists('woocommerce') || class_exists('bbPress')){ if ( is_account_page() || ...
0
votes
0answers
9 views

Modifying WooCommerce Admin Menu causes Error in Media Upload

I'm trying to modify the WP-Admin menu for ease of use. I'm using standard code-based modifications utilizing the global $menu variable. global $menu; if( class_exists( 'woocommerce' ) ){ /* This ...
0
votes
2answers
31 views

How to get related category/categories in WordPress archive page

I am using WooCommerce in WordPress. I have few categories of products like these, Example: Product 1 Category (//parent) -- Category 1 -- Category 2 -- Category 3 -- Category 4 Product 2 Category ...
0
votes
2answers
60 views

How to order WP_Query to group results?

I have a list of products in WooCommerce that have titles like so: Please note: The "groups" are just for myself, they are not categories etc. All products are the same type of product, just two ...
0
votes
1answer
47 views

How to bypass Woocommerce checkout validation from the plugin? [closed]

I need to bypass any validation process in Woocommerce checkout page when Process Order button clicked. What filter or action hooks should I use?
0
votes
0answers
112 views

Display featured products through custom loop in woocommerce on template page

I was wondering if someone could help me out. I would like to display 6 featured products from my woocommerce store on my home-page.php template. After some researched I found that the right way to do ...
0
votes
0answers
10 views

Show Comments on Shop Orders Admin page

Any ideas on how I can show comments on shop_orders ? I've commented out WC's //add_action( 'add_meta_boxes', array( $this, 'remove_meta_boxes' ), 10 ); which now shows "discussion" in the screen ...
0
votes
1answer
32 views

Structure of postmeta meta_value for woocommerce product download

So I'm working on a monster script to port all of our existing stuff from Joomla/Virtuemart to Wordpress/WooCommerce. So far I've got just about everything done with moving over our product ...
0
votes
0answers
64 views

wp woocommerce forcing https [duplicate]

When woocommerce plugin is enabled, it brakes the website and also wp-admin because all request is in https, but if turned off site will back to normal. I tried to delete the WC options in wp_option ...
0
votes
0answers
40 views

WooCommerce Products Not Displaying in Grid

I'm using WooCommerce with a WordPress theme that hasn't been written to be compatible with the plugin. For the most part I have the CSS working so that the shop looks okay, but I have run into ...
0
votes
0answers
37 views

Order number as file name wordpress/woocommerce

I'm using wordpress with woocommerce and I installed one plugin for file uploads, which put into checkout page, when the order was placed, that means I already get the order number. Then upload field ...
0
votes
0answers
11 views

WooCommerce server log hundreds of remove_item entries

Pretty simple, just looking for some insight into if this is a problem with the site or if it's just some script nailing the server. There are literally hundreds of lines like this in the server log. ...
0
votes
1answer
95 views

Remove price from Woocommerce variable product dropdown menu

I'm trying to hidden or remove the price on each variable products inside dropdown menu on a single product page. Please see image attached below. I believe here is the codes that needs to be ...
0
votes
1answer
47 views

Woocommerce product listing design issues

In my design the every product is listing like <div class="col-md-3 special-products-grid text-center"> <a class="brand-name" href="single-page.html"><img ...
0
votes
0answers
12 views

Product ur wrong when install WPML translation, Woo and use custom query wordpress

I use this query to get post from WooEcommerce product list: $data_sale = new WP_Query(array( 'posts_per_page' => -1, 'orderby' => 'date', 'order' => ...
0
votes
1answer
39 views

Use WP_Query Data In Cookie

I've collected an array and set-up a cookie via functions.php, both work fine. However, I really need to post the data to the function and set the cookie as this information will vary per customer. ...
0
votes
1answer
88 views

How to override the title tag for woocommerce endpoints?

I am trying to set the title tag for Woocommerce pages that have endpoints. I am using Yoast SEO and so far have created this: function woocommerce_endpoint_titles( $title ) { $sep = ' | '; ...
0
votes
0answers
21 views

Saving Query Data & Using On Subsequent Pages

I have a PHP form that uses GET to send vars to a URL and return specific products in WooCommerce. Within the loop, I already have a piece of code to collect each product ID result. What I now need ...