Table Options
How to add pricing unit in the Woo Product Table
Learn how to set up weight-based product pricing in WooCommerce, specifically for items sold by the kilogram. To achieve this, you'll work with filter hooks. Certain products, like nut butter, water, brine, vinegar, syrups, fruit or vegetable juice, and many more, are typically priced based on their weight. We'll modify the pricing section using filter hooks. Simply insert this code into your theme or child theme's functions.php file.
Change the prices for the shop page and single product page.



