Images in shop page are not visible
-
Hi, my site’s shop page does not show product images. I am using a droppshiping service that loads the images from their cdn. I tried several themes and the images are loading just fine. this happens only with your theme.
Attachments:
You must be
logged in to view attached files.
Hello,
Please try to upload and test the image from the Media library.
Please make the full backup of your site as well as the Theme settings export and check the droppshiping service on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by Woocommerce.
Best Regards
Hi, I have already done what you are saying. Other thenes, including storefront load the images when uploaded and when they are on cdn. Your theme loads the images when uploaded but not when they are on cdn. Uploading the images is not an option as i have more than 24000 images.
Could you check why it’s not loading the images from cdn while other themes do?
Thanks
Hello,
Please provide your site admin access to the private area.
Best Regards
Thanks for your reply, where exactly is this code?
I have made a fresh install of woodmart in a newly configured server.
Hello,
Please disregard the previous message.
Please add this code:
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 );
To the functions.php of the child theme.
Best Regards
Thanks, this code solved the issue. Thanks
You are welcome! If you have any questions please feel free to contact us.
Best Regards