Product Variant which is an link to external website (amazon)

ldwdesign
Visitor
1 0 0

Hi,

 

Each product which is sold as a number of different variants, for example paperback, hardback, audiobook.  I also want to add a variant which is for Kindle, these are currently only available on Amazon. 

 

Need the user to be able to press kindle as a variant and be directed to amzons page for that product.

 

Is this possible, if not is there another way around this?

 

Many thanks

Nat 

 

Reply 1 (1)

Developer-G
Shopify Partner
3069 602 855

Hello Nat,

 

Yes it's possible using a variant metafield.

Through this option admin can declare external URL for each variant if the variant has.

This option can be enabled from the settings but the functionality can be done from the code where you need a developer
Or if you are good with code, try to fetch the variant metafield and check whether a variant has an external url value or not. A/to this logic redirect the variant to the target URL. 

Thanks

 

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter