Viewing 3 replies - 1 through 3 (of 3 total)
  • I figured this out, posted solution here: http://stackoverflow.com/a/34348899/5693663

    Posted abridged version of that post here as well:

    File Name: woocommerce.php

    File Location: wp-content/themes/’your-theme’/theme/woocommerce.php

    Added the following code:

    if(!is_single() ) {
    if( $product->is_type( ‘external’ ) ){
    $product_url = $product->get_product_url() . ‘”target=”_blank””‘;
    } else( $product_url = get_permalink());
    } else ($product_url = get_permalink());
    Directly below:

    function woocommerce_template_loop_product_thumbnail() {

    global $product, $woocommerce_loop;
    Also:

    Removed all instances of “get_permalink()” with “$product_url” — with the exception of the code I added myself.

    Not working for me as well.

    https://www.fitevents.com/beast-food/

    Would be great if the solution mentioned above or similar was addressed by plugin itself. I don’t feel like modifying another file 🙁

    Plugin Contributor Jeremiah

    (@jprummer)

    Hi there!

    Thank you for your message. We have that feature in the pro version. Unfortunately it’s a support intensive feature which is why we charge for it. If you want a copy you can get one here: Improved External Products Pro

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘External link not working in archive page’ is closed to new replies.