Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display Cart After Adding Product


Guest

Recommended Posts

Posted

Hi everybody,

 

I have a slight problem. If I set Display Cart After Adding Product to FALSE and click buy now from the list of products on index.php it redirects me to product_info.php page. It works fine if I am on the product_info page but not on any other page.

 

In application_top.php I have

 

if (DISPLAY_CART == 'true') {

$goto = FILENAME_SHOPPING_CART;

$parameters = array('action', 'cPath', 'products_id', 'pid');

} else {

$goto = basename($PHP_SELF);

if ($HTTP_GET_VARS['action']== 'buy_now') {

$parameters = array('action', 'pid', 'products_id');

} else {

$parameters = array('action', 'pid');

}

}

 

so I don't know where it picks product_info.php from.

 

Many thanks for your help.

Posted

happens when products have attributes. Since the lists do not display them the osc switches to the product info page so a customer can select the product's options.

Archived

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

×
×
  • Create New...