Hello,
I am currently developing a theme to sell and I came across 1 problem.
I cannot find where to change checkout/cart template structure if the cart is empty! It all looks as intended if there's something in it, but when you empty it out it gets default template structure out of nowhere! Plz help!
Theme is here http://demo.lorjus.com/?tracking=oc
EDIT p.s. To see what I mean put something in the cart, go to "view cart" and then remove all products
that behaviour is inline with the default template/theme. The cart takes by default the width of the button that shows it, which in your case is very small. So you need to edit the CSS file for your theme and add the following at the end of the file (or edit the existing line appropriately):
Code: Select all
#cart .dropdown-menu{
min-width: 200px; /* or 10em, or whatever else looks good to you */
}
Flipping heck. I don't even know why I ask anything in this forum. It's not about the cart box at the top nav, It's about the cart page and where the hell it gets its template from if it's empty!adevi wrote:that behaviour is inline with the default template/theme. The cart takes by default the width of the button that shows it, which in your case is very small. So you need to edit the CSS file for your theme and add the following at the end of the file (or edit the existing line appropriately):
Code: Select all
#cart .dropdown-menu{ min-width: 200px; /* or 10em, or whatever else looks good to you */ }
well I did what you said, put products in the cart and then removed them, and the only difference I noticed was that the cart got really small when it was empty, so I assumed that was what you were referring to. I'm terribly sorry I misunderstood you and wasted my time and yours by trying to help.
I've tried again on the actual cart page, after removing the products the cart is emtpy, the breadcrumb bar doesn't quite extend the full length of the page, and there's a stray 'continue' button that doesn't do anything.
That's all I can see, because I can't scroll the page down because of some rogue JS or something. Actually I can scroll down if I disable JS but still nothing else different to note.
Frankly, I'm not surprised your having troubles, and to be perfectly blunt if I landed on that page the only thing I would be clicking is the back button.
good luck.
That's all I can see, because I can't scroll the page down because of some rogue JS or something. Actually I can scroll down if I disable JS but still nothing else different to note.
Frankly, I'm not surprised your having troubles, and to be perfectly blunt if I landed on that page the only thing I would be clicking is the back button.
good luck.
I found where the hell it comes from myself. Apparently all error pages (including empty shopping cart although it's not really an error) come from error/not_found and it's the only template I haven't had changed... Bye bye useless nabs, post more "how do I change my background color" posts. Useless community!
P.s. LOOOOOOOOOOL! DELETE MY REPLY ONCE MORE! I DARE YOU!
P.s. LOOOOOOOOOOL! DELETE MY REPLY ONCE MORE! I DARE YOU!
Who is online
Users browsing this forum: No registered users and 6 guests