
Originally Posted by
dharma
Thanks for above..
I currently have Display Cart After Adding Product set to false.
Currently the alert displays at the top of the page (above the header links)
would it be posssible to move the "Alert" (light bulb) Success Successfully added item to the cart ...
down a bit into the product info display?
I looked in the product_info_display page and couldn't find any mention of alerts...
Open up includes/templates/YOUR_TEMPLATE/common/tpl_header.php.
This chunk handles all messages:
Code:
<?php
// Display all header alerts via messageStack:
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
echo htmlspecialchars(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo htmlspecialchars($_GET['info_message']);
} else {
}
?>
I think it would be good to remove it from tpl_header.php, and move it to includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php, perhaps just after:
Code:
<!-- eof breadcrumb -->