You got it, @mvstudio! That coupon-related message is 'targeted' (via that
class parameter) to be displayed for a
checkout group (which isn't one of the groups looked at by OPC). The base checkout_one-page template (tpl_checkout_one_default.php) will display the checkout_payment, checkout_shipping and redemptions groups by default.
If you make a template-override copy of that module, changing this section:
Code:
$messages_to_check = array('checkout_shipping', 'checkout_payment', 'redemptions');
foreach ($messages_to_check as $page_check) {
if ($messageStack->size ($page_check) > 0) {
echo $messageStack->output ($page_check);
}
}
to read
Code:
$messages_to_check = array('checkout_shipping', 'checkout_payment', 'redemptions', 'checkout');
foreach ($messages_to_check as $page_check) {
if ($messageStack->size ($page_check) > 0) {
echo $messageStack->output ($page_check);
}
}
... I believe that you'll find that coupon/reward-points message now displays.
FWIW, I've created a GitHub
issue for OPC and will add that 'class' to its default display for the next release.
Bookmarks