OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce Custom locations list

This topic contains 5 replies, has 2 voices, and was last updated by  matthew.brookes 4 days, 6 hours ago.

  • Creator
    Topic
  • #41223

    matthew.brookes
    Participant

    Hi

    Is there a way to add additional locations into orocommerce? in the UK Counties are a bit of a mess due to changes over the years and i need to allow for some historical counties.

    thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #41228
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Hi Matthew,

    Please specify, what exactly do you mean by location info and how it’s currently managed?

    #41229

    matthew.brookes
    Participant

    Hi

    We would like to extend the list of counties that someone can select during the purchase process so as an example in the UK the correct county name is “West Berkshire” however locally a large number of people still use “Berkshire”

    i am trying to find out how i can extend the county list with some additional options such as Berkshire and if its possible to do via the admin?

    #41262

    matthew.brookes
    Participant

    HI

    Just a little nudge on this as i am keen to understand if there is a built in solution we can use to add more locations via the admin.

    thanks in advance.
    Matthew

    #41275
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    This list is not managed by the user interface. But you can add new countries with data migration (fixture) that work with Country entities.
    Here is the default migration that loading built-in country list:
    https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/AddressBundle/Migrations/Data/ORM/LoadCountryData.php#L15

    #41277

    matthew.brookes
    Participant

    Hi Andrey,

    thanks for the feedback and the link to the github repo. i will take a look at that.

    thanks,
    Matthew

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No