MaximilianCCM Posted June 20, 2011 Share Posted June 20, 2011 Hello,i like to display the shopping cart "closed" by default, i tried to edit some functions in the ajax-cart.js file but without success. Someone have the solution? Thank you! Link to comment Share on other sites More sharing options...
cammo Posted June 20, 2011 Share Posted June 20, 2011 Nice idea.. I think the default movement of the ajax cart is clunky. I don't like the way it 'over-expands' then comes back to size when a product is added.Not meaning to hijack your thread, but is there a way to take out the 'over-expansion' or bounce effect? Link to comment Share on other sites More sharing options...
MaximilianCCM Posted June 21, 2011 Author Share Posted June 21, 2011 Hello,unfortunally I haven't resolved it, but I think there must be a solution in the .js file. I have set the cookie that once it is closed, the cart remains closed thill the user open it again, but I need it closed by default...Any help or even an idea is welcome!Thank you! Link to comment Share on other sites More sharing options...
minic studio Posted September 9, 2011 Share Posted September 9, 2011 Hi! Paste this code int the ajax-cart.js file, into the begining of the file. The only thing is that every reload the cart will be collapsed. // Close the Cart by default $.ajax({ type: 'GET', url: baseDir + 'modules/blockcart/blockcart-set-collapse.php', async: true, data: 'ajax_blockcart_display=collapse' + '&rand=' + new Date().getTime() }); 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