Link icons in the top of the screen to my plugin

This topic has 4 replies, 2 voices, and was last updated 9 years, 5 months ago ago by Eva Kemp

  • Avatar: andre@nuhouse.ie
    Andre
    Participant
    June 19, 2015 at 12:11

    Hello i am trying to link my currency converter plugin to the icons in the top of the screen, can you advise the best way to do this?

    The Plugin vendor said it is entirely possible by: What you will have to do is add an argument to that link, so that it tells the Currency Switcher to activate a specific currency. The link would look like this: https://www.marygrant.com/shop/?aelia_cs_currency=USD (for US Dollars).

    The only thing you will have to do is determine the current page URL, so that you can simply append the argument dynamically and reload the same page with a new currency. This means that:
    – When the customer is on https://www.marygrant.com/, the links will point to https://www.marygrant.com/?aelia_cs_currency=USD.
    – When she will be on https://www.marygrant.com/product/asymetrical-dress-16/, the links will point to https://www.marygrant.com/product/asymetrical-dress-16/?aelia_cs_currency=USD.

    Can you please advise the best way to do this?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    June 19, 2015 at 16:31

    Hello,

    As I see currency is changed when clicking the proper button in the menu section.
    Please clarify what exactly you’re trying to achieve.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: andre@nuhouse.ie
    Andre
    Participant
    June 19, 2015 at 17:35

    Thanks Eva i had to put in the default plugin buttons to test but i would love to introduce the fancy ones that came with the theme if possible. Is the above possible & if so do you know what files i would need to edit to add the linkage?

    Avatar: Eva
    Eva Kemp
    Support staff
    June 19, 2015 at 19:24

    Hello,

    Sorry, but our demo icons was used only to show compatibility of the theme with WPML plugin and multi-currency https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/ .

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.