Currency switcher for WP Pizza prices?

WPPizza – A Restaurant Plugin for WordPress Support General Support Currency switcher for WP Pizza prices?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #55981
    jonjj
    Participant

      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
      Jon

      #56017
      Olly
      Admin & Mod

        there 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)

        #56018
        Olly
        Admin & Mod

          there’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)

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Currency switcher for WP Pizza prices?’ is closed to new replies.