David S Johnston Posted April 5, 2016 Share Posted April 5, 2016 Hi, I need a splash screen for my website, and I have created a simple index.html, which I have placed in the root of my shop. I modified the header.tpl to include the index.php after the {$base_dir}. so that when the logo is clicked you return to the index page, and not the splashscreen. Now however when you try to add an item to the basket, the following error occurs: Impossible to add the product to the cart. textStatus: 'parsererror'errorThrown: 'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data'responseText: and under that part of the splash screen is shown. When I switch off ajax cart in cart block module, the problem goes away, but I really do like the ajax cart. Any ideas anyone? regards, Dave. PS 1.6.1.4 default bootstrap theme. Link to comment Share on other sites More sharing options...
tuk66 Posted April 6, 2016 Share Posted April 6, 2016 What is the URL? Link to comment Share on other sites More sharing options...
David S Johnston Posted April 6, 2016 Author Share Posted April 6, 2016 the url is www.solivera.nl I have disabled the slpash, but will enable it now, the only working link in the splash is the Can Solivera Europe one, the others will point to independantly managed sites. Dave. Link to comment Share on other sites More sharing options...
tuk66 Posted April 6, 2016 Share Posted April 6, 2016 I think the problem is with the splash URL and shop's URL - http://www.solivera.nl/ and http://www.solivera.nl/en/. You should have the shop completely independent, for example at http://www.solivera.nl/shop/ Link to comment Share on other sites More sharing options...
smith256 Posted April 6, 2016 Share Posted April 6, 2016 try that one : <?php // If a user choses to remove an item, then ts valid. if ($form_state['triggering_element']['#value'] == t('Remove')) { return; } ?> I am setting the issue as worked as designed as I can't see how this can be an issue on the latest version, however if this is still an issue feel free to reopen and provide more details to help me recreate the issue. 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