How to add price to the variants thats over the variant limit

Right now I’m using this method to add variant to my products, which just use code and metafields.

https://www.youtube.com/watch?v=bTWR0tfzNqA&t=1s

However I found that I can’t change the product price base on these variant. Is there any way to add price to these variants or I need to use an app to do that?

hi @WILLIAM0716

The method you’re using (metafields + code) allows you to display custom variant options, but Shopify metafields don’t support price changes for variants. Prices in Shopify are tied to actual product variants, not metafields.

Here are your options:

Use Shopify’s Built-in Variants

If price changes are necessary, the best approach is to use Shopify’s default variant system instead of metafields.

Go to Products > Edit Product > Variants and manually add options with different prices.

Use a Shopify App

Apps like Infinite Options or Variant Option Product Options allow you to add custom options and adjust pricing dynamically.

Some apps let you create “price add-ons” without needing actual variants.

Custom Code with Line Item Properties (No Price Change in Admin)

You can pass custom data (like variant selection) using line item properties, then modify the price in the cart using custom scripts.

However, this doesn’t update the price in the product page, only in the checkout/cart.

Hi @WILLIAM0716 :raising_hands:

I believe the limitation comes from the approach you’re currently using. Since the options are being created with metafields and custom code rather than actual Shopify variants, Shopify doesn’t automatically apply separate pricing when customers select those options.

In this case, you might want to check out Easify Custom Product Options :blush:. I’ve created a similar setup before, and the app makes it easy to add custom options with additional charges without needing to modify code or create extra variants.

To help you visualize it, I’ve created a similar demo:

  • This is the result:

  • This is the app setup:

To set it up, you simply go into the app and create an Option Buttons field. For example, if you’re selling apparel, you could create options such as Size S, Size XL, Size 2XL, and Size 3XL. Then, for each option value, you can enter the corresponding price adjustment in the Price field.

For example, you could set up Size S = +$0, Size XL = +$2, Size 2XL = +$4, and Size 3XL = +$6. When a customer selects an option, the product price will automatically update based on the pricing you’ve configured directly on the product page.

What I like about this approach is that it keeps your product setup clean without having to create a large number of Shopify variants just to handle pricing differences. On top of that, if you later want to expand your setup with Color Swatches, Image Swatches, Checkboxes, or Conditional Logic, you can do it all within the same app.

I find this much simpler and easier to manage than trying to handle pricing through metafields and custom code, especially if your goal is to let customers see price changes instantly based on their selections. :heart:

Hey @WILLIAM0716 .
Hope you are doing well.

Metafield variants can’t change prices.
You will need the Infinite Options app for price adjustment per option.

Hi @WILLIAM0716,

If you’re currently using custom code and metafields to create variant-like options, the limitation is that Shopify may not treat those selections as actual variants, so changing the price based on those choices can become difficult.

You can handle this more easily using Inkybay – Product Personalizer. With Inkybay’s Product Option feature, you can create custom options like size, color, material, or other selections and add extra pricing for each option. Customers can select their preferred option directly on the product page, and the price can update based on the selected choices.

You can display these options as dropdowns, swatches, radio buttons, checkboxes, or image swatches, depending on your product setup. All selected options and pricing details are automatically captured with the order details, making fulfillment easier.

The setup is simple, no coding is required, and Inkybay offers a 21-day free trial so you can explore the features and see if it fits your store.

Hi @WILLIAM0716,

No, metafields can’t drive price changes – that’s a Shopify limitation, not a gap in your code. Price only ever comes from real variant records, so no matter how the option picker looks, the price won’t update unless it’s tied to an actual variant.

Your options:

  1. Use native variants if you’re under the 100-variant limit – the only no-app way to get correct pricing everywhere (product page, cart, checkout, reports).
  2. Split into separate products if you’re hitting the limit because of too many combinations, then link them with a combined listing.
  3. Use a product options app (Infinite Options, Easify, Inkybay, etc.) – these add price logic on top of custom options without needing more variants. This is the standard fix for stores that need more flexibility than the variant cap allows.

If your catalog is consistently outgrowing Shopify’s variant structure, it’s sometimes worth rethinking the product/variant setup at the source rather than patching around it – that’s the kind of thing we deal with at LitExtension on bigger migrations. But for one product, an options app is the simplest route.

Hello, @WILLIAM0716
Hope you are doing great!
Metafield based option aren’t really Shopify variants, so that they can’t have their own prices. You’ll need actual variants, custom coding or a product option apps for price adjustments.