However, when using the wizard list the "/order/config/" aspect doesn't work (ie /order/config/index/web-hosting/?group_id=2&pricing_id=13&coupon=10off) will take you to the product but won't actually apply the coupon.
I found that adding the preAction block found in "plugins/order/controllers/main.php" to "/plugins/order/controllers/config.php" that it applies the coupon correctly.
Is there a reason why this logic wasn't added originally?
Question
ctalkington
The following page mentions "The coupon may be set automatically when added to a URL at /order/main/ or /order/config/ using the parameter coupon."
http://docs.blesta.com/display/user/Order+System#OrderSystem-LinkingtoanOrderFormtoIncludeaCoupon
However, when using the wizard list the "/order/config/" aspect doesn't work (ie /order/config/index/web-hosting/?group_id=2&pricing_id=13&coupon=10off) will take you to the product but won't actually apply the coupon.
I found that adding the preAction block found in "plugins/order/controllers/main.php" to "/plugins/order/controllers/config.php" that it applies the coupon correctly.
Is there a reason why this logic wasn't added originally?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.