Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Disable The Popup Feature ? Rate Topic   - - - - -

 
  • miracles
  • Senior Member
  • Members
  • Join Date: 19-Sep 07
  • 1533 posts

Posted 09 July 2011 - 09:08 AM #1

When we click the add to cart button, popup shows the item was added to bucket, how can i disable that feature ?
CS-CART 3.0.6 GRENADE

Please vote for CDN Add-on

For SEO Article Submission, Forum Profile Links, Web 2.0 links, contact me through PM.

 
  • pzcs82
  • Newbie
  • Members
  • Join Date: 10-May 13
  • 5 posts

Posted 21 October 2015 - 10:32 AM #2

Any solutions? I'm interested as well.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21996 posts

Posted 21 October 2015 - 02:05 PM #3

Please disable the following line in the app/controllers/frontend/checkout.php file:

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

E.g.

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

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • s1awek
  • Newbie
  • Trial users
  • Join Date: 26-Jun 19
  • 1 posts

Posted 28 June 2019 - 08:10 AM #4

@CS-Cart-Expert:

 

I know that this is an old post, but it's one of the top answers in Google. Your solution works, but it's against developer guidelines here: https://docs.cs-cart...guidelines.html

 

Don’t Change Core Files

 

Any other solutions?

 

 

Please disable the following line in the app/controllers/frontend/checkout.php file:

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

E.g.

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