WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Currency switcher for WP Pizza prices?
- AuthorPosts
- 14 May, 2021 at 10:49 pm #55981
Hi Olly and the rest of the community,
Is there a clever way of adding a currency switcher to WP pizza where you can switch between currencies on the fly?
For example I would like to be able to show the product prices from DKK in Euro.
Optimally it would be a dropdown in the navigation where you can choose which currency you would like to see the prices in.
Thanks for any advice or help
Cheers
Jon17 May, 2021 at 3:17 pm #56017there is nothing inbuilt, but i suppose you could use the currency filter
https://docs.wp-pizza.com/developers/?section=currency
to change the currency in conjunction with some dropdown/select and xchange rate setting
alongside filtering the (wppizza)post meta values for the wppizza post types posts (what’s what in the meta values should be reasonably obvious from the array keys)17 May, 2021 at 3:19 pm #56018there’s also more here
https://docs.wp-pizza.com/developers/?section=change-prices-of-menu-items-depending-on-day-of-week
and here
https://docs.wp-pizza.com/developers/?section=prices-output-in-loop(all depends on how complicated you want to make this thing and indeed if you want to actually allow to order in a different currency too)
- AuthorPosts
- The topic ‘Currency switcher for WP Pizza prices?’ is closed to new replies.