Dynamic message that shows shipping option for each product

Topic summary

A small business owner using the Shopify Trade theme wants to display dynamic messages on product pages indicating availability for in-store pickup versus shipping. They have configured two locations: one for pickup only and one for shipping only.

The system needs to handle three scenarios:

  1. Pickup only (item not available for shipping from pickup location)
  2. Shipping only (item out of stock at pickup location)
  3. Both options available (item in stock at both locations)

The desired functionality resembles IKEA’s inventory indicators (red/green dots) that connect to real-time location inventory. Due to budget constraints, they’re seeking a code-based solution rather than a paid app.

A responder suggests using product metafields to implement this functionality, noting it requires backend coding to connect multiple components. They offer to provide assistance via direct message.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

I hope to add a dynamic message on the products page that lets customers know whether the product is available for purchase in store. I am using the Trade theme.

I have set up two locations - one for pick up only and one for shipping only, and shipping will not be fulfilled from the pick up point.

Here are some variants of the products:

  1. Available for pick up only as pick up point does not offer shipping
  2. Available for shipping only as the products are not in stock in the pick up point
  3. Both pick and shipping are available, meaning the products are in stock in two locations.

I understand that there are apps but since I am a small business, I can’t afford to subscribe an app. I hope that there are codes that connect to the inventory of the two locations, like IKEA, with the red and green dots.

Thank you so much!

If you don’t prefer an app to do this, you have to do this in the backend (code) as there are many parts that needs to be connected. Products have something called metafields which can be leveraged to do exactly that. If you want us to help out, please reach out in my DM’s.