Well I added the lightbox effect to messageStack & I don't think it is used enough to annoy potential shoppers/browsers.
I have tested in all areas - only issue I found is when Display Cart After Adding Product value=false and you add product to cart (product_info page) - at this point I think the customer should go to cart.
I tried an if statement to block lightbox, it still added product to cart but did not take them to it.
this is the if statement I tried:
Code:
<?php
if ($current_page_base == 'product_info'){
//do nothing
} else {
// 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 {
}
}
?>
Just FYI, open to suggestions!