Skip to main content

How to Make a Shopify Variant Unselectable

Written by Support team

If you have product variants that shouldn’t be available for customers to select in the Claimlane flow, you can easily mark them as unselectable using a Shopify metafield.

Step 1: Go to Metafields Settings

In your Shopify admin, go to:

Settings → Metafields and metaobjects

Shopify Metafields settings menu

Step 2: Choose Variant Metafields

From the list of available metafield types, click on Variants.

Select variants option under metafields

Step 3: Add a New Definition

Click Add definition to create a new metafield for your variants.

Add definition button location

Step 4: Create the “Claimlane Unavailable” Field

Fill in the fields as follows:

  • Name: claimlane_unavailable

  • Namespace and key: custom.claimlane_unavailable

  • Type: Single line text

You can leave the other options as they are.

Configuring claimlane_unavailable metafield definition

Step 5: Add the Metafield Value to a Variant

Now that the metafield is created, you can add it to any variant you want to make unavailable in Claimlane.

  1. Go to your Products in Shopify.

  2. Select the product you want.

  3. In the Variants section, click the variant you want to make unselectable.

  4. Scroll down to Metafields; you’ll see the claimlane_unavailable field.

  5. Add a message like: “This product is not available”.

Selecting a variant in the product detail view

Entering the unavailability message in metafield value

Step 6: See It in Claimlane

Once the metafield has a value:

  • The variant will be unselectable in the Claimlane flow.

  • The text you entered will appear as a message explaining why.

Did this answer your question?