OFF TOPIC. Questions *specific* for this e-commerce plugin have their own forum at https://wordpress.org/support/plugin/woocommerce.

learn more… | top users | synonyms

-1
votes
2answers
263 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 ...
2
votes
2answers
1k 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( '...
4
votes
2answers
480 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
514 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 ...
2
votes
2answers
1k 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
136 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
294 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
2answers
663 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
114 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 src="...
0
votes
1answer
55 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
569 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
108 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() { setcookie(...
0
votes
1answer
249 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?
1
vote
1answer
12k 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
121 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 ...
1
vote
1answer
694 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
378 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 - ...
-1
votes
1answer
330 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
924 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"; s:5:"value";...
0
votes
1answer
538 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 ...
-2
votes
2answers
75 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 = array("color","...
0
votes
1answer
64 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 ...
0
votes
1answer
747 views

Woocommerce change prices for a certain country [closed]

I want to change the prices (e.g for switzerland CH) and add an amount to all the prices.. I have this for my functions.php, but it does not work... add_action( 'woocommerce_change_price' ); ...
0
votes
1answer
139 views

Complex strcuture as CPT or taxonomy for use in woocommerce product variations [closed]

In woocommerce, I've got a bunch of products, which all have a certain material assigned. My current implementation of a material is a CPT (with about 20 fields (color, transparancy, reflection, ...
-1
votes
1answer
3k views

How to add a custom text for order confirmation email template woocommerce

Hi i would like to add a custom text in order confirmation email template . Currently i am not using woo commerce tax option, But i would like to mention my product has 25 % including vat in email ...
-1
votes
1answer
722 views

Generate payment URL in custom email [closed]

When a particular order status is triggered, a custom email is sent to the shopper. I would like to include a link in the email for them to pay for the order. From my current understanding, the ...
0
votes
1answer
730 views

How to display ACF taxonomy checkbox links on WooCommerce product category archive

I am using the Advanced Custom Fields plugin, and have several custom fields that appear on the WooCommerce product category edit screen (where you add/edit product categories), which then display the ...
-1
votes
1answer
792 views

add Additional class to woocommerce cart-contents link

I am working on a woocommerce based website. I have used the suggested code snippet found here to add a cart-contents link to my header. The code is as follows: In your functions.php <?php // ...
-2
votes
1answer
262 views

Woo-Commerce Send mail by code. [closed]

I am doing custom order is working fine but mail is not working so i am trying to use the default woo-commerce mailing functionality. i found the class from where woo-commerce send mail but when i am ...
0
votes
2answers
1k views

woocommerce with custom post type

I create new post type suppose "custom_type" and i want to use that post type with Woocommerce function. so Woocommerce will work with "product and custom_type". i searched everywhere and don't find ...
-1
votes
1answer
2k views

Display woocommerce product_cat child terms with thumbnails

I was wondering if someone could give me a hand. I would like to display the child categories of my woo commerce store categories along with the thumbnails I have set for them in my dashboard. I have ...
0
votes
1answer
24 views

Functions when woocommerce isn't installed

I'm working on a theme right now and I'm using some functions like is_shop() in the header if the woocommerce plugin is installed. However when the plugin isn't installed these functions aren't ...
0
votes
1answer
321 views

pagination in woocommerce order history page

Please help me to add pagination in my order history page. Pagination should work like WooCommerce products page. Here is my code: <?php $customer_orders = get_posts( apply_filters( '...
0
votes
1answer
346 views

Woocommerce hook on address field change [closed]

I need to add/update shipping cost to the cart widget based on address field entered/changed. Is there any Woocommerce hook which would let me update 'Local Delivery' value after address field is ...
1
vote
1answer
710 views

Issue adding text after short description on product pages Woocommerce [closed]

I am trying to add some text after the short description on woocommerce. I have come up with the following add action but when I use it, it replaces the existing short description text. Is there a ...
-1
votes
1answer
172 views

Show woocommerce products in author archive

I've added permissions to authors to add products in woocommerce. I would like to know if there is a way to display products by current user in archives. Is this possible?
0
votes
1answer
221 views

How can I allow access to two user accounts using one login?

I have spent the last two hours searching for this and I cannot find a solution to my problem. I have a WP site with WooCommerce running which allows to users to create their own store. My client ...
1
vote
1answer
540 views

Arranging Product Details on Shop Page

I am attempting to edit my Woocommerce site (locally) and rotate the product cards horizontally. For an example of what I'm trying to do, check out B&H Photo's layout. I'm using Foundation ...
-1
votes
1answer
112 views

WooCommerce - doesn't show product when using woocommerce.php [closed]

Strange situation - I installed WooCommerce, and by default the /shop, /cart, etc. pages work fine. However, the formatting is off, so I tried making a "woocommerce.php" template as directed. This ...
0
votes
3answers
17k views

Change template for single product page, Woocommerce

I know there is a posibility to change the structure/design of the product page by editing the file "single-product-php" - in a child-theme. The changes made of that file will affect all the product ...
-1
votes
1answer
345 views

Woocommerce Pre Orders view order link wrong [closed]

The link that the pre order module produces in My Account doesn't work. It has to display like this: /my-account/view-order/15977 but how it displays now is: /my-account/?order=15977. How can i change ...
1
vote
1answer
1k views

woocommerce - get_image_size() deprecated [closed]

Today I've updated my woocommerce plugin and get a fatal error on: $woocommerce->get_image_size( 'shop_catalog_image_width' ) I'm using it in a hook function to get the placeholder width: ...
-2
votes
1answer
372 views

Undefined variable: woocommerce_loop [closed]

Today I've updated my woocommerce plugin and get the following error on my website: Undefined variable: woocommerce_loop My loop looks like (a slight modification of the archive-product template ...
3
votes
2answers
5k 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 ...
0
votes
1answer
111 views

Run one-time script calling plugin functions

I want to add a product programmatically using a wordpress plugin but programmatically as entering it manually is a hassle. I have a little bit of programming experience. I found this: What is your ...
-3
votes
1answer
347 views

Woo commerce Single Product Sidebar [closed]

Im trying to move the product summary from a single product, into the woo commerce sidebar? Does anyone know how to go about this? Would be forever grateful!
0
votes
1answer
50 views

Woocommerce comments subscription [closed]

I want to ask you that I translated all my site's texts but I can not translate comments subscription option on product page. from which php file I can translate texts? Thank you in advance :) Here ...
1
vote
1answer
214 views

How to solve suspected memory issue in custom WordPress loop?

I have written a plugin that adds a "Where did you hear about us?" question to the WooCommerce checkout page and shows the results (as a simple horizontal bar chart) in a wp-admin page. The plugin ...
0
votes
1answer
383 views

WooCommerce print subcategory of product

I am using Wordpress with Woocommerce, I am on the detail page of the product content-product-single.php. I created several "sub" and I have to print ONLY subcategories associated with that product. ...
1
vote
0answers
112 views

Overriding a Child Theme Override with a Plugin (WooCommerce) [closed]

I have an interesting issue with a WooCommerce build I'm working. Here's how it's set up: WooCommerce Install Set up a WooCommerce folder in our theme folder to make customizations (so as to not ...