|
/ Documentation /Cart Abandonment/ Filters to Customize Product Table

Filters to Customize Product Table

You can use the following filters to change styles –

This filter will help you to change the default styles of Product Table and Product Image in the emails –

/*
 * 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;
}

The below filter will display the Cart Total including Tax and Shipping cost in the Product Table –

// Show product table with cart total including tax and shipping cost
add_filter( 'woo_ca_recovery_enable_cart_total', '__return_true' );

Note: Above filter or custom code should be added to your child theme’s functions.php, here’s an article to help you Add Custom code.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Free Cartflows Form - Popup

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.