Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

'buy now' doesnt work?


pistonie

Recommended Posts

Posted

Hey guys. Im having problems with my ?buy now? button. When I press it, the item is added to the shopping cart, but I get a white, blank screen. And then I gotta scroll back to the category I was at. If im in the products description, and I click ?add to cart? then it works.

 

Any ideas on whats wrong? Iv had to remove the ?buy now? button since it doesn?t work? I need to fix it asap. Thanks peeps.

Posted

Hi people,

 

I have a problem with the buy now buttons not working correctly from the Manufacturers listing.

 

When you click on buy now it goes to:

 

http://www.gazbikes.co.uk/catalog/product_...hp?products_id=

 

As you can see, the products_id= has no id?

 

Can anyone help with this please....

 

My shop is live and I really need this to be working correctly.

 

Cheers,

 

Gazza......

There is no justice ...... Just Us!

Posted
Hi people,

 

I have a problem with the buy now buttons not working correctly from the Manufacturers listing.

 

When you click on buy now it goes to:

 

http://www.gazbikes.co.uk/catalog/product_...hp?products_id=

 

As you can see, the products_id= has no id?

 

Can anyone help with this please....

 

My shop is live and I really need this to be working correctly.

 

Cheers,

 

Gazza......

 

I've managed to find the problem...

 

After installing Master products it removed two lines of code from the product_listing.php ... after line 132:

 

I only had:

 

case 'PRODUCT_LIST_BUY_NOW':

$lc_align = 'center';

 

The following two lines were needed to fix the error.

 

Goes on line 133

$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('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';

 

Goes on line 134

break;

 

If anyone else has had the same problem after installing Master Products then I hope this may be of some help to you....

 

Gazza....

There is no justice ...... Just Us!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...