View Single Post
  #9  
Old 08-12-2007, 12:20 AM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: "Product Added" information box above product list when product is added to cart?

i would recommend against the code i gave you before, since i believe the alert will still come up when there is an error with adding the product

instead in include/cart_process.php (or cart.php for 4.0.x), after
Code:
if ($productid && $amount) { if ($amount < $added_product["min_amount"]) { $return["redirect_to"] = "error_message.php?access_denied&id=31"; return $return; }
put
echo "<script>alert('Product has been added.')</script>";
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote