If you look at the functions_prices.php file you will see the line:
PHP Code:
function zen_get_products_display_price($products_id) {
There the price is built for the display with the bottom line being:
PHP Code:
return $final_display_price . $free_tag . $call_tag;
If you changed that to:
PHP Code:
return $final_display_price . $free_tag . $call_tag . '<br />Fred was here';
You would see that on all of the prices ...
You could use this same idea to see if the products are new and if so, add a new image on the end ...
This is used in the whats_new sidebox to determin what products are new, you can use an adaption of this select statement to determin if the current product is new ...
PHP Code:
$display_limit = zen_get_new_date_range();
$random_whats_new_sidebox_product_query = "select p.products_id, p.products_image, p.products_tax_class_id, p.products_price, pd.products_name,
p.master_categories_id
from (" . TABLE_PRODUCTS . " p
left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id )
where p.products_id = pd.products_id
and p.products_status = 1 " . $display_limit;
Note: you can cut a lot out of that select statement but the idea is to do the select based on the $display_limit that is built from the zen_get_new_date_range() and if your product comes back, then it is new and you can add the image to the return on the display price function ...