Hello @manoranjan11,
You have opened a ticket on our support desk as well, we have answered you on our support, but adding an answer here so that this can he useful for other users.
We have a filter code available to modify the product table styles. This filter enables you to customize the default styles of the Product Table and Product Image in your emails.
I’ve already applied this filter code to my test website, and I’ve included two screenshots to illustrate the changes. Please take a look at?screenshot1?and?screenshot2?for a visual comparison.
/*
* The woo_ca_email_template_table_style filter allows you to change the default styles of
* product table & product image provided by WooCommerce Cart Abandonment Recovery plugin.
*
*/
add_filter( 'woo_ca_email_template_table_style', 'wcar_product_table_styles', 10 );
function wcar_product_table_styles( $style ){
$style['product_image']['style'] = 'height: 42px; width: 42px;';
$style['table']['style'] = 'color: #636363; border: 1px solid #e5e5e5; width:250px;';
$style['table']['attribute'] = 'align="center" ';
return $style;
}
To implement this filter code on your website, follow these steps:
- Add the provided filter code to your child theme’s functions.php file.
- If you’re not using a child theme, you can use a code snippet plugin to incorporate the filter code.
- After adding the code, send a test email to observe the differences in styling.
- Adjust the filter code as needed to achieve the desired styling changes.
This should allow you to personalize the product table and product image styles in your emails as per your requirements.
Hope this helps.
Let us know how it goes.