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

learn more… | top users | synonyms

-1
votes
0answers
30 views

Filtering products without plugins (woocommerce)

I'm looking to filter my products by colour or pattern, i think i can setup the menu however i'm not sure where to begin with the code. If there's any documentation you could point me to that'd be ...
0
votes
1answer
153 views

Options to develop a non-ecommerce catalog?

I'm looking to incorporate a product catalog into a client's website. I need the product display functionality in terms of being able to display a grid of categories with thumbnails, then browse each ...
0
votes
0answers
29 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 = ...
1
vote
1answer
25 views

How to get term name with link for specific ids

I am trying to display custom category on archive page. $term_id_array= array(1,2,4,50); how to retrieve the term name with link for these term_ids My custom post_type name = product taxonomy = ...
0
votes
0answers
48 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
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
18 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 ...
-1
votes
1answer
36 views

WooCommerce - Checkout suddenly stops working [closed]

From one day to the next apparently the checkout, specifically selecting a payment option stopped working. I can't figure out why, but when selecting an option, the page keeps jQuery reloading. this ...
-1
votes
1answer
29 views

Setup WooCommerce to properly handle inventory with variable product?

I am setting up a store that has sells 2 part products (we sell motorcycle mounts and cradles for your gadget) we have 20 different products and 20 different accessories that can be combined 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
2answers
30 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
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
58 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 ...
2
votes
2answers
166 views

Display Category Thumbnail and links in Woo commerce

I would like to display my categories with a thumbnail in woocommerce. I am able to list the child terms as a link but i would like to add additional content. I have added the code below in which I ...
1
vote
1answer
44 views

Filter available WooCommerce payment gateways by role [closed]

I know WooCommerce is not well-received here, because it's not directly related to WordPress, but as support on the WooCommerce forums is just that terrible and people here having proven they're ...
1
vote
1answer
1k 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
1answer
30 views

WooCommerce “Checkout Now” button [closed]

Okay so I want to add an additional button to the single product page that says "Checkout Now". This checkout now button should go directly to the checkout page, not the cart page (like the regular ...
0
votes
2answers
493 views

WooCommerce: Can't change / style button colors

I'm trying to change the colors of my buttons from a default reddish color to something more pink. So I go to my child theme and insert the following code: .woocommerce a.button.alt, ...
1
vote
0answers
53 views

Woocommerce REST API - Add custom class [closed]

I want to create a customized class (let's called it WC_API_My_Product) for WooCommerce API that extends WC_API_Resource, basically it's a copy of WC_API_Products with additional features, so I can ...
0
votes
1answer
40 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
63 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
1answer
62 views

WooCommerce - Create Products Programatically [closed]

I'm writing a plugin that will automatically import products via JSON API. I need to programatically create/update products. I did a research and it seems everyone is using wp_insert_post() and ...
0
votes
0answers
96 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
28 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 ...
-1
votes
2answers
104 views

WooCommerce - Show orders for a specific product ? [closed]

How to view orders for a specific product in WooCommerce using sku or product name? What I have so far is that, but it does not work.. Does anyone know how to do? <?php $args = array( ...
-1
votes
1answer
27 views

I want to filter my products with attributes [closed]

I have ebook store, where all the books are listed, everything is done.. In products, publisher and author added as a custom attributes. Now I want to filter the products on the basis of ...
-1
votes
2answers
50 views

How can I get the ID for an archive page? [closed]

I have woocommerce page for my products that is treated like an archive page. I need to get the ID for the archive page but obviously if I use $post->ID or get_the_id(), etc. I get the id for the ...
-1
votes
1answer
28 views

WooCommerce not enqueuing its scripts [closed]

I am trying to create a new theme in WordPress powered by WooCommerce. The problem is that WooCommerce for some reason doesn't enqueue its scripts, so the "Add to cart" Ajax feature and sorting drop ...
-1
votes
1answer
101 views

Remove word “Category” from WooCommerce product page [closed]

I'm trying to remove the word Category from the product page. As far as I know the code that displays that is woocommerce_template_single_meta located into content-single-product.php file: ...
-1
votes
1answer
52 views

Custom order of taxonomy using wp_get_object_terms and woocommerce_term_meta

I have a custom taxonomy associated with the WooCommerce product post type, which I have added to the woocommerce_sortable_taxonomies array so they can be ordered in the WordPress admin. The plugin ...
0
votes
1answer
63 views

WooCommerce set specific currency on site shop

The challenge is the following: How to set the output price converted in local currency in frontend site shop? We need to have base price in USD in admin area, but on the site shop we need to use ...
1
vote
1answer
55 views

Feed format for woocommerce [closed]

I am using woocommerece for my website. I get product feed from different suppliers in excel format with different information in different columns (no consistency in product attributes such as price, ...
0
votes
0answers
177 views

Woocommerce checkout update totals with datepicker

I've added a new date field on the checkout page. I'd like to create a date based delivery fee calculation. The date field has the 'update_totals_on_change' class. When changing this manually the ...
0
votes
0answers
38 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
36 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. ...
4
votes
2answers
190 views

What is the different between an attachment in wp_posts and an attachment in wp_postmeta?

After the Woocommerce dummy products are imported, I notice that in the database, there are different records in different tables but point to THE SAME photo attachment. The question is why? What are ...
-1
votes
1answer
36 views

What is table `wp_woocommerce_termmeta` for? [closed]

I'm using Woocommerce plugin for my Wordpress website. After added, I notice that there is a table called wp_woocommerce_termmeta. What is this table storing? p.s. Is there any relationship ...
0
votes
1answer
69 views

How to check if a plugin (WooCommerce) is active?

I am trying to modify the head and foot of my WooCommerce pages. I have an if statement that is supposed to target the shop and cart of WooCommerce, but it isn't. If I modify the PHP after the if ...
0
votes
1answer
84 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
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
46 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
78 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
1answer
34 views

Using Cookie Data For WP_Query Loop

I'm trying to retrieve data set in a cookie and use this to run a query. I've set the cookie in functions.php like so; add_action( 'init', 'resultsCookie' ); function resultsCookie() { ...
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 ...
0
votes
1answer
52 views

How do I change text of a product template in a WooCommerce theme? [closed]

I want to change 'Out of stock' to 'Sold' on my product pages when a product is gone. What template should I look at to change this?
0
votes
0answers
75 views

Woocommerce quantity buttons not working

I am trying to increment products on my wordpress site, but it doesn't work no matter what I tried. I searched for diffrent solutions, but nothing so far. I am currently using WordPress 4.2.2 and ...
0
votes
0answers
28 views

Display attribute if attribute before is selected

After many hours of research I have decided that I need some help. I am currently building an online jewellery store using Wordpress and Woo commerce. I am attempting to create three sets of ...