Retro Posted May 4, 2008 Share Posted May 4, 2008 I'm using this contribution: http://addons.oscommerce.com/info/4284 1. Open catalog/includes/header.php add this on top: // language definition define('PRODUCT_ADDED',add_cart); // give alert if new product added to the cart if (tep_session_is_registered('new_products_id_in_cart')) { echo '<script>alert(\''.PRODUCT_ADDED.'\');</script>'; } 2. open your language definition (ie: catalog/includes/language/italian.php): add this: define('add_cart', 'Product was added to your basket!'); the problem appears when I add to cart a product with attributes, since that each visited page in my store displays the alert :blink: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.