disable add to cart javascript alert in nopcommerce 1.80

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
How do i disable the "Product added to cart" alert when a customer adds a product to the cart?

Ive searched and found a some places where "Products.ProductHasBeenAddedToTheCart" is rendered, and commented them out, but the alert box persists.

I really need to get rid of the alert, so any help is appreciated, thanks
6 years ago
Hello There !! i think you need to change the code in the notification.cshtml there you need to change the following code to comment it out .. you will find the file under  presentation->Nop.web->View -> shared -> notification.cshtml or if your using any theme then go to theme and to view folder and follow the path above open the file
and comment or remove the piece of code

<!--<div id="dialog-notifications-success" style="display: none;">
    <span class="b-close" title="@T("Common.Close")">&nbsp;</span>
    <div></div>
</div>-->

<!--<div id="bar-notification" class="bar-notification" style="display: none;">
    <span class="b-close" title="@T("Common.Close")">&nbsp;</span>
    <div></div>
</div>-->
only comment above code ... best of luck
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.