Custom Billing/Shipping Details

Home Forums General Help Custom Billing/Shipping Details

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2484
    hendra
    Guest

    Hi there,
    I’m planning to open a online store which I expect to have local customer only. This means the country selection on checkout page is supposed to be no longer relevant for my shop. I want to remove this drop down so my customers doesn’t have to select the country whenever they want to do a checkout. Is there anyway to do this?

    thanks,
    hendra

    #2501
    Kelvin
    Keymaster

    This is easy.

    Around line 25 of dukapress.php is the list of countries. You can remove everything and leave only the country/countries that you want.

    Also, you want to change the order of appearance you can do it here. For example, you can make “USA” (or any other country) come before Afghanistan just by changing the order of appearance around line 25 of dukapress.php

    Does this help?

    #2513
    hendra
    Guest

    Thanks a bunch, this works! It’ll be great if in the future Duka provides control on its settings panel so admin doesn’t have to deal with the code.

    #2530
    Kelvin
    Keymaster

    We’ll make it happen. Soon. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Help’ is closed to new topics and replies.
© 2024 DukaPress. All rights reserved.
Design By Madoido.