includes/modules/pages/rss_feed/header_php.php
Find around line 356:
Code:
$sql_products = "SELECT DISTINCT p.products_id, pd.products_name, pd.products_description, p.products_image, GREATEST(p.products_date_added, IFNULL(p.products_last_modified, 0)) AS products_date, p.master_categories_id, p.products_price_sorter AS price, p.products_tax_class_id, p.products_quantity, p.products_model, p.products_weight, p.manufacturers_id, m.manufacturers_name, r.reviews_rating
FROM " . TABLE_PRODUCTS . " p
This code returns the products_date wrong,
so change to:
Code:
$sql_products = "SELECT DISTINCT p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_date_added, p.products_last_modified, p.master_categories_id, p.products_price_sorter AS price, p.products_tax_class_id, p.products_quantity, p.products_model, p.products_weight, p.manufacturers_id, m.manufacturers_name, r.reviews_rating
FROM " . TABLE_PRODUCTS . " p
And then change around line 512 from products_date to products_date_added:
Old:
Code:
$rss->rss_feed_item($products->fields['products_name'],
$link,
array('url' => $link, 'PermaLink' => true),
date('r', strtotime($products->fields['products_date'])),
New:
Code:
$rss->rss_feed_item($products->fields['products_name'],
$link,
array('url' => $link, 'PermaLink' => true),
date('r', strtotime($products->fields['products_date_added'])),