Wrong or amazon associate tag when creating amazon node. Had to manually add define('AMAZON_SEARCH_AMAZON_ASSOCIATE_TAG', 'blablaassociate-20'); into amazon.php5.inc as described on http://drupal.org/node/82717
drupal v4.7.3

Comments

Prometheus6’s picture

StatusFileSize
new50.54 KB

Here's a couple of patched files. They should work properly.

You need access to your database (say, phpMyAdmin) to fix the data. You need to run this SQL query:

UPDATE amazonitem SET pricedate = '01/01/01'

This will force the system to update the prices, tags, etc when cron runs, 10 ASINs per run. You can load http://www.example.com/cron.php into your browser however many times you need to.

Prometheus6’s picture

StatusFileSize
new12.65 KB

The php4 include file

Prometheus6’s picture

StatusFileSize
new12.56 KB

The php5 include file

firstov’s picture

Status: Active » Fixed

excellent! that worked just fine.
thanks much for providing the path.

Prometheus6’s picture

Assigned: Unassigned » Prometheus6
Status: Fixed » Closed (fixed)

You're going to hate me...

I just added a maintanence screen that will handle all this.

asb’s picture

> I just added a maintanence screen that will handle all this.

Is this 'maintanence screen' already in the code from 17/10/2006 - 07:46? At least under /admin/settings/amazon it doesn't show up at my installation. Am I looking at the wrong place?

Also, as far as my testing went on so far, the code from 14/10/2006 didn't solve the discussed problem for me. After applying the fixes, the affiliate id is now embedded in the generated URL instead of '...tag=AMAZON_SEARCH_AMAZON_ASSOCIATE_TAG..."; however, the sales seem still not to be processed by Amazon. Sales *are* being processed for the affiliate id, if I build an classic URL manually (...http://www.amazon.de/exec/obidos/ASIN//).

This applys to Amazon.de and is based on two test buys.

Regards, -asb

Prometheus6’s picture

Seems the old menu is still cached. Go to q=admin/menu, then you'll be able to reach it by q=admin/amazon_import/manage.

I'm not creating the links, I get them straight from the Amazon.de response. I need to think about how to even investigate it.