Comments Dimitris started the conversationSeptember 2, 2021 at 2:00pmHello, Could you please tell me, how can i display the message of "A product has been added to cart." after pressing the add to cart button with ajax functionality? THe example i want is in this link https://hn.arrowpress.net/lusion/product/apollo-sardine-in-chillivegetable-2/ (Press add to cart button and then you see the notification.) As i see in my template i cannot find the <div id="cart_added_msg_popup" style="margin-left: -135px; display: none;"><div id="cart_added_msg">A product has been added to cart.</div></div> when i add the above code in inspector it works. Is there exist an option in settings that i have to open it or i have to add it in files and if yes in which file? Thank you 605WordPress repliedSeptember 3, 2021 at 5:35amHello,Thanks for your purchase.You can go to WooCommerce -> Settings -> Products -> Turn off option Redirect to the cart page after successful addition Dimitris repliedSeptember 3, 2021 at 12:39pmHello, The checkbox is not checked. My problem is that although i have ajax functionality i could not display the success message of "A product has been added to cart." as the screenshot that i attached in first mailCould you help me ?THank you 605WordPress repliedSeptember 4, 2021 at 4:25amHello,How much are you using the theme version? Can you provide an account admin so I can check that problem for you? Sign in to reply ...
Hello,
Could you please tell me, how can i display the message of
"A product has been added to cart."
after pressing the add to cart button with ajax functionality?
THe example i want is in this link https://hn.arrowpress.net/lusion/product/apollo-sardine-in-chillivegetable-2/
(Press add to cart button and then you see the notification.)
As i see in my template i cannot find the
<div id="cart_added_msg_popup" style="margin-left: -135px; display: none;"><div id="cart_added_msg">A product has been added to cart.</div></div>
when i add the above code in inspector it works.
Is there exist an option in settings that i have to open it or i have to add it in files and if yes in which file?
Thank you
Hello,
Thanks for your purchase.
You can go to WooCommerce -> Settings -> Products -> Turn off option Redirect to the cart page after successful addition
Hello,
The checkbox is not checked. My problem is that although i have ajax functionality i could not display the success message of
"A product has been added to cart."
as the screenshot that i attached in first mail
Could you help me ?
THank you
Hello,
How much are you using the theme version?
Can you provide an account admin so I can check that problem for you?