PHP
--
Questions
--
Followers
Top Experts
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
if you want to change the message from server side then you can use AJAX
check this url
http://jqueryfordesigners.com/coda-popup-bubbles.1.html
This popup will hide automatically after a few seconds, allowing the user to add more item into the cart or check out.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I assuming you add to your cart with an AJAX call. In the script that you call, you'll need PHP to output the information you want in the message (1 more item added and total number of items in the cart). You then need to put the code I posted into the success() or done() function of the AJAX call.
If you want to post your PHP script that adds to the cart and the jQuery code for adding to a cart, then I can take another look.
My Subscription has ended so I removing my question
Please don't just delete question, particularly when Experts have spent the time helping. Either continue to engage with them or accept an answer.
I've offered you the code to solve your problem.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
PHP
--
Questions
--
Followers
Top Experts
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.