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

learn more… | top users | synonyms

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
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
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 ...
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 ...
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 ...
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
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
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
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 ...
-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( ...
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 ...
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
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 ...
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
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
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
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 ...
0
votes
1answer
143 views

Woocommerce registration page [closed]

So...I just found out that the shortcodes for the login and registration pages are now removed from Woocommerce.... I know the forms are inside "My account" page, but I need a link in the menu to ...
0
votes
1answer
39 views

Woocommerce Theme Reviews / Comments

Ok so i'm creating a Wordpress theme and i'm at the point where i'm trying to get a list of the reviews but the default comments_template() HTML isn't how I need it. I don't have a /comments.php ...
0
votes
0answers
58 views

Calculate the total of 2 meta values and ORDERBY

I've configured products in WooCommerce to use a point system (either 0 or 1) using Advanced Custom Fields and would like to order the products by these values - there are 9 options in total per ...
0
votes
0answers
118 views

Wordpress / Woocommerce custom registration fields

I am learning php and I am creating simple registration plugin for wordpress and woocommerce. Everything works like a charm for wordpress but not for woocommerce. As you can see for woocommerce ...
0
votes
0answers
36 views

Grab Current URL & Add to Cart Woocommerce

I have been researching of a way to do this but have been unable to find an answer to my question. There are answers on there on how to grab the current URL etc but it is not the answer I was looking ...
1
vote
1answer
72 views

How to add a user profile page to frontend?

I am looking in using wordpress for ecommerce by using woocommerce, as a newbie i don't know how to set up a user profile page outside wordpress installation (so the clients don't see the back end ...
0
votes
1answer
60 views

WooCommerce comments_template Filter Not Firing

I have a template file that is being called via wp_ajax that returns data from a specific WooCommerce product. In the "tabs" section of the template file every tab is working fine: Description - ...
-3
votes
1answer
38 views

How to modify WooCommerce plugin

I have install WooCommerce plugin in my project to take order from customer but i want to modify this plugin to perform below task 1.take order from customer and submit the order to the nearest store ...
-1
votes
1answer
53 views

How can I edit the WooCommerce Mini DropDown Cart to read as follows

Currently, this code returns "Quantity x Price"... so e.g. 2 x £3.00 <?php echo apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s &times; ...
2
votes
3answers
71 views

Get all products with a custom attribute

I want do a custom query to get all products with an especific attribute ("demo" in my case) The query what i want returns from this: a:5:{s:4:"demo"; a:6:{s:4:"name"; s:4:"DEMO"; ...
0
votes
1answer
82 views

How to check if a product is purchased within the last 365 days before displaying something

I have a WP site using WooCommerce. Our products are made up of physical stock, a download and some links to pages on our site. I had set this up by placing the links to the specific product pages ...
-1
votes
2answers
40 views

Woocommerce linking variations

So I have this array (just taking an example, it's dynamically built up): $v_values = array( array("C1","C2"), array("F1","F2") ); $v_name = ...
0
votes
1answer
44 views

Which Wordpress version to use for improved plugin compatibility? [closed]

I am currently using WordPress 4.2.2 and Woocommerce 2.3.11 - I find that many plugins associated with Woocommerce have not yet been updated for whatever reason. In some cases a whole year has gone ...