 
	
		Tagged: product image, woocommerce
- 
		AuthorPosts
- 
		
			
				
September 21, 2022 at 4:56 pm #1365881Hi, 
 Coinciding with the latest Enfold update, the images of the new products included in the WooCommerce default page appear cropped.
 I checked on WooCommerce, but couldn’t find the solution. I wonder if this is not due to the new Enfold update.
 Do you have any feedback on this?
 The site in question is this:
 https://clueb.it/libreria/
 where you can see the last two products inserted that have the cropped image.Best regards 
 OrianoSeptember 22, 2022 at 8:43 am #1365931Hey orianos, Thank you for the inquiry. You may need to add this filter in the functions.php file to revert the product thumbnail settings back to default. add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 ); function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) { return 'woocommerce_thumbnail'; }Related threads: // https://kriesi.at/support/topic/bug-in-enfold-for-woocommerce-prduct-images/ 
 // https://kriesi.at/support/topic/woocommerce-product-image-size-bug/Best regards, 
 IsmaelSeptember 22, 2022 at 11:47 am #1365970Hi Ismael, I have tried your workaround and it seems to work, Thanks. But now my question is: 
 this bug will be fix with the next Enfold update?
 I ask this to avoid that on the occasion of the next Enfold update this workaround code can create new conflicts.
 What is your opinion?Best regards 
 OrianoSeptember 23, 2022 at 10:04 am #1366073Hi, Thank you for the update. Did you use the filter? The filter can be added in the child theme’s functions.php file. You don’t have to redo it again on every update. It will override the default thumbnail shop_catalog and replace it woocommerce_thumbnail. Best regards, 
 IsmaelSeptember 23, 2022 at 10:46 am #1366084Hi Ismael, 
 Yes I use your filter and it seems to work, Thanks.
 Hope this bug will be fix with the next Enfold update?
 Best regards, and thank for Enfold theme :)
 OrianoSeptember 24, 2022 at 11:39 pm #1366234Hi, 
 Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards, 
 Mike
- 
		AuthorPosts
- The topic ‘WooCommerce product img cropped on default shop page, after Enfold Update’ is closed to new replies.
