Price not formatted in notification emails
-
Hi, I’ve noticed the prices in
Your bid
column in notifications e-mails are not corrently formatted. For example in customer bid notification e-mail,Your bid
columns has the value of:75
I’ve checked the
place-bid.php
email template, the value is stored in$auction_bid_value
variable, which is defined with the correctwc_price()
format, but then immediately reset without the formatting like this (lines 26-27):$auction_bid_value = wc_price($product->get_uwa_current_bid()); $auction_bid_value = $product->get_uwa_current_bid();
You probably needed that price unformatted for possible calculations if the auction is ‘silent‘ or ‘proxy‘, but for simple auctions the price stays unformatted in emails.
I know I can just override those templates, but I would like to eliminate needless issues if those templates get updated in the future.
Could you please look at this? Thank you very much.
- The topic ‘Price not formatted in notification emails’ is closed to new replies.