• Resolved glostservice1

    (@glostservice1)


    I’m trying to open the link of a custom taxonomy in a popup window rather than a new page.

    I’ve found this code online and it seems the right way to go but I’m not sure where I should enter it:

    <a href="https://www.google.com/search?q=nh-qeucn-002-uae/"
    target="popup"
    onclick="window.open('https://www.google.com/search?q=nh-qeucn-002-uae/','popup','width=600,height=600'); return false;"> Open Link in Popup
    
    Any suggestion?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support abhinava11n

    (@abhinava11n)

    Hi @glostservice1,

    I understand you’ve found a code online to open links in a pop-up window instead of a new page/tab.

    Please know that working with custom code snippets should be handled by professional developers as they are best positioned to check your site design and architecture, and make suggestions based on how to implement custom codes on your site.

    I am sharing some resources that you may find useful:

    Add WooCommerce Custom Code
    Customizing WooCommerce

    You might be interested in reaching out to one of our vetted developers on our?Customizations page?to implement this on your behalf.

    Best regards!

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful.

    If you have other questions related to core WooCommerce, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Open Links in a Popup Window’ is closed to new replies.