You can provide your users a product's URL redirecting them to its Payment page with a coupon already applied.
2. Copy the product's public URL (course, bundle, or subscription) in order to find in it the product's ID. You can find the public URL of a course either by navigating to the course's Access tab or the product's Page Properties. For more information on how to find the Product URL, click here.
For example, https://yourschool.learnworlds.com/course/piano-lessons is a Course URL, where the course ID is the text after /course/ (in our example, it's piano-lessons).
a. Αfter the product ID paste &coupon= and the coupon's code (i.e. AUT2021). In the end, the URL should look like this: https://yourschool.learnworlds.com/course/piano-lessons&coupon=AUT2021
When the users visit the above URL, they will be redirected to the product's page and, after clicking on Enroll, they will be redirected to the Payment page where the coupon discount will be already applied. The user then will be able to click on Buy and proceed with the purchase.
b. In case you wish to redirect your users straight to the Payment page then you should use the below URL where you should add after the school's name the payment?product_id= then the product ID (piano-lessons) and then the coupon slug (&coupon=AUT2021). The correct URL should be like this: https://yourschool.learnworlds.com/payment?product_id=piano-lessons&coupon=AUT2021
- If you wish to share a Bundle URL straight to the Payment page with a coupon code, you should add &type=bundle in the URL after the Product Public ID, as in the following example: https://yourschool.learnworlds.com/payment?product_id=piano-bundle&type=bundle&coupon=AUT2021
- The same applies to a Subscription product as well, as you need to enter &type=subscription. E.g. https://yourschool.learnworlds.com/payment?product_id=piano-subscription&type=subscription&coupon=AUT2021