Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove cart when empty


billybrag

Recommended Posts

Posted

Can someone point me to the method of doing this, i have seen it on here before but cant find it :blink:

 

thanks

 

Mike

"because it'll hurt more"- the greatest film of all time?

Posted

Here you go mike.

 

if ($cart->count_contents() > 0) {
   require(DIR_WS_BOXES . 'shopping_cart.php');
}

 

Mark

Lifes a bitch, then you marry one, then you die!

Posted

thanks mark,

i assume thats just in column right

"because it'll hurt more"- the greatest film of all time?

Posted

Yes, I did not add a column because I do not know which column your shopping cart is in.

 

Mark

Lifes a bitch, then you marry one, then you die!

Archived

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

×
×
  • Create New...