Could it be that the amazon filter does not add the partner id to the url?

Comments

rfay’s picture

You can look at the link and see. It's embedded in the link.

marcoka’s picture

i did that but

<a href="[amazon B0033AGBD4 detailpageurl]">Die Canon Powershot D10</a> 

becomes: http://www.amazon.de/dp/B0033AGBD4/?tag=af--21

but af--21 is not my id

is af--21 the id of the drupal association?

rfay’s picture

Title: Amazon Filter, Partner ID » Amazon Associate ID does not change immediately in link if the setting is changed
Category: support » bug

The detailpageURL is stored in the amazon_item table, already prepared with whatever it had when it was built.

In order to make this responsive to a change in admin/settings/amazon, we'd need to invalidate the items in amazon_item (perhaps by update amazon_item set timestamp=0;. Then cron would start to update them.

As a workaround, you can do this when changing the Amazon Associate ID:
update amazon_item set timestamp=0;
drush cron

You may need to run cron many times depending on the number of products you have.

marcoka’s picture

somehow a firefox plugin was removing the tokens if i used them in an If you set your amazon id beforde adding any products you will not have the problem above mentioned by rfay.

willvincent’s picture

Status: Active » Closed (duplicate)

Closing as duplicate.
The specific issue e-anima had was a browser plugin issue.

The associate link is in fact stored hard-coded into the URL in the DB, but the change needed to invalidate existing records will be incorporated in #1127462: When cache is cleared, invalidate amazon_item table