Assistance Needed for Button Buy from Retailer or where to buy Option Setup

Assistance Needed for Button Buy from Retailer or where to buy Option Setup

NishadSyed
New Member
6 0 0

Hi Team,

I need to create a "Buy" option similar to the one in the link below. When users click the link, they should see our retailer list, just like in the example.

Could someone assist me with this? If there is a tutorial or video guide available, please share it with me.

Thank you!
https://www.blackanddecker.ae/product/or013fd-b5/oil-radiator-heater-13-fin-fan-forced?tid=587026
 if somebody Gide me i can do it, send me full tutorial, help me please

NishadSyed_0-1742973965743.png

 

Replies 2 (2)

Dotsquares
Shopify Partner
390 25 52

hi @NishadSyed 

You can create a "Buy" button that links to a retailer list using a few different methods. Here’s a step-by-step guide:

 

Option 1: Using Shopify Custom Pages (No Code)
Go to Shopify Admin > Online Store > Pages

Create a New Page named "Where to Buy"

List Your Retailers manually with links to their product pages

Add a "Buy" Button to your product pages linking to this retailer list

 

Option 2: Using Metafields for Retailer Links
Go to Settings > Custom Data > Products

Add a Metafield for "Retailer Links"

Edit each product and insert retailer links in the metafield

Modify Product Page Template:

Open product.liquid or main-product.liquid in Edit Code

Add this where you want the "Buy" button to appear:

{% if product.metafields.custom.retailer_links %}
    <a href="{{ product.metafields.custom.retailer_links }}" class="btn">Buy Now</a>
{% endif %}

 

Option 3: Shopify App (Easiest Method)

Use an app like Where to Buy Button or Stockist Store Locator to add retailer links dynamically.

 

Dotsquares Ltd


Problem Solved? ✔ Accept and Like solution to help future merchants.


Shopify Partner Directory | Trustpilot | Portfolio
NishadSyed
New Member
6 0 0

I need option 2 with more detail. If you have any tutorial videos, please send them to me as they would be very helpful.