Shopify themes, liquid, logos, and UX
I have 2 products the same style/design, but they are different lengths and do not share same sizes/descriptions. Ive seen some stores when clicking the variant swatches it acts like a link and changes product pages. how can I do this?
thanks
Hello @xnyjyh ,
Using metafields it's possible.
You need to create a metafield for the product, name it destination URL or something.
In 2 step input the destination URL like for product A input destination URL the url of product B
and for product B input destination URL the url of product A
In the last step call these metafield in place of variants. You can style them a/to your needs.
In this way when you click on them the product will redirect to the destination URL.
Drop me an email if you need help with code part.
You can find email in below signature.
Thanks
Hi @xnyjyh ,
You can create two different product for each case and link them with the help of metaobject and custom code.
Please refer the below video how you can implement the same.
let me know if you have doubt or questions.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025