I've been trying to crack this problem for ages now but i cant manage to do it.
When my search results are shown i have some products with zero value.
Currently where the price would appear is as blank space but i want this to display some text ('call now for pricing').
After playing around i think i found the code which needs to be edited but i cant seem to make it work.
i think it involves making the script use
as well as the current string but i'm not too sure.
In the SearchScript.pl file is the code:
Please help
Thanks
When my search results are shown i have some products with zero value.
Currently where the price would appear is as blank space but i want this to display some text ('call now for pricing').
After playing around i think i found the code which needs to be edited but i cant seem to make it work.
i think it involves making the script use
Code:
$Product{PRICE} == 0
In the SearchScript.pl file is the code:
Code:
if ($$::g_pSearchSetup{SEARCH_SHOW_PRICE} && $$::g_pSetupBlob{PRICES_DISPLAYED} && $Product{PRICE} != 0) { ($status, $sError, $sTemp) = ActinicOrder::FormatPrice($Product{PRICE}, $::TRUE, $::g_pCatalogBlob); if ($status != $::SUCCESS) { ACTINIC::CleanupIndex($rFile); return($status, $sError); } } $ACTINIC::B2B->SetXML('S_PRICE', $sTemp);
Please help
Thanks
Comment