I hope someone can help, I have recently gone live with our online shop using Tea Commerce, but seem to get some orders through with no address or contact details only the contents of the cart ordered. We have had two out of six orders like this within the last week.
I have tried test orders to see if I can replicate the problem, but seem to have a Cart error flash up with no error detailed.
That sounds bad. What is your basis code. Are you using our old or the new starter kit? Have you changed any code? If you have, could you post the code? Do you have any custom .net code, that might be failing?
Try to find out what the error is. You do that like this: When you get the cart error you can use Firebugs console to see if any calls have been made to the server and what response you get. The response should tell you what went wrong. Also you can use firebug to place a breakpoint in the error event and see what data you get there.
Just a small follow up on this one. We have used server side validation on some of our own Tea Commerce webshops, to secure correct data all the way. That doesn't mean that we don't have to find the problem you're having, but it could help. It pretty simple to implement and here's the recipe:
I can take a guess at the problem here as it sounds like something I did;
@David by any chance did you just change the names of the labels and textboxes for the address details, but not change the validation javascript? Meaning users are able to place orders without actually entering the address! From what I remember it threw a js error but you were still allowed to place an order.(luckily mine wasn't live!)
I'm sorry I haven't replied but I haven't had a chance to get online lately, thanks Bex I changed only the labels for the textboxes although you do have a good point, I may have changed these by mistake, I'll definately look at this.
No address on orders
Hello,
I hope someone can help, I have recently gone live with our online shop using Tea Commerce, but seem to get some orders through with no address or contact details only the contents of the cart ordered. We have had two out of six orders like this within the last week.
I have tried test orders to see if I can replicate the problem, but seem to have a Cart error flash up with no error detailed.
Any help on this would be greatly appreciated.
Regards
David
Hi David,
That sounds bad. What is your basis code.
Are you using our old or the new starter kit?
Have you changed any code? If you have, could you post the code?
Do you have any custom .net code, that might be failing?
Try to find out what the error is. You do that like this:
When you get the cart error you can use Firebugs console to see if any calls have been made to the server and what response you get. The response should tell you what went wrong. Also you can use firebug to place a breakpoint in the error event and see what data you get there.
/Rune
Just a small follow up on this one. We have used server side validation on some of our own Tea Commerce webshops, to secure correct data all the way. That doesn't mean that we don't have to find the problem you're having, but it could help. It pretty simple to implement and here's the recipe:
http://rune.gronkjaer.dk/en-US/2011/08/18/tea-commerce-server-side-validation/
/Rune
Rune,
Thanks for your reply.
The only thing I changed were the text/labels for the address/contact details such as changed zip code to post code etc. for UK addresses.
Thanks for the follow up, I'll have a look at this and use Firebug to get a better understanding of the error.
Thanks for your help
Regards
David
Great. And feel free to write again with your findings. To any problem, there's a solution.
/Rune
Hi David
Did you solve your problem?
I can take a guess at the problem here as it sounds like something I did;
@David by any chance did you just change the names of the labels and textboxes for the address details, but not change the validation javascript?
Meaning users are able to place orders without actually entering the address! From what I remember it threw a js error but you were still allowed to place an order.(luckily mine wasn't live!)
Good point Bex
/Rune
Hi David
Did you solve your problem?
Kind regards
Anders
Hi all,
I'm sorry I haven't replied but I haven't had a chance to get online lately, thanks Bex I changed only the labels for the textboxes although you do have a good point, I may have changed these by mistake, I'll definately look at this.
Thank you for your help.
David
is working on a reply...