Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'woocommerce_get_price_html', 'loc_woo_add_product_unit_after_prie' );
- add_filter( 'woocommerce_cart_item_price', 'loc_woo_add_product_unit_after_prie' );
- function loc_woo_add_product_unit_after_prie( $price ) {
- $price .= ' per litre';
- return $price;
- }
Add Comment
Please, Sign In to add comment