NSMatt Posted August 10, 2016 Share Posted August 10, 2016 Hi all, Hope you can help as I'm a little stumped! One of our sites has recently been displaying some strange behaviour when adding items to the cart and within the cart itself. Adding an item only works sometimes, then visiting the cart itself it will display Empty Cart. Clicking the Update Cart button then will show the correct items in the cart. Even the Empty Cart button needs the Update Cart button to be clicked afterwards. As a little background: Theme: Custom version of the Foundation theme Version 6.0.8 (afraid of updating in case it breaks something) Hope someone has experienced something similar and can advise! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 10, 2016 Share Posted August 10, 2016 Since you're on an older version, please check to see if you have any snippets you don't recognize. Quote Link to comment Share on other sites More sharing options...
NSMatt Posted August 11, 2016 Author Share Posted August 11, 2016 Thanks for the reply, not sure I follow. Do you mean check for code that I didn't add myself? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 11, 2016 Share Posted August 11, 2016 Yes. Look in the Settings>Manage Hooks>Code Snippets and be sure there is nothing there you didn't add. 6.0.8 has some security vulnerabilities that have been addressed in later versions. Quote Link to comment Share on other sites More sharing options...
ayz1 Posted August 11, 2016 Share Posted August 11, 2016 To test if this is core code or skin related you could try changing the skin to a stock skin e.g. a clean version of foundation and see if you can replicate the problem. If you can it is core code issue and an update should resolve it if not then it is skin related and you would need to find out what in the skin code is causing the problem. Quote Link to comment Share on other sites More sharing options...
NSMatt Posted August 12, 2016 Author Share Posted August 12, 2016 Thanks for both your replies. Dirty Butter - There are 5 snippets that I don't recognise. I'm not sure if there are default snippets, but 4 of these show as "Google Analytics" each with the Trigger set as controller.admin and one with a Session Token in the PHP code section. Disabling all of these snippets however does not resolve the issues. ayz1 - Will give this a go and see if it's the issue. Am going to test updating to the latest version also (in a test environment!). 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.