Post by Kclub » Tue Nov 26, 2019 4:04 am

I'm trying to figure out how to make drop-down shopping cart to scroll items up and down. We had client today could not checkout because he put a lot of items in shopping cart and when he tried to click on little image of shopping cart at the top of the page, when drop-down box appeared the links to checkout end up being below his browser, he could not see them and he could not scroll it up to get to checkout button. Is there a script I can add and which page do I add it to and where on the page?
Other words what I need is in drop-down shopping cart to be able to scroll items up and down.

Newbie

Posts

Joined
Tue Nov 26, 2019 2:56 am

Post by IP_CAM » Wed Nov 27, 2019 2:09 am

Well, just post in the commercial Forum Section, and add your OC
Version and Theme Info, to possibly get an offer on such. ;)
Ernie

I don't use Forum Mail, to reach me, contact: jti@jacob.ch
-
Server Q & A Basic Information on Code + Settings
http://www.everyauction.info/serverinfo.html
-
Demoversion OpenCart LIGHT v.1.5.6.5
http://www.jti.li/shop/
-
1'300+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Kclub » Wed Nov 27, 2019 2:35 am

Sorry, forgot to mention, my opencart is 2.3.0.2. and I already fixed it. If anyone else need it, I added this script to custom css:

#header #cart .dropdown-menu > li:first-child{
max-height: 52vh;
overflow: hidden;
overflow-y: auto;
}

Newbie

Posts

Joined
Tue Nov 26, 2019 2:56 am

Post by cyclops12 » Wed Nov 27, 2019 2:37 am

Glad you sorted it and well done for posting the solution, may help others in future :)

Expert Member
Online

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by by mona » Wed Nov 27, 2019 2:48 am

+1 also from me for posting the solution - change the title to include [SOLVED] - seriously I want to sing :drunk: ..
(just to note to anyone in the future who might look at that confused max-height: 52vh; vh can be change to be px )

Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 29 guests