Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Some context:
We are migrating a Shop to Headless and we encountered a problem with highly customizable products and the 100 variant limit. I would like to know your opinion on the proposed solution and if some one can think of a more elegant solution.
What we want to accomplish:
- We want to allow users to customize products in many ways (Colors, Lengths, Type of material, Measurements, Extras etc.)
- Choosing some options should result in a higher price
- Discounts should be applicable to the total price of the product (Including the extra price coming from the option selection)
The problem we have:
Since we have many options we can't treat them as native Shopify options because that would result in more than 100 variants. We have products with more than 7 options, more than 100 variants and more than 4 options that cause extra prices
Idea to solve this problem:
1. Save possible options as JSON string in the Product Metafields
2. Have one variant per paid product option with the extra price that clients would pay for it
3. When selecting a paid option, internally add two variants to the cart (the selected variant + the variant that represents the option that highers the price)
4. Programmatically display both products as one in the Frontend and in the checkout using Shopify Functions
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025