...
Description | Parameters | URI | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Display Package Group |
| /order/main/packages/label/?group_id=1 | ||||||||
Display Package Group with Package Selected |
| /order/main/packages/label/?group_id=1&package_id=2 | ||||||||
Display Package Configuration with Price Selected |
|
|
Linking to an Order Form to Include a Coupon
As of version 2.4.0 of the Order plugin, a coupon can be set in the URL to an order form, and will be applied automatically as the user continues through the order process. The coupon may only be set automatically when added to a URL at /order/main/ using the parameter coupon. Consider a couple examples:
Note |
---|
When including a coupon code in a URL, the coupon code must be URL encoded. |
Description | Parameters | URI | Notes | ||
---|---|---|---|---|---|
Set a Coupon to an Order Form |
| /order/main/index/label/?coupon=CPN123 | In this example, the
| ||
Set a Coupon to a Specific Product |
| /order/main/index/vps/?group_id=1&package_id=5&coupon=10off | In this example, the
|