- This topic has 1 reply, 2 voices, and was last updated 3 years, 5 months ago by
wensolutions.
Viewing 2 posts - 1 through 2 (of 2 total)
- AuthorPosts
- September 4, 2019 at 9:28 am #19471
Flukkini
ParticipantHi there, there’s an anomaly:
the word “from” before “price” appears in two places where it is not supposed to:1) *total price of traveller cart* as once it is there price is FINAL.
You can see the anomaly in this image:
https://www.dropbox.com/s/je0rc46ugsm3wfr/1.jpeg?dl=02) *total price of check out* as once it is there price is definitely FINAL.
You can see the anomaly in this image:
https://www.dropbox.com/s/34f6f5y5hovkm4m/2.jpeg?dl=0Can you fix it, please?
Thank you and best regards.September 4, 2019 at 12:10 pm #19473wensolutions
KeymasterHello,
To resolve the issue please replace the code as mentioned in your child themes functions.php file
Code to remove: Find this code and remove:function wp_travel_customize_sale_price_display( $s, $c, $d ) { return sprintf( esc_html__('From %1s %2s', 'wp-travel' ), $c , $d ); } add_filter( 'wp_travel_itinerary_sale_price', 'wp_travel_customize_sale_price_display', 99, 3 );
Replace above code with below given code:
function wp_travel_customize_sale_price_display( $s, $c, $d ) { if ( is_front_page() ) { return sprintf( esc_html__('From %1s %2s', 'wp-travel' ), $c , $d ); } return $s; } add_filter( 'wp_travel_itinerary_sale_price', 'wp_travel_customize_sale_price_display', 99, 3 );
This should resolve the issue.
Thank you.
- AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘WP Travel’ is closed to new topics and replies.