Before you can start embedding Amazon products in your pages, you have to set up ASA2 by entering your AWS credentials. This is necessary to be able to establish a connection to the Amazon Product Advertisment API as ASA2 retrieves the product data through the API.
For more information, read: Setup.
To be able to receive auto-updates through your WordPress plugins backend, you have to activate your ASA2 license. On single site installations, go to page “ASA 2 Pro / License”. On multisite installations, go to page “ASA 2 Pro” in your Network Admin backend. Enter the license key you have received upon your purchase.
You can find your license key in your purchase email and on your ASA2 account page: https://getasa2.com/your-account/
Without activated license, you can not receive auto-updates:
For more details about licensing, please see chapter Licensing.
Embedding a single product¶
The easiest way to embed an Amazon product in your WordPress pages is to use ASA2‘s Product Picker. Just click the button in the WordPress editor toolbar and use the search field to find the product. Then click the product title and on the settings tab the button “Insert shortcode” and you’re done.
Read more about Product Picker.
On ASA 2’s admin page “Templates” you can open a customization context window for each managed template. Just hover the mouse cursor over a template row and click the link “Customize” to open it. These settings will effect the appearance of this template.
Read more about Customization.
Create custom templates¶
ASA2 comes with some managed templates to render the products on your WordPress pages. If they do not fit so well to your WordPress theme, you can easily create own templates. Just navigate to ASA2‘s templates admin page and either create a new template or duplicate an existing. Afterwards you can select your custom template in the product picker or manually use the shortcode options
tpl (shortcodes_asa2_tpl) or
Read more about customizing the layout in Templates.
With collections you can bundle an unlimited amount of products into one container and embed all those products in a page with just one shortcode.
Read more about how to use collections in Collections.
Using the Repo¶
The “ASA2 Repo” is ASA2‘s item repository. You can deposit Amazon products there what will greatly improve page load speed as ASA2 first checks the ASA2 Repo and then the Amazon API.
Additionally you can use the ASA2 Repo items like WordPress posts and add categories, tags, descriptions and even custom fields!
With the powerful shortcode [asa2_smart_collection] you can query the ASA2 Repo dynamically with a variety of options.
The best way to keep the Repo items fresh, is by using the cronjob Repo items refresh.
Read more about the Repo.