Home Forums WoodMart support forum External product images

External product images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #381633

    baileejo411
    Participant

    Hi Aizaz. Me again 🙂
    I am using external product images and they load fine on the product page itself and in the quick view, but not on the shop/catalog page. I saw there was another thread with a similar issue from a few years ago here: https://xtemos.com/forums/topic/external-feature-images/. Is that code you recommend there still relevant or can you recommend another fix?
    Thanks in advance!

    #381648

    Artem Temos
    Keymaster

    Hello,

    This code is for our Basel theme. Here is the one for WoodMart that should help you

    add_action( 'init', function() {
    	add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
    	remove_action( 'woocommerce_before_shop_loop_item_title', 'woodmart_template_loop_product_thumbnail', 10 );
    }, 1100 );

    Best Regards

    #381698

    baileejo411
    Participant

    That worked! Thank you 🙂

    #381717

    Artem Temos
    Keymaster

    Great, you are welcome!

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘External product images’ is closed to new replies.