
Originally Posted by
mattbough
Thanks for this, would it be possible to use
Code:
$sale->Recordcount() > 0
within the tpl_product_info.php file?
That way I could check and carry on with the pricing logic that I'm doing for the structured data.
no, that would not work; unless you added all of that additional logic in the above post..
depending on how your store is set up, this (easier solution) could work in your template file:
PHP Code:
if ($products_base_price !== $specials_price) {
//your stuff here
}
good luck.
Bookmarks