Thumbnails for Hotlink images
-
Dear Team, We have some products for which the images are not stored in our server, but are hotlinked (directly from the merchant’s website). The images for such products are visible on the individual product pages, but not in the thumbnails.
We checked the same for the default wordpress theme, and the thumbnails are showing up there. However thumbnails are not showing up with Woodmart theme. Can you suggest a solution to this? Link to all such products is mentioned below.
Hello,
Please, send us a screenshot of how it looks with a default WordPress theme and your admin access. Also, send a direct link to some example so we can test with different themes.
Kind Regards
Dear Team,
Please find attached the screenshots of how it looks with Woodmart vs Default Theme.
Also mentioned below is the example link of collections page where the thumbnails are not visible.
Also mentioned store admin details in Private Content.
Attachments:
You must be
logged in to view attached files.
Try to add the following PHP code snippet to the child theme functions.php file to fix this
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 );
That worked like a charm! Thanks a lot team for your awesome support!
The topic ‘Thumbnails for Hotlink images’ is closed to new replies.