> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-online-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-online-course/translations/creating-shopify-products-language-variants-made-easy.md).

# Creating Shopify Products: Language Variants Made Easy

Sell one course per language by adding a language variant to the Shopify product

One product, one variant per language: the buyer picks a language at checkout, and the app enrolls them in the course for that language.

### 1. Add a Language option

In Shopify admin, open **Products** and the course product, then click **Add variant**. Name the option **Language** and add one value per course language (English, Vietnamese, Italian…), pressing Enter after each.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-aad0ffec2a5721f0db9ab642d022edc16f96c164%2Fcourse%204.3.png?alt=media" alt="Adding a Language option with one value per course language"><figcaption></figcaption></figure>

### 2. Set the price for each variant

Each variant can have its own price and compare-at price. For a digital course, leave **Track quantity** off so the product never shows as sold out.

![Language variants with their own prices on the product](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-8fa127e7c0e6a52ad7d357a0e557a2acc3ef4b3a%2Fcreating-shopify-products-language-variants-step-2.png?alt=media)

### 3. Link each variant to its course

In the app, open the course for one language, scroll to **Auto enroll via Shopify products**, choose the product and then the matching variant (for example the Italian course → Italian variant). Repeat for every language.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-f43b841b43f045478a8d06621e2d27356545ab84%2Fcourse%204.4.png?alt=media" alt="The product and variant linked in the course&#x27;s Auto enroll settings"><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-6d8f3c2ffd0ee25010f1f35c300ebd9354000093%2Fcourse%204.5.png?alt=media" alt="Selecting the matching variant in the Add products dialog"><figcaption></figcaption></figure>

Use the same language names in the variant and in the course's **Storefront Language** so the two stay easy to match.

### 4. Test the order and the portal

Place a test order for one variant and check that the buyer is enrolled in the right course, then open the portal in that language.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-9d3ec9c3398e6b51632e9c526a800e6249358952%2Fcreating-shopify-products-language-variants-test-order.png?alt=media" alt="The order page showing the language variant that was bought"><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-53e11d018d7e0da78ff9b4555d041729473a0928%2Fcourse%204.8.png?alt=media" alt="The portal showing the course in the buyer&#x27;s language"><figcaption></figcaption></figure>

### Result

The product sells the course per language, each variant enrolls the matching course, and the portal shows the buyer the version they bought. A student who buys the Italian variant gets the Italian course, not the English one.

### Troubleshooting

* **The buyer gets the wrong language course.** Check that each course links the exact variant, not the whole product.
* **A variant is missing at checkout.** Add the value to the **Language** option and save the product; hidden/unpublished variants do not show.
* **The product shows as sold out.** Turn off **Track quantity** for a digital course.
* **The portal is in the wrong language.** Set the course's **Storefront Language** and link the variant with the same language name.
* **The order does not enroll.** Confirm the course's product link and enrollment trigger; a draft/unpaid order does not enroll.

### Related pages

* [Setting Up New Courses: The Quick Copy-Paste Method](https://helpdesk.ldtsoft.work/ldt-online-course/translations/setting-up-new-courses-the-quick-copy-paste-method.md)
* [How to setup multilingual courses](https://helpdesk.ldtsoft.work/ldt-online-course/translations/how-to-setup-multilingual-courses.md)
* [How to place a test order](https://helpdesk.ldtsoft.work/ldt-online-course/enroll-and-price/how-to-place-a-test-order-to-make-sure-everything-work.md)
* [How to translate the app's own texts](https://helpdesk.ldtsoft.work/ldt-online-course/translations/how-to-translate-the-app-texts.md)
