Advanced

Cronjob event

Option cronjob event

With this option you can adjust, when ASA2 will execute a cronjob. By default, cronjobs get executed on action / event “wp_loaded”. If you are facing issues with the cronjob, e.g. it does nothing, change this option to action “plugins_loaded” or “Directly” and try to run the cronjob again.

Note

Repo tag or category filters will not work when event is “Directly”.

Disable ASIN filter

Check this to disable ASA2’s internal ASIN filter. The ASIN filter, if active, removes all non-alphanumeric characters from ASINs and checks whether it consists of only 10 characters. It reports deviations in the log.

Alternative Secret Key encryption

If you have problems connecting to the PA API and you are sure that you entered your credentials correctly (please consider copy & paste issues), enable this option and re-enter your data.

Handle price variations with PA API 5

Enable this option if you want to support price variations with PA API (e.g. for clothing in different sizes).

Note

This generates an additional API request for relevant products, because PA API 5 requires a dedicated request for price variations.

Disable AMP support

Check this to disable ASA2’s support for AMP pages. This is only advisable if you are not using AMP pages or are experiencing problems with the AMP mode.

Learn more: HTML and CSS for AMP (Accelerated Mobile Pages)

AMP custom URL slug

If ASA2 does not work with your AMP plugin, it may use an URL slug for AMP page detection that is different from the default “amp”. Here you can enter the AMP URL slug used on your site.

Client-side request limit handling

Activate this to prevent RequestThrottle issues if you do not use the Product Update Cronjob. Then ASA2 will care about the right amount of pause between PA API requests also on the client-side. See option Max requests per second to adjust how many requests per second should be allowed.

Recommendation 1: Activate this option if the error “TooManyRequests” occurs frequently. Recommendation 2: Use option Record API stats for more transparency about API requests. Depending on how many API requests have to be made on a page, this can lead to a slowdown of the first page build after the product data has expired. For this purpose the use of caching plugins is recommended, which can preload a page regularly without user interaction.

Server-side request limit handling

Option request limit handling

Activate this to prevent RequestThrottle issues with the Product Update Cronjob. Then ASA2 will care about the right amount of pause between PA API requests. See option Max requests per second to adjust how many requests per second should be allowed.

Max requests per second

Option max requests per second

Limits the number of requests, ASA2 may send to the Amazon API per second, to prevent RequestThrottle issues. Default is 1.

Allowed values are:

  • 1

  • 2

  • 3

  • 5

Refer to the official request limits documentation to determine your value.

_options_advanced_cronjob_request_pause:

Cronjob request pause

Inserts a fixed pause of the specified seconds between two PA API requests when Client-side request limit handling or Server-side request limit handling is activated. This may help to avoid the RequestThrottled PA API issue. Leave this field empty to not use a fixed pause.

Option cronjob pause

Product queue packet size

How many product queue items should be handled per request. Recommended: 3 - 5

Explanation: Before an item gets transfered to the products section, ASA2 places it in a queue to prevent duplicate entries due to simultaneous requests. This value controls how many entries may be transferred from the queue to the products section during one page request.

Product queue admin only

If activated, product queue operations will only be triggered on admin page access. This prevents possible waiting times for access by visitors.

Recommendation: Activate this option if you manage a large number of products (> 1000).

Products 2.0 (Beta)

Activates performance improvements and advanced protection against double product entries.

This is activated by default for new installations.