A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
I removed the the regulations, entered the coupon code, clicked APPLY and no coupon confirmation message either, so I'm guessing T&C box has no effect on this. I do need to have the regulations set to true though. I'll keep on working on the suggestions and see what I get.
Re-installed the plugin as it comes out of the box (well folder) before trying the suggestions and still the "Congratulations you have redeemed the Discount Coupon" won't display.![]()
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:
to readCode:$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); } }
... I believe that you'll find that coupon/reward-points message now displays.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); } }
FWIW, I've created a GitHub issue for OPC and will add that 'class' to its default display for the next release.
You're AWESOME!!!!! Thank you!!!
It does work beautifully for the coupons, but not for the reward points. Actually no message is generated at all for reward points not even on the regular ZC checkout.
But I can work with this. Since I have prevented coupons and reward points from being used together, I can reword the message for customers to remove the coupon if they want to use their rewards and viceversa.
Thank you so, so much!!!![]()
No problems, @mvstudio; the resolution of your issue hinged on providing that screenshot!