E-mail bug displaying the price of goods in the newsletter
-
Greetings!
Letters began to arrive with texts like “286,60 ₴ Оригінальна ціна: 286,60 ₴.250,70 ₴Поточна ціна: 250,70 ₴.шт”.
Excessive information in the price text is misleading and looks like a bug.
I think this needs to be fixed.
It should look something like this “286,60 ₴ 250,70 ₴ шт”.
Thank you, best regards!
Attachments:
You must be
logged in to view attached files.
Hello,
Copy this file to the child theme wp-content/themes/woodmart/woocommerce/emails/back-in-stock.php
and make changes per your needs.
If you have any additional questions, let me know.
Kind Regards
Hello!
I don’t see in the lines of the file how it is possible to display the necessary parameters for the price in the variables contained in it:
<?php esc_html_e( ‘Price’, ‘woodmart’ ); ?>
<?php echo wp_kses( $product->get_price_html(), true ); ?>
If possible, please give an example.
Hello,
Please replace this <?php echo wp_kses( $product->get_price_html(), true ); ?>
line to this one <?php echo wp_kses( wc_price( wc_get_price_to_display( $product ) ), true ); ?>
In the next update in will be fixed.
Kind Regards
Hello,
Your row code helped, thanks!
The topic is closed.
“In the next update in will be fixed.” – It will be great.
Hello,
You are welcome! If you do not mind, can you please leave a 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot.
Have a good day!
Kind Regards
The topic ‘E-mail bug displaying the price of goods in the newsletter’ is closed to new replies.