restricting the formatting to cart and checkout

function addPriceSuffix($format, $currency_pos) { switch ( $currency_pos ) { case 'left' : $currency = get_woocommerce_currency(); $format = '%1$s%2$s ' . $currency; break; } return $format; } function addPriceSuffixAction() { add_action('woocommerce_price_format', 'addPriceSuffix', 1, 2); } add_action('woocommerce_before_cart', 'addPriceSuffixAction'); add_action('woocommerce_review_order_before_order_total', 'addPriceSuffixAction');
Recent Posts
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt