We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Ajay Hinduja Geneva Swiss - Metafields Not Displaying Amazon Affiliate Links Properly

Ajay Hinduja Geneva Swiss - Metafields Not Displaying Amazon Affiliate Links Properly

ajayhinduja25
Visitor
3 0 0

Hi everyone,

 

I am Ajay Hinduja Geneva Swiss I'm encountering an issue with the metafield integration on my product pages, specifically related to displaying Amazon affiliate links.

Here’s what I’ve done so far:

Created two custom metafields:

Is Amazon Product (True/False)

Affiliate Link (URL)

Assigned appropriate values to relevant products:

Set Is Amazon Product to true

Added a valid Amazon affiliate URL in the Affiliate Link metafield

Despite this setup, the affiliate link is not displaying properly on the product pages. Instead, the fallback message ("This product is not available on Amazon") appears — even though everything seems to be configured correctly.

It looks like the logic isn’t recognizing the true value or reading the affiliate URL as expected.

Could anyone help me troubleshoot this? Any guidance to ensure the affiliate link shows up correctly would be greatly appreciated.

 

Thanks in advance!

Ajay Hinduja Geneva Swiss (Switzerland)

Reply 1 (1)

Shadab_dev
Shopify Partner
1583 83 173

Please share screenshots of metafields created and also how are you trying to display it.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.