Product image in mail order display error
-
I have inserted the code into the functions.php file to display the product images in the mail order, and it worked.
function sww_modify_wc_order_emails( $args ) {
$args[‘show_image’] = true;
$args[‘image_size’] = array( 100, 100 );
return $args;
}
add_filter( ‘woocommerce_email_order_items_args’, ‘sww_modify_wc_order_emails’ );However, after installing Plugins Litespeed cached, the product image is showing error, please help me.
WP.com: Yes
Correct account: Unknown -
We are unable to help because we don’t host your site directly on our WordPress.com managed hosting. Instead, your site is hosted with a different provider on a separate host, and we’re unable to access your site’s backend to take a closer look. But I can get you pointed in the right direction.
It sounds like you’re trying to customize your WooCommerce site? If so, please contact WooCommerce Support about this via https://woocommerce.com/my-account/create-a-ticket/ if you have any paid WooCommerce products, or https://wordpress.org/support/plugin/woocommerce/ if you do not and they can help you troubleshoot the issue.
I hope this points you in the right direction.
- The topic ‘Product image in mail order display error’ is closed to new replies.