Anubis777 Posted November 8, 2011 Share Posted November 8, 2011 Hello, I'm trying to design my first theme for Prestashop and I have some problems in the cart block. The theme is based on the v1.5 template, but for the cart I'm using the v1.4 cart block, because it fits better in my design, and I like the expand/collapse effect. But I have a problem with the effect. When you load the page, refresh or navigate through different links, always appear both sections, the cart summary and the cart product list. The system "remembers" the state of the block, because the correct span (block_cart_expand or block_cart_collapse) is shown. But whatever the state, if you refresh the page or go to another, it shows again both sections. I've tested some CSS styles but I haven't solved it yet. I have noticed another fact. I've copied the "blockcart" module from the Prestashop modules folder to my theme folder, for customizing it (only for trying to solve the problem). I've made changes on the "blockcart.tpl" file and the changes were visible. But if I change anything on the "ajax-cart.js", nothing happens. How can I make the summary always appears when you refresh or navigate, and the product list stays hidden? Thank you in advance for your help. Regards. 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