Hi,
With the current version, setting multiple products for a single add-to-cart button is not supported.
I uploaded a development version 4.3.0b02 and it adds a new shortcode, [aal_button]
which allows you to display a button in a desired place in a post.
To display a button, follow these steps:
1. Set your Amazon Associates and the locale with the Associate ID
and Country
options found via Dashboard -> Amazon Auto Links -> Settings -> Default
2. Add a shortcode with the tag, aal_button
in a post. Foe example, [aal_button asin="B00GAC1D2G"]
The accepted shortcode arguments are:
– asin
– comma delimited ASINs. e.g. B00GAC1D2G, 1510764690
.
– quantity
– comma delimited quantity values which correspond the value set in asin
. e.g, 1,2
. Default: 1
.
– type
– (optional) The button type. 0
: normal link, 1
: add to cart. Default: 1
.
– id
– (optional) the button ID. If omitted, the <button>
tag will be used.
– country
– (optional) the locale of the store. e.g. for Italy, IT
, for US, US
etc. If not set, the value set in the Default
option tab will be applied.
– associate_id
– (optional) a Amazon Associate tag. If not set, the value set in the Default
option tab will be applied.
– access_key
– (optional) a PA-API public access key. If not set, the value set in the Default
option tab will be applied.
– label
– (optional) the button label. e.g. Get it on Amazon
default: Buy Now
– offer_listing_id
– (optional) an offer listing ID that Amazon gives.
Please try the development version and let me know if it is what you are looking for.