osc/php quick fix needed asap
$30-250 USD
Paid on delivery
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:
case 'PRODUCT_LIST_BUY_NOW':
$lc_align = 'center';
if ($listing['products_price'] < 0.01 )
$lc_text = '&nbsp;';
else
$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;';
break;
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.
Project ID: #323525