Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
9 views

How to add custom checkbox fields on woo-commerce product and products categories?

How to add custom checkbox fields on woo-commerce product and products categories, if checked in checkbox This product can't show without admin.
-1
votes
0answers
17 views

How to display WooCommerce endpoint on custom page

Good day, I'm working on a project and i'd like to know if it is possible to display woocommerce endpoints on a custom page (i.e. custom user dashboard page). I saw a user dashboard PSD design online ...
0
votes
0answers
9 views

Product Chooser for wordpress/woocommerce [on hold]

I am wondering if anyone knows of a product chooser plugin or lightweight product chooser service for wordpress/woocommerce? There are product chooser services out there like https://zuvoo.com/...
0
votes
0answers
5 views

Show product prettyphoto directly from category page?

I am using WP 4.9.8 and Woocommerce 3.4.6. On a Page I show the products of a category with the shortcode [product_category category="my-categ-name"] So I get all the images of the products, which ...
-1
votes
0answers
5 views

When importing HTML emails to send through 'follow ups' plugin through woo-commerce

I have a premium plug-in that I use to send out emails through woocommerce, called 'Follow-Ups'. When I design the email in Mail Chimp or other similar 3rd party websites and then copy the html code ...
0
votes
1answer
21 views

How can i style “echo apply_filters”

With WordPress I have years of experience but with PHP I do not have much experience. I want the available product colors on the shop page and that's working! :) But i want a text before the ...
0
votes
0answers
6 views

How to display a Toolset Types field group on WooCommerce product's page via functions.php?

I have created a single line field on the field group with the Toolset Types plugin. I have assigned it to Post types --> Product because I want to have the ability to enter and display some custom ...
0
votes
1answer
19 views

WooCommerce: How can I add a certain product to the cart and redirect to the cart from a non-shop page?

I want to promote a certain product on a non-shop page. I want to have a Buy now link on that page, which, when clicked, would add the product to the cart and automatically reload the page and ...
0
votes
0answers
4 views

Filter variation by attributes on product page

Is it possible to achieve something similar to this: https://buy.garmin.com/en-US/US/p/552982/pn/010-01688-20 in WooCommerce? If I initially set the product to a color variation which doesn't have a "...
0
votes
0answers
14 views

WooCommerce: Adding a setup fee to certain products

As the questions implies I want to add a setup-fee for certain products. The additional fee should be displayed in the product mask, cart and checkout. How is it possible to get that functionality?
0
votes
0answers
9 views

WooCommerce - Next day delivery cut off time

I'm having trouble finding a plugin that will allow me to apply restrictions on the time of day 24 hr delivery can be applied at checkout. The official WooCommerce "Conditional Shipping and Payments" ...
0
votes
0answers
8 views

Check if a category has a parent category in WooCommerce REST API

I am trying to list the categories of my Woocommerce in an "iOS App" using json. My problem comes from not knowing if a category has subcategories or not (The parameter "Parent" is not useful for me) ...
0
votes
1answer
15 views

How to create woocommerce products list

I want to display all my products (around 1600 products currently) in a list/table with just Title,Description/Meta-Description,Price and Buy/Add to cart rows
-2
votes
0answers
23 views

WOO-COMMERCE Capture payment from credit cards [on hold]

I am creating online payment plugin for woo-commerce, i have successfully added my payment method to checkout page, but i am not getting how to capture or check the payment status. For example from ...
0
votes
0answers
7 views

Update shipping rate cost based on Postcode dropdown choice

So this one is a mind bogle.... I hope someone has the time for this one. Similar questions have been asked, but none have the solution to this, so please :-) Im using custom scripts to change ...
0
votes
1answer
18 views

How can I add a button the the WooCommerce MyAccount page?

I'm trying to add a button at the end of my WooCommerce MyAccount navigation: I need this after "Konto-Details". I'll name the button "Konto löschen". So far so good. This is what I've tried: ...
-1
votes
0answers
15 views

WooCommerce Subscription

Say I have 10 products and want to offer them in a subscription. Product 1 ($10) - 1st Month Product 2 ($15) - 2nd Month Product 3 ($20) - 3rd Month . . . . So on... As you can see, the price is ...
0
votes
0answers
14 views

Need help with “WooCommerce Dynamic Pricing” discount

Need help with "WooCommerce Dynamic Pricing" I need to disable the discount function for a user role. I got this from the developer but it's not helping add_action( 'init', 'remove_on_sale_trigger' );...
0
votes
0answers
8 views

WooCommerce hook after checkout before order creation

I am trying to implement the gateway of my ERP system. It is an <iframe>. I have found many articles on how to create a Direct form but none on how to integrate an iframe. Can someone please ...
0
votes
0answers
9 views

Hot to edit WooCOmmerce dashboard?

I'm trying to edit the WooCommerce MyAccount dashboard. When you take a look at my function you can see that I first tried to remove the whole content because I want to set my own one: add_action('...
0
votes
0answers
19 views

Search products with attributes

I want to allow the user to search at a specific product attribute along with the regular search of woocommerce. I added a tax_query using pre_get_posts The generated query is SELECT ...
2
votes
1answer
22 views

Updating WooCommerce variable product stock issue

Soo.. I've created CRON script, that each 1 minute retrieves an actual stock systems data, converts it for Wordpress/Woocommerce database table and updates stock. On database side everything looks ...
0
votes
0answers
7 views

Redirect to a different url when clicking Checkout (trying to buy) instead of the original /checkout/ page?

Is it possible to redirect to a different url when clicking Checkout (trying to buy) instead of the original /checkout/ page? If yes, how?
0
votes
0answers
11 views

change woocommerce register/login customer flow [closed]

Woocommerce needs either a username, an email address and a password for registration, by default. however, I want the registration and login page only to have the phone number and password field, ...
0
votes
0answers
12 views

(Follow-up) Hide Price on one specific Woocommerce Single Product page

Since I am new here and not allowed to comment I have a question for ClemC regarding this older thread. My question is: How do I apply this awesome function to more than one product? I hope ClemC ...
0
votes
0answers
12 views

Woocommerce booking checkout customization

I'm trying to develop a tourism website using the Woocommerce and Woocommerce Booking plugin. In the checkout page, I want to get personal details (for example name, id number, phone number, etc) ...
0
votes
0answers
8 views

How to remove sidebar from all categories that only contain sub-categories and don't contain products?

I want to write a function that removes the sidebar from any product category page in woocommerce that doesn't contain products. So only remove the sidebar from those categories whose display type is ...
0
votes
0answers
10 views

Displaying badges in a page based on user role

I'm using WooCommerce and need to display multiple badges at My Account page (mytheme>woocommerce>myaccount>dashboard.php) based on user's roles secondary roles. I have this code, but doesn't work: &...
0
votes
0answers
9 views

Showing customers that bought a product in woocommerce product page

I'm using Woocommerce and "Woocommerce Booking" plugins to design a tourism website; I want to show the customers details (including name, avatar, etc.) that reserved a tour (product) before in the ...
0
votes
0answers
14 views

Need help displaying custom labels before prices in Woocommerce

Good Afternoon StackExchange; I am needing a bit of help on figuring how the proper php code to achieve the label set up on various products throughout my woocommerce store. Basically what I am ...
0
votes
0answers
14 views

Lost connection to MySQL server during query?

I am very curious to know if anyone has seen this error, know what is generating this errors, and if so, how to remove it? It is happening while trying to query a woo commerce product in the serch ...
0
votes
0answers
22 views

WooCommerce's wc_setcookie() sets the expiration to “1969-12-31T23:59:59.000Z”

Good day! I'm trying to make a cookie that stores viewed products and I'm using WooCommerce's wc_setcookie() function and expires after 7 days. This is the code I use: wc_setcookie( '...
0
votes
0answers
18 views

Woocommerce woocommerce_order_tracking

Hello friends I am working on order tracking in woocommerce. I am using WooCommerce shortcode [woocommerce_order_tracking] on my account page. Here when I enter order id and email it goes to ...
0
votes
1answer
17 views

Extend Woocommerce Widget Class - WC_Widget_Product_Categories

I'm trying to extend the woocommerce class used to create the product categories widget in my own plugin which adds a new taxonomy for woo commerce products called "departments". When I extend ...
0
votes
0answers
10 views

Discount code changes free shipping

I have my website set up that over £25 is free shipping and when one puts in a discount code then it jumps back to paid shipping, no matter how much the order is for. Please help me be able to stop ...
0
votes
1answer
14 views

Custom product page's style for printing

I m using woocommerce for product listing on site but i changed default single product page's layout with elementor. Now when i'm trying to print it changes layout on preview. Product's image size ...
0
votes
0answers
25 views

WooCommerce Wrong Tax Calculation

I got a problem with tax calculation when i create woocommerce products. For example i create a product with some variations, i set the regular price but when it goes to Cart page it automatically ...
0
votes
0answers
13 views

woocommerce : send a custom_field text into a customer order note

oke what i want to do is i want to fill in this custom admin field that i have setup called trackingnummer meta = _aftership_tracking_number That is setup like this : To display this as a private ...
0
votes
0answers
15 views

Change output on WooCommerce Order Details page based on User Role

I'm trying to add the User Role from an order as a CSS class to the Order Details page in WooCommerce in order to remove the PAID text for a specific user role. I've been able to do something similar ...
0
votes
0answers
6 views

How do I add the slide-in information such as delivery and returns info on woocommerce produce page

hopefully the title makes sense What is this called Is there a plugin/ some simple code I can use to replicate it on my website? See example: https://www.chillysbottles.com/product/bottle/500ml/...
0
votes
0answers
10 views

Can i show a custom button on WooCommerce Product if checkbox is added in product tabs?

I am trying to add an extra button only on some products. I've made a checkbox on the product type Simple Product - https://prnt.sc/l4wxkt . If this checkbox is checked then it should show an extra ...
1
vote
0answers
13 views

WooCommerce: Add New Report Tab

I have a project for a school. The seats in the class are sold as variable WooCommerce products and student info is captured at checkout. I want to put a new tab in the Reports section of ...
0
votes
0answers
9 views

Would it be possible to create a “add to bundle” on a given product type?

I've looked for a solution where you can add a checkbox for your simple product and then it would show an extra button called "add to bundle" or something. It should then add the product to the bundle ...
0
votes
0answers
5 views

Share WooCommerce Memberships across multiple domains

A few nonprofit companies I work for would like to be able to share users between their domains. When someone makes a donation on one nonprofit, it applies a WooCommerce Membership. They would like it ...
0
votes
1answer
20 views

Related products based on keywords

Currently im using “Converio” wordpress theme. Related products is working by default on the basis of same category/sub-category, I want related products to be displayed based on “keyword”,”title”,”...
0
votes
0answers
5 views

WooCommerce After filtering in shop page, transfer filter to single product

I want to implement a way to make "live filtering". Lets say i filter on "shoes", i filter on color: red and size: L When i then click on a product it needs to take these filters and put them in the ...
0
votes
1answer
22 views

Omit specific product categories from WooCommerce shortcode

I assumed this would be simple, but I'm having a hard time sorting it out. All I want to do is use the standard [product_categories] shortcode from WooCommerce to show all of my product categories ...
0
votes
0answers
7 views

Selling some product individually

I am working on a woocommerce website. The website will sell some high-value products like motorcycles, cellphones on EMI. We want some products like these to be the only product in the order. How can ...
0
votes
0answers
12 views

Woocomerce Save Price

I have a problem to save sale price , here my code // Display Fields add_action('woocommerce_product_options_general_product_data', 'woo_add_custom_general_fields'); // Save Fields add_action('...
-1
votes
0answers
7 views

Add a Column for Displaying Attribute Value in woocommerce out of stick report

Is there a way to add a column in woocommerce out of stock report that lists certain attribute terms for that product. The idea is to display the product brand as a column in the out of stock report....