The solutions in these 2 download folders provide 3 different methods which enable you to open external links in new windows without modifying the code in the core WooCommerce files.
Once you have added your external link to your Product Data > External/Affiliate product > General > Product URL, you can follow the installation guide and your single & archive product links on all page types will open in new windows as seen in the following demo videos.
Shows both the archive & single product Add To Cart buttons opening in new windows when using Genesis & Twenty Twenty Two in the 2nd video.
Tested using the Twenty Twenty Two default theme for WordPress & the Genesis Sample child theme by StudioPress.
Installation – Method 1
There’s only 1 step :
Leave a Reply
You must be logged in to post a comment.