Discount Codes

Submit Button - Discount Codes

Submit Button

by MyGamesShop » Wed Jan 26, 2022 9:31 pm

Gidday, This plugin works very well. However I've had a few people go thru to PayPal via the checkout_payment.php and the discount is not applied.

They input the code but then click the [Continue Checkout] the cogs spin but the code does not register before heading off to PayPal. So no green tick.

To register the code correctly you can click any where (except continue checkout :) and the code is then updated with a tick or cross.

Whats not clear to the customer is that it needs to update before [Continue to Checkout]

Either a [Submit] button needs to be added next to the code input box (literally doing nothing but updating the page)or the field needs to be dynamic in updating or a no-discount default in the box to ensure people think and making the submit button Required on this page.

Also a suggestion. The size of the box is quite small on mobile devices and easily missed maybe the text could be in RED or the box size increased so its not so easily missed.

Thanks for reading
MyGamesShop
Contributor
Posts: 131
Joined: Wed Mar 10, 2021 3:02 am
Phoenix Version: v1.1.0.6
Contact:

Re: Submit Button

by raiwa » Thu Jan 27, 2022 7:52 am

Thank you for your report.
I'll consider a fix for the next update.
However you could combine the discount code with the ship in cart addon and use at least the order total module.
Then you can offer the discount code module in the shopping cart.
Like this it would work together with the express checkout button in the cart.
The cart discount module has already an apply button. Then you could remove the discount module in checkout_payment.php.
Strange that no one else has reported this issue. Discount code is widely in use since years in many shops.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact: