Change WooCommerce Price to be by Weight

WP Beaches ~
You can change the WooCommerce price to be by weight by appending some text after the actual price such as ‘per kg’, this can be done by manipulating 3 filters that display the price in the shop/product page, cart and checkout pages;
woocommerce_get_price_html
woocommerce_cart_item_price
woocommerce_checkout_cart_item_quantity
If all items were to be classified as ‘per kg‘ you could use the
Leave a Reply