Hello,
is there a way after clicking on "Add to cart" to open minicart from header automattically ?
Thanks
Opencart 2.1.0.2
See if this solution provides what you need: viewtopic.php?t=86790 . It should also work for v2.x releases.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hi,
If you're using default theme, edit these files:
Find:
Add after:
If you're using default theme, edit these files:
Code: Select all
catalog\view\theme\default\template\product\product.tpl
catalog\view\javascript\common.js
Code: Select all
$('#cart > ul').load('index.php?route=common/cart/info ul li');
Code: Select all
$('#cart .dropdown-menu').dropdown('toggle');
Thank you for your help. Have a nice day!DigitCart wrote: ↑Thu Aug 02, 2018 10:00 pmHi,
If you're using default theme, edit these files:Find:Code: Select all
catalog\view\theme\default\template\product\product.tpl catalog\view\javascript\common.js
Add after:Code: Select all
$('#cart > ul').load('index.php?route=common/cart/info ul li');
Code: Select all
$('#cart .dropdown-menu').dropdown('toggle');
Solved :
Adding this line: $('#cart').addClass("open") resolve the problem.
Adding this line: $('#cart').addClass("open") resolve the problem.
Hello, sorry for bothering you . i've notice that , the popup is opening but the links( go to checkout and see cart is not working ) When i press on those links the minicart disappear.
No problem, please try:
Instead of:
Code: Select all
$('#cart').addClass('open');
Code: Select all
$('#cart .dropdown-menu').dropdown('toggle');
Who is online
Users browsing this forum: Amazon [Bot], paulfeakins and 431 guests