Author Topic: turn of province by checkout  (Read 805 times)

Offline rijwielparts

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
turn of province by checkout
« on: February 16, 2018, 08:31:47 AM »
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
« Last Edit: February 16, 2018, 10:14:38 AM by rijwielparts »

Offline maxter

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +28/-0
    • View Profile
Re: turn of province by checkout
« Reply #1 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.

Offline rijwielparts

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: turn of province by checkout
« Reply #2 on: February 20, 2018, 07:53:47 AM »
OK thanks for the reply i will check it out.

Offline rijwielparts

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: turn of province by checkout
« Reply #3 on: February 26, 2018, 10:00:46 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.

Offline maxter

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +28/-0
    • View Profile
Re: turn of province by checkout
« Reply #4 on: February 26, 2018, 10:26:43 AM »
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.


Offline rijwielparts

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: turn of province by checkout
« Reply #5 on: February 26, 2018, 10:45:45 AM »
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.
« Last Edit: February 26, 2018, 11:15:02 AM by rijwielparts »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3826
  • Karma: +185/-0
    • View Profile
Re: turn of province by checkout
« Reply #6 on: February 27, 2018, 12:19:45 AM »
Hi.
It should not work like you describe can you share your site URL?
“Chuck Norris is so amazing.”
― Mother Teresa

Offline rijwielparts

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: turn of province by checkout
« Reply #7 on: February 27, 2018, 04:37:59 AM »
Hi.
It should not work like you describe can you share your site URL?

www dot diepzoekermetaaldetectie dot nl

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3826
  • Karma: +185/-0
    • View Profile
Re: turn of province by checkout
« Reply #8 on: February 27, 2018, 05:08:15 AM »
yeap.... this is 3rd party template bug, not AbanteCart.

Please contact template developer
“Chuck Norris is so amazing.”
― Mother Teresa

Offline rijwielparts

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: turn of province by checkout
« Reply #9 on: February 27, 2018, 07:15:55 AM »
thanks!