You would need to add a message to the: init_cart_handler.php
I would place it at the bottom of this IF statement:
PHP Code:
if (DISPLAY_CART == 'true') {
$goto = FILENAME_SHOPPING_CART;
$parameters = array('action', 'cPath', 'products_id', 'pid', 'main_page');
} else {
$goto = $_GET['main_page'];
if ($_GET['action'] == 'buy_now') {
$parameters = array('action', 'products_id');
} else {
$parameters = array('action', 'pid', 'main_page');
}
$messageStack->add_session('header', SUCCESS_PRODUCTS_ADDED_TO_CART, 'success');
}
Then define the message: SUCCESS_PRODUCTS_ADDED_TO_CART
Note: if time, I will play a bit with this for v1.3.6 as it would be helpful to have a meaning full message ... but I need to test based on errors and such what more may be needed under a baziilion conditions ...
Bookmarks