Hi,
I have installation of 1.5.5.1 and am getting following error when customer checks out as a guest he is unable to checkout because he is getting error
E-Mail Address does not appear to be valid!
Telephone must be between 3 and 32 characters!
even if buyer is putting correct details.
Same problem is not repeated if buyer chooses register acccount option.
Following is details from error logs
2013-09-10 19:43:09 - PHP Notice: Undefined index: email in /home/store503/public_html/catalog/controller/checkout/guest.php on line 193
2013-09-10 19:43:09 - PHP Notice: Undefined index: telephone in /home/store503/public_html/catalog/controller/checkout/guest.php on line 197
Any help would be welcome, since the site is live currently I have disabled guest checkout option because of this problem
I have installation of 1.5.5.1 and am getting following error when customer checks out as a guest he is unable to checkout because he is getting error
E-Mail Address does not appear to be valid!
Telephone must be between 3 and 32 characters!
even if buyer is putting correct details.
Same problem is not repeated if buyer chooses register acccount option.
Following is details from error logs
2013-09-10 19:43:09 - PHP Notice: Undefined index: email in /home/store503/public_html/catalog/controller/checkout/guest.php on line 193
2013-09-10 19:43:09 - PHP Notice: Undefined index: telephone in /home/store503/public_html/catalog/controller/checkout/guest.php on line 197
Any help would be welcome, since the site is live currently I have disabled guest checkout option because of this problem
Had a similar problem (with email).
Short answer: was because email now used type=email not type=text
Long answer: http://forum.opencart.com/viewtopic.php?f=20&t=108834
If phone number is sing type=tel, you'd get a similar problem.
Short answer: was because email now used type=email not type=text
Long answer: http://forum.opencart.com/viewtopic.php?f=20&t=108834
If phone number is sing type=tel, you'd get a similar problem.
I can reproduce this same error in 1.5.6 using the default template. The only way I can fix it is through system > settings > edit > option > guest checkout = no ..to force the customer to register.
This is not ideal. As a customer of other stores myself I can account for how frustrating having to jump through registration hoops is when you just wish to purchase.
Anyone got a fix to correct the guest purchase route?
This is not ideal. As a customer of other stores myself I can account for how frustrating having to jump through registration hoops is when you just wish to purchase.
Anyone got a fix to correct the guest purchase route?
Was this a fresh install of 1.5.6 or an upgrade? With my fresh install of 1.5.6 I can't reproduce this. Also if there is something specific that you do to reproduce that would be great to know.bunnybooboo wrote:I can reproduce this same error in 1.5.6 using the default template. The only way I can fix it is through system > settings > edit > option > guest checkout = no ..to force the customer to register.
This is not ideal. As a customer of other stores myself I can account for how frustrating having to jump through registration hoops is when you just wish to purchase.
Anyone got a fix to correct the guest purchase route?
Mike
cue4cheap not cheap quality
Actually I don't rightly know. I've been working on this startup so long I feel my brain is merging with this computer screen haha. POSSIBLY an upgrade but I'd need some help working out how to find that info.Cue4cheap wrote:Was this a fresh install of 1.5.6 or an upgrade? With my fresh install of 1.5.6 I can't reproduce this. Also if there is something specific that you do to reproduce that would be great to know.
Mike
Only you or the one who either installed fresh 1.5.6 or did an upgrade from another version would know. I don't know of any residuals that would give you a breadcrumb that you could follow and tell you if it was an upgrade.bunnybooboo wrote:Actually I don't rightly know. I've been working on this startup so long I feel my brain is merging with this computer screen haha. POSSIBLY an upgrade but I'd need some help working out how to find that info.Cue4cheap wrote:Was this a fresh install of 1.5.6 or an upgrade? With my fresh install of 1.5.6 I can't reproduce this. Also if there is something specific that you do to reproduce that would be great to know.
Mike
Mike
cue4cheap not cheap quality
I fixed it by modifying checkout.tpl.
In the Ajax calls of $('#button-guest').live('click', ... and $('#button-guest-shipping').live('click', ...
And where you see selectors for input[type=\'text\'] add input[type=\'email\'] and input[type=\'tel\'] for 'data:' parameters.
In the Ajax calls of $('#button-guest').live('click', ... and $('#button-guest-shipping').live('click', ...
And where you see selectors for input[type=\'text\'] add input[type=\'email\'] and input[type=\'tel\'] for 'data:' parameters.
Thanks for jumping in and helping out, the both of you.
Wow that worked brilliantly. Went to the thread you referenced a few posts above as you explained in slightly more detail there. Sorry I didn't initially flag it in my brain as being an answer. Works a treat.
The perfectionist in me can spot the fields aren't highlighted blue like the rest of the fields for address. Nothing major I guess but where would I correct that?
Wow that worked brilliantly. Went to the thread you referenced a few posts above as you explained in slightly more detail there. Sorry I didn't initially flag it in my brain as being an answer. Works a treat.
The perfectionist in me can spot the fields aren't highlighted blue like the rest of the fields for address. Nothing major I guess but where would I correct that?
HELP !!!
After installing this extension my checkout is not working if the client ads a product to the basket and checkout as a NEW client.
It gives the following errors:
- E-Mail Address does not appear to be valid!
- Telephone must be between 3 and 32 characters!
I already tried to implement the solution above in checkout.tpl but it does not work for me. May be i am doing sometinh wrong or the problem is different.
Anybody can help, please.
Thanks in advance.
After installing this extension my checkout is not working if the client ads a product to the basket and checkout as a NEW client.
It gives the following errors:
- E-Mail Address does not appear to be valid!
- Telephone must be between 3 and 32 characters!
I already tried to implement the solution above in checkout.tpl but it does not work for me. May be i am doing sometinh wrong or the problem is different.
Anybody can help, please.
Thanks in advance.
2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 142
2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 142
2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 146
2014-08-12 2:06:15 - PHP Notice: Undefined index: telephone in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 150
2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 142
2014-08-12 2:06:15 - PHP Notice: Undefined index: email in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 146
2014-08-12 2:06:15 - PHP Notice: Undefined index: telephone in /home/ascmico/public_html/upload/catalog/controller/checkout/register.php on line 150
SOLVED
ADD #payment-address input[type=\'email\'], #payment-address input[type=\'tel\'], TO SECTION
// Register
$('#button-register').live('click', function() {
AFTER
type: 'post',
data: $('#payment-address input[type=\'text\'], #payment-address input[type=\'email\'], #payment-address input[type=\'tel\'], #payment-address input[type=\'password\'], #payment-address input[type=\'checkbox\']:checked, #payment-address input[type=\'radio\']:checked, #payment-address input[type=\'hidden\'], #payment-address select'),
dataType: 'json',
ADD #payment-address input[type=\'email\'], #payment-address input[type=\'tel\'], TO SECTION
// Register
$('#button-register').live('click', function() {
AFTER
type: 'post',
data: $('#payment-address input[type=\'text\'], #payment-address input[type=\'email\'], #payment-address input[type=\'tel\'], #payment-address input[type=\'password\'], #payment-address input[type=\'checkbox\']:checked, #payment-address input[type=\'radio\']:checked, #payment-address input[type=\'hidden\'], #payment-address select'),
dataType: 'json',
Who is online
Users browsing this forum: paulfeakins and 36 guests