Problem with Tax information in mails
-
Hy,
There is an issue with the price tax in the mail the admin and the customer receive.
To fix it, just modify files :
- SubscriberConfirmationEmail.php (Stock Manager Email Subscriber Confirmation)
- line 33 :
- $is_prices_including_tax != “yes” => $is_prices_including_tax != “no”
- line 33 :
- AdminEmail.php
- line 34 :
- $is_prices_including_tax != “yes” => $is_prices_including_tax != “no”
- line 34 :
There is HTML in the admin email :
- AdminEmail.php
- line 33 :
- echo esc_html( wp_kses_post( wc_price( wc_get_price_to_display( $product ) ) ) );
change to :
echo wp_kses_post( wc_price( wc_get_price_to_display( $product ) ) );
- echo esc_html( wp_kses_post( wc_price( wc_get_price_to_display( $product ) ) ) );
- line 33 :
I also translated the plugin in French.
Nicolas
- SubscriberConfirmationEmail.php (Stock Manager Email Subscriber Confirmation)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.