πHow to Grant Free Course Access Using a 100% Discount Code
Granting access to a paid course without requiring payment is a great way to manage specific students, offer complimentary access, or run promotional campaigns.
This guide will show you how to use a 100% discount code to provide free enrollment to your students.
Step 1: Create a Course Product
First, ensure that you have created a product on Shopify that is linked to your course in the LDT app. This is the product that your customers will "purchase" with the discount code.
If you have not yet done this, please refer to our guide: The Ultimate Solution for Your E-Learning Business.

Step 2: Create a 100% Discount Code on Shopify
From your Shopify Admin, go to Discounts.
Click on Create discount.
Select Amount off products and configure the following settings:
Discount code: Enter a unique code, for example, FREECOURSE.
Value: Set the value to 100%.
Applies to: Select the specific course product you want to give free access to.
Customer eligibility: You can choose to apply this to specific customers or customer segments.
Usage limits: For security and control, you may want to check Limit number of times this discount can be used in total and set it to a specific number (e.g., 1 for one-time use per student).
Click Save to create the discount code.

Step 3: Direct the Customer to the Checkout Page
Send the customer the URL of your course product page.
Instruct them to add the product to their cart and proceed to the checkout page.
They will need to enter the 100% discount code you created in Step 2.
Once the code is applied, the order total will become $0, and they can complete the "purchase" without any payment.

Result:
After the customer completes the checkout process with the 100% discount, the LDT Online Courses app will automatically enroll them in the course (as long as you have the Auto enroll via Shopify Products feature enabled for that course). The student will then receive a welcome email and can access the course content, just as if they had paid for it. This method allows you to easily manage and track free enrollments through your Shopify order system.
Last updated