Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Don't show cart box on cart page


MikeMike

Recommended Posts

Are there any way to avoid showing the shopping cart box when you are on the shopping cart page?

There are soo many queries and the shopping cart page takes a long time to load if there are many products added.

 

Regards

Mike

Link to comment
Share on other sites

Are there any way to avoid showing the shopping cart box when you are on the shopping cart page?

There are soo many queries and the shopping cart page takes a long time to load if there are many products added.

 

Regards

Mike

 

if (

(!stristr(basename($PHP_SELF),'shopping_cart'))

and ($cart->count_contents() > 0)

) {

include(DIR_WS_BOXES . 'shopping_cart.php');

}

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...