Category "woocommerce"

Get orders by date and status woocommerce

I need get a list of orders in woocommerce passing start date, final date and status. I tryed use some techniques like described by Mike Jolley, and I mixed wi

Custom hidden field on WooCommerce checkout not saving to user meta issue

I cannot figure out what i am missing here. I am creating a hidden field on the checkout page, that contains a value after a customer's choice. This part is wor

Display the default discounted price and percentage on Woocommerce products

I am trying to display the percentage discount of a product on Woocommerce. The solution originally provided (linked below) works, however the discount percenta

Edit product hook WooCommerce

On my product template, I execute this action : <?php /** * woocommerce_single_product_summary hook. * * @hooked woocommerce_template_single

Unable to send a Base 64 image to Woocommerce /product API with JS

I am actually trying to make a 3D product configurator with verge 3D and have to create new WooCommerce products for every specific product configuration. Every

Elementor + Woocommerce Checkout Page is saving customer info in the checkout forms. How do I fix this?

I have updated all of my Wordpress plugins and I'm using the Hello Elementor theme as recommended. In Chrome all of the information is saved in the forms, and i

Add a text next to stock quantity if it is less than 10 in Woocommerce single product

I found this posted as a comment on another thread but I don't know what I'm supposed to do with it: if($product->get_stock_quantity() <10){echo 'Limit

Wordpress WebToffee alternatives

I am planning to use WordPress WebToffee plugin to setup my online WooCommerce site. The plugin however only supports CSV files. I can easily convert all of my

How to create a search for a WP_User_Query in a custom page?

I tried to create a search on a custom page that contains a list of users, but I can't make it work. I created a custom page template to mount my page, this pag

How to add a custom field to all Woocommerce attribute terms using add_action

On the Woocommerce Product Attributes page, I have the following working for one Woocommerce attribute (called myattribute). The following adds the custom field

Add custom field to product inventory tab and display value only on WooCommerce admin order edit page

I have this code added to functions.php and I would like the contents of my custom field to show on the orders page of WooCommerce backend. Specifically each pr

Remove product downloads section in woocommerce email notifications

I would like to remove the download section from the email template that woocommerce will send after my buyer has placed an order. It doesn’t make sense

Product Images don't show (Woocommerce)

My Product images appear, but when I click to enter the product page, the images are hidden and they appear only when I click. Some products show on other brows

WooCommerce edit error message on checkout page

I see WooCommerce gives an error message (You must accept our Terms & Conditions.), if someone not checked the "terms" check box (in the checkout page). H

How to add a heading in between checkout fields of WooCommerce

I am customizing the WooCommerce checkout page fields. I want to add a heading (text) in between the fields. I have reordered the fields like this add_filter('w

Woocommerce Search Result showing post result not product result

I am using by default product search of woocommerce but search result is showing result like post NOT like product. my search get query is like mydomainname/?s=

Cant seem to get the Pagination to work on my WooCommerce REST API application?

What I got so far: [ 'wp_api' => true, 'version' => 'wc/v3', 'query_string_auth' => true //Force Basic Auth

Remove "estimated for {country}" text after tax amount in Woocommerce checkout page

I set up a 19% standard tax amount in my Woocommerce Online-Shop. Unfortunatley - now there is a text "estimated for Germany" behind the (includes 20,12 €.

WooCommerce - Pre-select variation based on filtering

I would like the variation on variable product to be automatically selected from the drop-down if the user enters from a filter results page. For example if my

Show only featured products in Woocommerce shop page

I want to display in default shop page from WooCommerce only featured products, nothing more... It's there a solution to display in WooCommerce shop template on