Support » Plugin: Amazon Link » country flags via shortcodes

  • Hi!

    quick question: is it possible to output the country flag via shortcode?

    Example:

    “Buy now on Amazon U.S.”
    “Buy now on Amazon Spain”

    with each of these links displaying the respective country flag?

    I’m thinking this should be possible because the country flags are already part of the plugin and automatically displayed when enabling the multinational link feature.

    It would be great if the flags could be used with greater flexibility without the multinational link feature.

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    Yes this is possible, just need to create a new Template e.g.

    Template Name: US Link
    Template Description: Example Link & Flag Template
    Template Type: Product
    The Template:Buy now on %LINK_OPEN%us# Amazon U.S. <img style="height:10px" src="%FLAG%us#">%LINK_CLOSE%

    Then in the shortcode:

    [amazon asin=0123456789&template=US Link]

    Paul

    • This reply was modified 4 months, 2 weeks ago by  paulstuttard.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.