Product added to cart notification to stay in Cs-cart

I find it more user friendly for the “product added to cart” notification to stay unless clicked.
There is a one alphabet modification and you can achieve this.  This is touching the core file but one alphabet shouldn’t hurt.

In controllers\customer\checkout.php line 82, replace following line

fn_set_notification('P', fn_get_lang_var($product_cnt > 1 ? 'products_added_to_cart' : 'product_added_to_cart'), $msg, 'I');

with

fn_set_notification('P', fn_get_lang_var($product_cnt > 1 ? 'products_added_to_cart' : 'product_added_to_cart'), $msg, 'K');

add_to_cart_stay

Posted in CS-Cart, CS-Cart Addons, PHP

Leave a Reply

Your email address will not be published. Required fields are marked *

*