Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
How to do internal links that is product pages to open in new tab using Trade theme
Solved! Go to the solution
This is an accepted solution.
Hello @urv
Go to your Shopify admin panel.
Click on "Online Store" and then "Themes."
Find the theme you want to edit, click on "Actions," and then select "Edit Code."
Locate the snippets/card-product.liquid file:
Find: id="CardLink
And Add These (target="_blank"), as shown in the images below:
Hope this works.
Thank you!
This is an accepted solution.
Hello @urv
Go to your Shopify admin panel.
Click on "Online Store" and then "Themes."
Find the theme you want to edit, click on "Actions," and then select "Edit Code."
Locate the snippets/card-product.liquid file:
Find: id="CardLink
And Add These (target="_blank"), as shown in the images below:
Hope this works.
Thank you!
Hi @Oscprofessional,
It works thank you so much!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025