by admin » Wed May 26, 2010 8:52 am
Hi,
Basically when a user selects a product to track the price of they will be asked to choose a target price and the number of days they would like the price to be checked for. when they choose both these options the data is stored in the database for comparison on future updates. Once a day the cron.php should be executed and for each product being tracked the script will request the latest price from Amazon. If the latest price is lower or meets their target price the script will send the user an email with the product details including a link and the new price. When the target price is reached or the number of days being tracked has been exceeded the tracking will be stopped for that product.