WooCommerce: How to display fields from the "Product Add-ons" extension?

I'm using the [Product Add-ons][1] extension for WooCommerce, which allows custom fields for products. This automatically displays on the single product template. By some trial and error with the...

Customize WooCommerce Checkout Fields and Columns

I'm using WPExplorer's Total theme: You should be able to click this sentence to open the Total Theme from WPExplorer. You'll need to add something to your cart and get to the checkout page for...

Wordpress backend too slow, even after wiping out all expired transient and sessions in database

It seems like my issue has not been here before, so I have created a new thread. We have an e-commerce website and currently the back end is pretty slow. I did delete all the expired transient and...

Add custom columns to admin products list in WooCommerce 3

Is it possible to add a column "delivery time" to the Woocommerce admin product list? I know there are some additional columns (thumb, price, product_cat etc) to choose at "Screen Options" but...

Add VAT (Not TAX) to WooCommerce items, cart, checkout, Invoices/printouts/PDF's

I have tried various plugins such as 'WooCommerce EU VAT Compliance', WooCommerce EU VAT Appliance', 'WooCoomerce Taxomony' and many other additional plugins not linked to WooCommerce. I have also...

Meta box with a wysiwyg field displayed on Woocommerce single product custom tabs

Need to display a custom fields in the related products on a single product page. I would like to add a meta box to the Add New Product fields and display results on custom tab on single product ...

Missing Add to Cart button on custom product

Code: <?php // --- Product Type: re_subscription -- Custom Fields: type (mls / nomls), duration in days --- // --- Actions & Filters --- add_filter('product_type_selector',...

Displaying custom field of product variations within Woocommerce orders and emails

I successfully added a custom field for product variations within the backend of WooCommerce and was able to display its value. I'd like to contain this value within order and emails as...

Insert a custom total row on cart and checkout totals in Woocommerce

In woocommerce, I have successfully managed to add a custom field to a Woocommerce simple product and display that value on the additional info tab on a product page. Now I am totally lost with...

Conditional custom checkout fields based on product category in Woocommerce

I am using woocommerce for a site for a nonprofit that sells tickets to classes and tickets to events. When someone is signing up for a class then need to list their emergency contact information...

Move the variation description to the Woocommerce product variable description

What I am trying: Show the Variation Description of the Child of a Variable Product on single product page in the product tab description area. In WooCommerce and variable products the parent has...

Remove order notes checkout field for virtual products only in Woocommerce

In Woocommerce, I use the following code that disable all checkout fields except the Order Notes and the Additional Information title. If the cart contains only virtual products, no fields except...

WP All Import IF Statement

I'm using WPAI to import some info into WooCommerce Product Description. What i want to do is look at the dimensions size and only place it in the description if the field contains data and ignore...

Choosing a date and time after choosing the WooCommerce delivery method

I need to make a selection of the time and date of delivery of the products, after choosing the method of delivery and place these fields in woocommerce_after_shipping_rate. As I see it. The...

Display product optional cost in Woocommerce in order details

Based on "https://stackoverflow.com/questions/53500320/add-a-checkbox-on-single-product-pages-that-adds-an-additional-cost-in-woocommer/53505463#53505463" answer code, I am trying to add an "extra...

Add a delivery time based on custom fields calculations for WooCommerce Flat rate Shipping method

I use code that displays a custom field on the product edit page. This text box shows the cooking time on the single product page. Here is the code: // Backend: Display additional product...

Additional price field in variations for WooCommerce variable products

I've managed to get this together for simple products but I need to work with variable products as well. This creates a custom product field on the product page (WC backend) and the text is saved...

Get product's max quantity from product and cart page in WooCommerce

I used the following to change minimum product quantity for cart page: add_filter( 'woocommerce_quantity_input_args', 'custom_cart_min_qty', 10, 2 ); function custom_cart_min_qty( $args, $product...

Woocommerce Removing required fields from "Additional Information"

I have a free product in Woocommerce, and used this tutorial from Skyverge to simplify the checkout process: https://www.skyverge.com/blog/how-to-simplify-free-woocommerce-checkout/ The problem...

How to change text box to textarea?

I have a WordPress site with WooCommerce. In a specific product page, there's a custom field to capture additional text from the buyer. The field is a textbox, which needs to be a textarea for...

WooCommerce: How to check if meta key exists for a specific product

Situation: modifying the product template to display some HTML only IF a specific product meta exists / is set / greater-than-zero (it's an additional price type, it will either be empty or a...

How To Hide/Remove Additional Checkout Fields for Specific Products On Checkout Page?

I have installed WooCommerce Checkout & Account Field Editor plugin on my WordPress website for adding additional fields to my checkout page. The purpose of installing this plugin is to add three...

How to hide woocommerce custom tab when the content is empty

I just add 4 custom tabs in woocommerce single product page. Now I want to hide these tabs if there is no content. Here is my custom tabs code. How can I do that? Automatically description tab is...

WooCommerce 4.0 custom checkout & ACF field value on email, admin order, and thank you page

I'm having a hard time printing my custom field value to the email notifications, order admin and thank you page. I've browsed through StackOverflow, tried every single answer I found but...

Change WooCommerce cart item price based on a custom field and quantity threshold

I'm trying to change the cart item price from a product variations by a bulk price defined as a product custom field (product custom meta data), when the cart item quantity reaches a specific...

Display all the variants with custom data in WooCommerce additional informations tab in a single table row

I have one product with multiple variants, and I'd like to display all the variants (not attributes) with their relative SKU in the additional informations tab, like so: Based on Display in...

Add and display multiple Custom Fields for Variations in WooCommerce

Based on https://stackoverflow.com/questions/66167372/enhanced-woocommerce-custom-fields-for-variations/66170378#66170378 answer code for adding a custom field to a product variation which...

Add custom uploaded image file to WooCommerce product table and invoice PDF

Hello community, I want to show an image uploaded via custom-field on the product table and finally on the PDF invoice … I use this solution:...

Elementor Pro/Rehub theme: How use "featured section" widget?

I am completely new to WordPress and Elementor (pro). I am a software developer (mainly C/C++ plus some HTML5/CSS3) trying to teach myself something new while looking for a job. So I am trying to...

Add extra image upload field for product variations in WooCommerce backend product edit pages

I need help adding custom image fields to my Product Variations, same as the default field but with a different name and value or custom meta so I can differentiate default and custom image. I...