Page 1 of 1

Removing Shopping Cart Drop Down

Posted: Tue Oct 14, 2014 4:00 am
by toad78
I have modified the 'Shopping Cart' basket link to link to the actual Shopping Cart page. The link works, except I want to get rid of the drop down. The drop down 'flashes' before the cart page loads, which is ugly.
dorpdown.jpg

dorpdown.jpg (25.94 KiB) Viewed 1614 times

Any advice on how I can use an .xml override (or template override) to disable the drop down?

Re: Removing Shopping Cart Drop Down

Posted: Wed Oct 15, 2014 9:49 pm
by Xyph3r
in "stylesheet.css"...around line 166 you'll find

Code: Select all

#cart .dropdown-menu {
Under it, add

Code: Select all

display: none!important;
to just hide the dropdown. If you want to completely remove it..more changes are needed.

Re: Removing Shopping Cart Drop Down

Posted: Wed Oct 15, 2014 11:03 pm
by toad78
I guess more will need to be done because it still displays.

Re: Removing Shopping Cart Drop Down

Posted: Thu Oct 16, 2014 12:27 am
by Xyph3r
It shouldn't if you haven't change anything else. Can you post a link to your website?

L.E. - Wait a minute..what Opencart version are you using? It is 2.0, right?

Re: Removing Shopping Cart Drop Down

Posted: Thu Oct 16, 2014 3:13 am
by toad78
I'm sure it would've helped if I posted it in the first place: 1.5.x

Re: Removing Shopping Cart Drop Down

Posted: Thu Oct 16, 2014 5:56 am
by Xyph3r
Oh..this is the forum for 2.0.

For 1.5.x you should add

Code: Select all

display:none!important;
under

Code: Select all

#header #cart .content {
line

Re: Removing Shopping Cart Drop Down

Posted: Thu Oct 16, 2014 5:58 am
by toad78
Shame on me for not paying attention!

Thank you for correcting me.

Re: Removing Shopping Cart Drop Down

Posted: Thu Oct 16, 2014 7:30 am
by toad78
Nope. Same problem. I'll post in 1.5