Change product image in woocommerce


I want to change size of the product image. 600 x 600 ist to large. Changes via Wordpress/Woocommerce backend doesn't work in beans.

Filter in beans for post images works. But filter for product images doesn't work:

add_filter( 'beans_edit_post_image_args', 'image_edit_args' ); function image_edit_args( $args ) { if( is_shop() ) { return array_merge( $args, array( 'resize' => array( 400, 400, true ), ) ); } }

What can I do? How can I change product images in beans?

Write a reply

Login or register to write a reply, it's free!