hey can any one tell me how do i remove automatic scroll to top while adding items into cart
because its so annoying when we add items in cart and it take us to the top og the page
File /catalog/view/javascript/common.js
The code
should be changed to
The code
Code: Select all
$('html, body').animate({ scrollTop: 0 }, 'slow');
Code: Select all
//$('html, body').animate({ scrollTop: 0 }, 'slow');
We will soon have a lot of products on our website also. I removed it as explained above, but is there a better solution so customers do know they added something to their cart?
I hope someone has a solution for this, I am not very good with coding myself but simply removing it instead of replacing is by something else is not ideal either. Our website is www.sieradendirect.nl
I hope someone has a solution for this, I am not very good with coding myself but simply removing it instead of replacing is by something else is not ideal either. Our website is www.sieradendirect.nl
Check out the extension store for a solution you like. There are ones to show the cart as a popup for example.
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Who is online
Users browsing this forum: paulfeakins and 451 guests