Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

shopping cart not validating valid phone number

Started by oembry, August 15, 2021, 02:38:29 PM

Previous topic - Next topic

oembry

I have installed the latest 1.3.1 version on a development server.  I created a product and am getting stuck on the checkout.

1. I am entering a valid phone number but the non-verbose JavaScript does not tell me the proper format, assuming that this is the issue.

2. There is no way to make the phone number, optional.  I could care less about getting a phone number.  I do believe in past versions, it was optional.  With this new version and various bug fixes and upgrades, the checkout should be a part of Settings, so that it can be customized for your store.

llegrand

I believe that the phone number is not your issue.   There is no requirement for the phone number field and it does not check for any specific number format.

Are you trying a guest checkout?  Which checkout page are you getting stuck on?  Are you seeing any warning within the checkout page,  perhaps not checking a read box that is enabled?   It usually appears towards the top of your checkout page

Suggest you look into your error logs.   

Perhaps enable a higher level of debug - see this link for more information.

https://abantecart.atlassian.net/wiki/spaces/AD/pages/7569496/Debug


Basara

#2
Hello.
You can disable the phone required field in the Fast checkout settings: Require Phone Number OFF or you can change the regex to allow any format you like in the  checkout settings https://abantecart.atlassian.net/wiki/spaces/AD/pages/2375221249/Phone+Validation+Regex+Pattern

oembry

Thank you both for your responses.  I have just modified the Debug settings.

It happens on this page: index.php?rt=checkout/fast_checkout

How do I disable Fast Checkout?

llegrand

Fast checkout is a default extension that is control within the extensions.  Here's the info for you

https://abantecart.atlassian.net/wiki/spaces/AD/pages/1529741323/Fast+checkout

a reminder that Basara indicated within the Fast checkout extension you can control the settings for phone number.  But is not a required field within the regular default check out.


Forum Rules Code of conduct
AbanteCart.com 2010 -