» 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.
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.
Comments
Comment #1
rfayYou can look at the link and see. It's embedded in the link.
Comment #2
marcoka commentedi did that but
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?
Comment #3
rfayThe 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 cronYou may need to run cron many times depending on the number of products you have.
Comment #4
marcoka commentedsomehow 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.
Comment #5
willvincent commentedClosing 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