Solved

Open external link in a new tab - Sense theme

Grant68
Tourist
7 0 3

Hi Guys, can anyone help me here. I'm using the new Online Store 2.0 theme Sense. How do I open external link in a new tab. I can do it in older themes using this: https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-...
But it doesn't work in Sense.

Please help.

Grant

 

Accepted Solution (1)
oscprofessional
Shopify Partner
15830 2369 3072

This is an accepted solution.

@Grant68 ,

If the solution is helpful to you then give a like and accept it!

Thanks!

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing

View solution in original post

Replies 10 (10)

oscprofessional
Shopify Partner
15830 2369 3072

@Grant68 ,

On which page do you want it?

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
Grant68
Tourist
7 0 3

Hi Oscprofessional.

 

It is for the whole site/Store. On older free themes its in the code. This is a link to a solution but the theme Sense doesn't have theme.js in the assets folder.

 

https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-...

 

Please let me know if you can help.

Thanks

Grant

 

oscprofessional
Shopify Partner
15830 2369 3072

@Grant68 ,

oscprofessional_0-1645522971669.png

Try to add in theme.liquid file.

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
Grant68
Tourist
7 0 3

Thanks. I tried it and does not work.

Screen Shot 2022-02-22 at 11.51.58.png

oscprofessional
Shopify Partner
15830 2369 3072

@Grant68 ,

oscprofessional_0-1645524244268.png

 

add script tag

<script></script>

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
Grant68
Tourist
7 0 3

Thank you. You are the best. It worked.

oscprofessional
Shopify Partner
15830 2369 3072

This is an accepted solution.

@Grant68 ,

If the solution is helpful to you then give a like and accept it!

Thanks!

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
esegelbaum
Tourist
5 0 0

Thanks for the tip.  You helped me as well with this solution.  Much appreciated!

BirchGlass
Visitor
1 0 0

This is brilliant thanks so much!!

anatchim
Tourist
7 0 1

March 12nd 2024, I used this on Dawn theme, and it works perfectly! Thank you so much!!