angelfins Posted January 6, 2016 Share Posted January 6, 2016 Hi Ive just made the upgrade from CC5 to CC6. Im using the minimaliser skin and the cart and account buttons dont work. http://www.angelfins.co.uk/shopYou can get to the cart once adding a product inThe search button was doing the same but managed to sort. Any help would be great Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 6, 2016 Share Posted January 6, 2016 My guess is that for the files 1.foundation.min.js and 2.cubecart.js have been inappropriately "minified" (better term, 'squeezed'). All the line endings seem to have disappeared.These files, as they exist in the Minimalizer skin folder, are not able to be squeezed -- yet they are.Why not able to be squeezed?statement 1; // Comment statement 2; When line endings removed: statement 1; // Comment statement 2; We now see that all the code in this script after the double slash is now considered part of the comment.Squeezing (or minifying) code is more than simply removing line endings. Comments need managing and unquoted spaces and tabs can be removed.I suggest that you copy the following files from the stock Foundation skin into the Minimalizer skin:1.foundation.min.js2.cubecart.js3.cubecart.validate.js Quote Link to comment Share on other sites More sharing options...
angelfins Posted January 6, 2016 Author Share Posted January 6, 2016 amazing - its now working. Thanks so much for the quick response Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 6, 2016 Share Posted January 6, 2016 Looking at the files in a package of the Minimalizer skin (that I downloaded last October), they have the line breaks in them. I just now downloaded a fresh copy and these files have line breaks.So, by someone or somehow, these files as they sat in your site got 'squeezed' after the fact. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.