Overrides the default WooCommerce product archive image size and forces it to load the full image size. Useful when you want higher-quality images displayed without cropping or resizing.
add_filter('single_product_archive_thumbnail_size', function ($size) {
return 'full';
}, 1000);