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

learn more… | top users | synonyms

2
votes
2answers
87 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
41 views

Default woocommerce placeholder image

So, here is the woocommerce setting that I have. I have three categories: A, B and C. From the backend, I gave category images to each categories. Now, let say I post a product in the category A ...
1
vote
1answer
249 views

Identify a Woocommerce page by Wordpress conditional tags

we have a website running on WPMU, and the main site is using Woo-commerce and the sub sites doesn't use that. I use conditional statement in my meta title with following code: <title> <?php ...
1
vote
1answer
304 views

WP_Query wooCommerce category

What is the favored way for searching for a certain category in wooCommerce? Or maybe only checking if it is existent already? My approach for this was: $searchCat = new ...
0
votes
1answer
46 views

How to search for categories instead of products in Woocommerce?

I have a webshop with over 30.000 products. I was wondering whether it was possible to, when you search to do so that it searches for categories, rather than products as I get a ton of products when I ...
1
vote
1answer
113 views

WooCommerce: Add content prior to or after checkout form

I'm trying to produce a message to appear prior to (or after) the checkout form on the checkout page (Example: https://susieoshandbags.com/shop/checkout/). So I did the following: add_action( ...
1
vote
1answer
128 views

Woocommerce hidden fields with meta keys and values. how?

Im trying to make a Frontend Publisher work with woocommerce, and need to set three hidden Meta Key fields with values. How do I go about doing that? The meta is: _manage_stock:yes _stock:1 ...
1
vote
1answer
117 views

Sharing woocommerce product data

I am needing two installs of WordPress and both are being used as an online shop. The problem i am having is that, I am having to update two sites with the same products and wanting to find a way to ...
1
vote
1answer
234 views

How to get Woocommerce order product info

I am trying to get all woocommerce orders and find info about the products in each order. I have seen many examples on here and elsewhere on the web and they all seem to say to do the same thing but ...
-1
votes
0answers
18 views

Can't update the shipping amount while checkout

I am trying to add shipping cost to the current order with a custom plugin code. I have write a plugin to display some radio buttons for delivery option and pickup option and embed one javascript file ...
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. ...
-1
votes
1answer
104 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 ...
-1
votes
1answer
79 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 ...
0
votes
1answer
91 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
65 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
33 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 ...
-1
votes
1answer
92 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 ...
-1
votes
1answer
51 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 ...
0
votes
2answers
422 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, ...
2
votes
1answer
720 views

Save Custom Fields for Variations Product

Currently I am using WooCommerce for WordPress and trying to add custom fields for Variations Product. After did some researches, I found some code and tried to modify it. This is my full code : ...
0
votes
0answers
15 views

Woocommerce conflict with new “submit_button”

I have replace the submitdiv meta box (publish box) with just one simple save button. All working fine with post/page and custom post type (plugins that i have install that create custom post type). ...
0
votes
0answers
11 views

WordPress Homepage - display set of posts from two categories and a set of products in date order

I'm in the planning process of a WordPress/Woocommerce site. The client wants to have the posts from two categories and her woocommerce products to show together on the home page in date order. This ...
0
votes
1answer
13 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
0answers
57 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
28 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
votes
1answer
24 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
43 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 ...
0
votes
1answer
112 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 ...
1
vote
1answer
74 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
67 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
votes
1answer
27 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
0answers
50 views

Calculate with custom checkout field in Woocommerce

I'd like to calculate the shipping fee based on a custom created checkout field. I'm using the update_totals_on_change class to recalculate the shipping fee when change this value. // Action to ...
0
votes
0answers
44 views

Custom post excerpt not translating in WooCommerce product page

I am trying to show the translation of an excerpt of custom post that is associated with a WooCommerce product. The excerpt always shows in default language but using the same code used to work for me ...
2
votes
1answer
8k views

Display All Products by Category with WooCommerce

With WooCommerce, I want to display all the categories in a store as headings, with all of their products listed below in an unordered list. Is this possible to do? I've seen a few things that'll let ...
0
votes
0answers
40 views

Pagination not working on archive page

i'm trying to add woo commerce support to my theme. I have copied the archive-product page under the woo commerce folder in my theme directory. But i can't get the pagination working. i'm sure i'm ...
-1
votes
1answer
146 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: ...
0
votes
3answers
286 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 ...
-2
votes
1answer
53 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 ...
0
votes
0answers
170 views

Woocommerce “Add to Cart” ajax

On the product category page, when someone clicks "Add to cart", woocomerce adds automatically "View cart" below this button through Ajax. I found that the script in /assets/js/frontend/add-to-cart.js ...
0
votes
0answers
51 views

Add a product custom field's value to custom tab

I would like to add some custom tabs to the product screen. The values of these custom tabs would be the values of the custom fields assigned to the product. I'm using the following plugin to add ...
0
votes
0answers
32 views

How can I create a simplified Product Entry meta box in WooCommerce

My client has hundreds of products to enter into their site. The WooCommerce product screen has so many entry fields but the client will only be using a few of these - maybe 5 total. I'd like to ...
0
votes
1answer
20 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
57 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
0answers
21 views

Woocommerce remove layered nav widget brackets

i use this code to remove brackets from woocommerce category widget. Is there any way to also remove brackets from layered nav widget? //* Remove parentheses from woocommerce categories function ...
0
votes
0answers
16 views

Mixing ads in with product listings in wooommerce

Thank you in advance for any help on this. I've been searching and I'm having trouble finding a solution. I'd like to add some jpg's in with my products that are listed on the category page. For ...
0
votes
0answers
45 views

WooTickets for Events Calendar Pro - Custom field for each ticket for CSV Export?

I'm using WooTickets and Events Calendar Pro for WooCommerce, and I wanted to add an extra column to the CSV report that gets exported by default. I've got that much achieved by adding the following ...
0
votes
0answers
44 views

WooTickets for Events Calendar Pro - Custom email field for each ticket?

I'm using Events Calendar Pro and WooTickets for WooCommerce, and I was interested in adding a custom field to the back-end of each ticket, but I can't find much useful information on that. My ...
0
votes
1answer
27 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 ...
0
votes
0answers
115 views

show/display/print list of sub-categories (of a specific parent category) assigned to products that have a specific other category

I have to find the products assigned to a specific category and after,just about those products, show the list of sub-categories of a specific parent-category here's a example scheme: product 1 - ...
1
vote
1answer
84 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 ...