Had previous coder add a few things and now my [url removed, login to view] isn't working quite as it should.
Previously there was a small bit of code that would hide the "buy now" button if price was zero.
Code looked something like:
$lc_align = 'center';
if ($listing['products_price'] < [url removed, login to view] )
$lc_text = '&nbsp;';
$lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('[url removed, login to view]', IMAGE_BUTTON_BUY_NOW) . '</a>&nbsp;';
I'm not positive, but am pretty sure that this is the case that code is missing from but not positive.
At any rate, I need current page fixed so if price is zero, buy now button for that product isn't shown.