Yes - to keep the database perfectly in sync with the feeds the import process is simply to DELETE all products from the feed being imported and then to re-import. A deleted product will still return the product page with a 200 response and show Related Products rather than 404, but it can be made to return 404 if you prefer by editing products.php and look for the following code at line 78:
$banner["h2"] .= "(".translate("product no longer available").")";
...and REPLACE with:
$banner["h2"] .= "(".translate("product no longer available").")";
header("HTTP/1.1 404 Not Found");
Hi,
Yes - to keep the database perfectly in sync with the feeds the import process is simply to DELETE all products from the feed being imported and then to re-import. A deleted product will still return the product page with a 200 response and show Related Products rather than 404, but it can be made to return 404 if you prefer by editing products.php and look for the following code at line 78:
$banner["h2"] .= "(".translate("product no longer available").")";
...and REPLACE with:
$banner["h2"] .= "(".translate("product no longer available").")";
header("HTTP/1.1 404 Not Found");
Cheers,
David.
--
PriceTapestry.com