osc/php quick fix needed asap

Completed Posted Oct 2, 2008 Paid on delivery
Completed 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 = ' ';

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> ';

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.

PHP Shopping Carts

Project ID: #323525

About the project

5 proposals Remote project Active Oct 2, 2008

Awarded to:

sharemin

Let's [login to view URL] you pm thanks.

$30 USD in 1 day
(16 Reviews)
4.3

5 freelancers are bidding on average $30 for this job

mistersoft

Can fix it immedially. Thanks!

$30 USD in 0 days
(410 Reviews)
7.6
TakeReal

I can check your code and fix "Buy Now" button.

$30 USD in 1 day
(1264 Reviews)
7.5
grazianno

hello, please check your PMB.

$30 USD in 0 days
(231 Reviews)
7.1
goldenstar

check my pmb

$30 USD in 1 day
(48 Reviews)
5.2
Web010

Check your pmb

$30 USD in 0 days
(58 Reviews)
5.0