Hi @gevcen,
I apologize for the inconvenience caused to you due to this.
Our dev team has created another solution for this. Below is the link to download the customized “wcal_send_email.php” file of our plugin which contains the modification i.e. a filter code according to your requirement.
Link: https://www.dropbox.com/s/1b7kwj5ql2rmc3b/wcal_send_email.php?dl=0
Kindly download the file from the above link. Please replace the contents of the existing file “wcal_send_email.php” with the new “wcal_send_email.php” via FTP.
Path: <WordPress Installation Directory> / wp-content / plugins / woocommerce-abandoned-cart / cron /<HERE>
?
Once you have replaced the provided file, then kindly add the below provided custom code in the “functions.php” file of your active theme. So the SKU and other information will not be added with the Product name in the abandoned cart reminder email.
Path: <WordPress Installation Directory> / wp-content / themes / <Your active theme folder>/ <HERE>
The code is:
function modify_name( $name, $v ) {
$product_id = $v->product_id;
if ( isset( $v->variation_id ) && ” != $v->variation_id ) { // variable product
$prod_name = get_post( $product_id );
$name = $prod_name->post_title;
}
return $name;
}
add_filter( ‘wcal_after_product_name’, ‘modify_name’, 10, 2 );
Once you will add the provided code at the respective place, please check and let us know whether the provided code snippet is working fine or not.
Regards,
Priyanka Jagtap