When a customer puts in an invalid coupon code they are redirected back to Step 2 of 3 during checkout. The alert message "Invalid Coupon Code" does not display for the customer. I have multiple sites using zen cart and it works on those sites. I have even done a file comparison on the includes folder between the sites and the order total and coupon files are the same. I checked the PHP settings and they were the same as well. I displayed all the defined variables and noticed certain items were not passed back to the array.
Array from the working site
Array
(
[messageStack] => messageStack Object
(
[messages] => Array
(
[0] => Array
(
[params] => class="messageStackCaution larger"
[class] => redemptions
[text] => Warning Invalid Coupon Code
)
)
)
[module_list] => Array
(
[0] => ot_subtotal.php
[1] => ot_coupon.php
[2] => ot_group_pricing.php
[3] => ot_tax.php
[4] => ot_shipping.php
[5] => ot_loworderfee.php
[6] => ot_gv.php
[7] => ot_total.php
)
[value] => ot_coupon.php
[lang_file] => includes/languages/english/modules/order_total/ot_coupon.php
[module_file] => includes/modules/order_total/ot_coupon.php
[class] => ot_subtotal
)
Array from the site that is not working
Array
(
[messageStack] => messageStack Object
(
[messages] => Array
(
)
)
[module_list] => Array
(
[0] => ot_subtotal.php
[1] => ot_coupon.php
[2] => ot_group_pricing.php
[3] => ot_tax.php
[4] => ot_shipping.php
[5] => ot_loworderfee.php
[6] => ot_gv.php
[7] => ot_total.php
)
[value] => ot_coupon.php
[lang_file] => includes/languages/english/modules/order_total/ot_coupon.php
[module_file] => includes/modules/order_total/ot_coupon.php
[class] => ot_subtotal
)
I am new to zen cart and php so any help would be greatly appreciated. I am even wondering if this is a godaddy server issue.


Reply With Quote
