davency Posted March 17, 2016 Share Posted March 17, 2016 Hi everyone. If have a problem with Prestashop 1.6.1.4. Even though there's an item in the cart, the label saying "Your cart is empty" keeps appearing. Any ideas on why this is happening? Thanks in advance. Link to comment Share on other sites More sharing options...
shokinro Posted March 20, 2016 Share Posted March 20, 2016 are you using PrestaShop default theme? if not, it might be related the theme your are using. check related theme file to see if it the message "You cart is empty" is well conditioned. (not sure if it is in cart block or cart summary page, it might be in different location). Link to comment Share on other sites More sharing options...
davency Posted March 23, 2016 Author Share Posted March 23, 2016 Hi, no I'm using a custom one. Ok, I'll check that. Thx. Link to comment Share on other sites More sharing options...
davency Posted March 30, 2016 Author Share Posted March 30, 2016 Ok, problem is solved. If this may happen to anyone else in the future, check this: Add the "unvisible" class again in your custom css file and set it to "display:none". Don't know where it was overwritten or whatever happened to it. But it works now. 1 Link to comment Share on other sites More sharing options...
shokinro Posted March 30, 2016 Share Posted March 30, 2016 This visibility has to be dynamically, if the shopping cart is really empty, then this message should be displayed. This visibility should be set conditional, something like {if isset($empty)} <p class="alert alert-warning">{l s='Your shopping cart is empty.'}</p> {/if} Link to comment Share on other sites More sharing options...
dalich Posted July 10, 2016 Share Posted July 10, 2016 Can you be more specific as to where to place this code. I am running 1.5 (after dowgrading from 1.6). fairly fresh install with a custom theme. When a user is logged in, site seems fine, but if not logged in and placing thing in cart, once going to check-out or trying to login, the cart is then emptied. I thought it was something with cookies or the use/exclusion of the www in the domain, but I've tried this for the past 10 hours and I'm still stumped. Site is at duinokit.com Link to comment Share on other sites More sharing options...
shokinro Posted July 10, 2016 Share Posted July 10, 2016 it should be in this file /themes/YourThemeFolder\shopping-cart.tpl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now