- This topic has 5 replies, 3 voices, and was last updated 5 years, 1 month ago by
Support Team.
- AuthorPosts
- April 16, 2018 at 8:44 am #5998
esmeraldaesk
ParticipantHello!
Due to legislation in Germany our page needs to display the prices as “starting from xx €” (here for example http://urlaubgeorgien.de/itinerary/weintour/). Because for 6 people the price per person is lower (the lowest) as compared to an individual trip (most expensive). I was thinking to maybe solve this thru using Javascript, but this exceeds my knowledge a bit. Maybe you can help me out? Or give me a tip?Cheers! 🙂
April 17, 2018 at 3:29 am #6006Support Team
KeymasterHello @esmeraldaesk,
To change the formatting of the price you have to activate the child theme.
You can activate the child theme manually or simply using the plugin given below:
https://wordpress.org/plugins/wp-child-theme-generator/
After activating the child theme, in you child themes functions.php file paste below given code.
https://gist.github.com/Steeru/0e2e0bf39ea56951e603e170b24bb26c
Hope this helps.
Best Regards!!
April 17, 2018 at 4:41 pm #6041hello_k
ParticipantThank you esmeraldaesk and support! The above solution works for me.
For those of us with other currency formats, how can we do the above but with the currency symbol in front of the amount?
eg: “Starting from R—” or “Starting from $—”It exceeds my knowledge too :/
April 18, 2018 at 5:29 am #6046Support Team
KeymasterHello @hello_k,
To display the currency symbol in front of the price then add below-given code in your child theme’s functions.php file replacing the one that is provided above.
https://gist.github.com/Steeru/950ccf68cf6f32b8e66af2687d7f1625
Hope this helps.
If you have any issue further, please let us know.
Thank you.
Best Regards!!
April 18, 2018 at 6:14 am #6054hello_k
ParticipantWorks perfectly – thank you!
April 18, 2018 at 6:17 am #6055Support Team
KeymasterHello @hello_k,
Glad we could help you.
Any further issues are always welcome.
We would really appreciate if you could help us by rating our plugin by following the link given below:
https://wordpress.org/support/plugin/wp-travel/reviews/
Thank you.
Best Regards!!
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.