Custom button (link to external URL) on product theme, but each product needs a unique URL.

Solved

Custom button (link to external URL) on product theme, but each product needs a unique URL.

MyScienceBoard
Shopify Partner
6 0 3

I offer templates for customers to access in Canva and when they are done with the design come back and upload to me for printing.  I added a custom button with Liquid to each product page in the Default Product theme.  However, each product needs a unique link to the Canva template.  Since the custom button is tied to the Default Product theme if I change the link for one product it changes the link for all products that are assigned to the Default Product theme.  

 

On the Product Card page the photos, descriptions, price, etc. are tied to the product setup page while the layout of the Product Card, buttons, photo placement, etc. are tied to the theme, in this case the Default Product theme.  

 

Is there a way to get that custom button with a unique link for each product without having to create a new theme for each product?

 

Example:  The Red Cosmos template.  When you click the "Open Template in Canva" it opens a new window and takes you to the Red Cosmos template in Canva.  If I select a different template, the same button takes me to the Red Cosmos template in Canva.  I need that link to be unique for each product.

Red Cosmos Screenshot.jpg

 

 

 

 

 

 

 

I hope this makes sense.  Thank you in advance!

 

Theme: Refresh  Site:  Red Cosmos Template on Website 

Accepted Solution (1)

abdulmoeed37
Shopify Partner
120 12 13

This is an accepted solution.

Hi @MyScienceBoard ,

 

you can easily use metafield for products, and in that metafield you can specify unique link for each product and you do not have to create seperate templates for each product

Helping shopify store owners.
Schedule free meeting for shopify store related problems:
If you need assistance with your store, feel free to contact me at abdulmoeed37@gmail.com
If my assistance was helpful, please consider liking and accepting the solution. Thank you!

View solution in original post

Reply 1 (1)

abdulmoeed37
Shopify Partner
120 12 13

This is an accepted solution.

Hi @MyScienceBoard ,

 

you can easily use metafield for products, and in that metafield you can specify unique link for each product and you do not have to create seperate templates for each product

Helping shopify store owners.
Schedule free meeting for shopify store related problems:
If you need assistance with your store, feel free to contact me at abdulmoeed37@gmail.com
If my assistance was helpful, please consider liking and accepting the solution. Thank you!