News:

AbanteCart v1.4.2 is released.

Main Menu

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

turn of province by checkout

Started by rijwielparts, February 16, 2018, 08:31:47 AM

Previous topic - Next topic

rijwielparts

Hello,

Is it in someway possible to turn off the selection option on the checkoutpage. I only need the country check box.

Best regards
Stefan

maxter

Please clarify what selection option do you have in mind? You do not need to collect shipping and payment addresses?

You will have to change the code for that. There are no settings for this.

rijwielparts

OK thanks for the reply i will check it out.

rijwielparts

Quote from: maxter on February 19, 2018, 08:25:32 AM
Please clarify what selection option do you have in mind? You do not need to collect shipping and payment addresses?

You will have to change the code for that. There are no settings for this.

When you checkout you need to fill in your address including country and province. I want to delete the province option in the checkout form that customers need to fill in.

maxter

My understanding you need this on guest checkout as logged in customer does not need to enter an address.

Here is the link to the code and line:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/checkout/guest_step_1.php#L349

You can make HTML type hidden and give a zone some hardcoded value for your zone.


rijwielparts

#5
The problem is this:

When customers want to register a account or guest checkout the country is automatic selected (netherlands). But when they click on the selection box for the province its empty,what they need to do first is change the country in another on (for example germany). After they did that they need to select the netherlands again and than the province checkbox is also working verry stange.

Basara

Hi.
It should not work like you describe can you share your site URL?

rijwielparts

Quote from: Basara on February 27, 2018, 12:19:45 AM
Hi.
It should not work like you describe can you share your site URL?

www dot diepzoekermetaaldetectie dot nl

Basara

yeap.... this is 3rd party template bug, not AbanteCart.

Please contact template developer


Forum Rules Code of conduct
AbanteCart.com 2010 -