Home › Forums › Themes Support › Claue › Currrency Plugin Only For Displaying
- This topic has 4 replies, 2 voices, and was last updated 5 years, 1 month ago by Floow.
-
AuthorPosts
-
-
September 17, 2019 at 10:15 pm #33600
Hi Harry,
I want to implement a currency switcher that will change automatically depending on the viewers location AND will charge at the always in USD.
So 1. Do you think there is a quick way to modify your provided plugin in a way that it will not charge in the currencie the viewer selected and only displays the price on the shop in their currency? (And charge in USD obviously)
Or 2. I installed https://wordpress.org/plugins/woocommerce-currency-switcher/ and they have the chance to implement a currency dropdown via php code.
<?php echo do_shortcode(‘[woocs show_flags=1 txt_type=”desc” style=3]’); ?>
I want it at the exact same spot where your own currency plugin actually is. Can I modify this layout 4 somehow that it will display the WOOCS currency switcher at the same spot?
Thanks!
PS: I just found this thread – it seems that the final result was that he purchased WOOCS and you implemented it on the same spot as your own currency plugin. Maybe that will do in my case too: http://support.janstudio.net/forums/topic/automatic-currency-conversion/page/3/
Attachments:
You must be logged in to view attached files. -
September 17, 2019 at 11:35 pm #33602
Hi Florian.
Please copy file layout-4.php from claue > views > header to claue-child > views > header and replace code you marked in screenshot from line 28 to line 32
with new code
<?php echo do_shortcode('[woocs show_flags=1 txt_type="desc" style=3]'); ?>
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
September 18, 2019 at 5:23 pm #33618
Great!
Thank you very much. Worked. So far I did this:
<?php echo do_shortcode(‘[woocs style=”1″ show_flags=1 head_bg=”#00000014″ head_txt_color=”#000″ head_close_bg=”black” head_close_color=”white”]’); ?>
With additional CSS of
.woocs-style-1-dropdown {
max-width:200px;
}It works fine, but how do I get it on mobile? It seems that I have to insert it into another field as well. Thank you!
-
September 18, 2019 at 8:01 pm #33623
Hi Florian.
On mobile, please replace code in header-4.php in claue-child line 115 to 119
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
September 19, 2019 at 7:53 pm #33652
Great, thank you so much!
-
-
AuthorPosts
You must be logged in to reply to this topic.