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

    (@paulstuttard)

    Hi,

    Anything is possible! ??

    There is no way with the current plugin, but I can knock up an enhancement plugin that will do something along those lines.

    I could add an extra setting on the settings page for 'Extra Parameters' that is used to populate the keyword called %EXTRA_PARAMS%. Then the plugin automatically adds this to the end of the link URL.

    "Extra Parameters" can itself contain keywords e.g. "m=%MERCHANT%".

    Then add some logic to add the keyword %MERCHANT% … but I can’t see this in the AWS response anywhere… You would have to provide that when you generate the shortcode.

    So option 1 – Just specify the ‘extra_params’ in the shortcode. e.g.:

    [amazon asin=B00F3VOL38&template=image&extra_params=m=A17ZUK745CFPPW]

    Pros:
    Only one keyword to expand
    If extra_params isn’t specified nothing added to the URL (clean)
    Cons:
    Looks messy in the shortcode
    Can’t use merchant code anywhere else in the template.

    Or option 2 – Set extra_params to default to “m=%MERCHANT%” and provide ‘merchant’ in the shortcode. e.g.:

    [amazon asin=B00F3VOL38&template=image&merchant=A17ZUK745CFPPW]

    Pros:
    shortcode is simpler, ‘makes sense’
    can use %MERCHANT% elsewhere in the template
    Cons:
    if no merchant specified get a ‘m=’ on the end of the URL

    Any thoughts?

    Paul

Viewing 1 replies (of 1 total)
  • The topic ‘Specify merchant/storefront for link?’ is closed to new replies.