Jump to content

Question

Posted

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

  • 0
Posted

I'm going to move this to the Support forum.

 

You're not able to use a coupon at /order/config/ because that functionality is only available since v3.5.0, which is yet to be released. It will be available to everyone during the upcoming beta.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...