babyewok Posted October 15, 2010 Share Posted October 15, 2010 HELP!! When a customer chooses their product combination, then adds custom text and clicks save, the combination reverts to the default combination!One of my client's customers did not notice this and my client has just sent out a personalised item to her in THE WRONG COLOUR!It is imperitive that this gets sorted out. If you save the custom text first and THEN choose your combination then the correct combination is added to the basket. However, it's not really practical to just say save your name and then choose the poduct options - we need a proper solution.Please help - my client is paniking that more orders may have gone out incorrect and also there have been a number of abandoned baskets - perhaos people getting frustrated with the colour they choses not getting put through to the cart?!!EDIT - This only seems to happen with colours - other atributes seem to stay as selected Link to comment Share on other sites More sharing options...
babyewok Posted October 15, 2010 Author Share Posted October 15, 2010 OK, well this is weird - I was just trying some stuff out on my test version on my local computer and the colour stays selected even if I add and save the name AFTER selecting the colour! However, on my clients's live site, it reverts bback to the default. Why would that be? Link to comment Share on other sites More sharing options...
babyewok Posted October 15, 2010 Author Share Posted October 15, 2010 Well this gets even weirder - this problem only occurs on some products not all! Any ideas? Link to comment Share on other sites More sharing options...
rocky Posted October 16, 2010 Share Posted October 16, 2010 Check for Javascript errors. They can prevent attributes being changed from the default ones. Link to comment Share on other sites More sharing options...
babyewok Posted October 16, 2010 Author Share Posted October 16, 2010 I tried that nothing seems to come up in firebug - is there a more direct way I can check for errors? Would it be a particular file? Link to comment Share on other sites More sharing options...
rocky Posted October 16, 2010 Share Posted October 16, 2010 I usually browse a website in IE and check for a "Done, with errors" icon in the bottom-left corner. Clicking the icon will display Javascript errors. Link to comment Share on other sites More sharing options...
babyewok Posted October 16, 2010 Author Share Posted October 16, 2010 Alas, there are no errors reported.... Link to comment Share on other sites More sharing options...
babyewok Posted October 16, 2010 Author Share Posted October 16, 2010 I wonder if there is away to get the page NOT to refresh when you click save for the custom text...it is after all the whole refresh thing that is causing the problem Link to comment Share on other sites More sharing options...
babyewok Posted October 19, 2010 Author Share Posted October 19, 2010 I really don't understand why this would happen for some product and not others. For example, on the live site, this product page has no problems but this one does!Maybe you could look at the product pages for me and see if you notice anything awry? Link to comment Share on other sites More sharing options...
babyewok Posted October 19, 2010 Author Share Posted October 19, 2010 Well, I can see that adding &group_2=56 or &group_2=61 to the url of the page on which the colour stays selected on saving changes the colour selection (and therefore image) to the relevant colour. However on the page where saving causes the colour to revert to the default, adding wither to the end of the url makes no difference! The plot thickens... Link to comment Share on other sites More sharing options...
babyewok Posted October 19, 2010 Author Share Posted October 19, 2010 Oh my god! I've done it!!! Well technically you did it rocky...seraching throught the fourms brought up your post here: http://www.prestashop.com/forums/viewthread/65637/#286358and this fixed it! Well there was actually an error in the code you posted which caused a blank product page. This is what I ended up with: {$group_attribute|escape:'htmlall':'UTF-8'} 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