Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Remove field in customer page

    Knowledge Base
    2
    3
    442
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gablur last edited by

      I want to remove these fields in customer address page, since my country does not require zip code and 2 name field. Also I want to custom the Country dropdown to a list of local provinces/city (detail screenshot below)

      31cf67b8-4097-4d7a-87ba-2c1dc888bf2c-image.png

      The same thing for customer sign up page, I don't need 2 name field.

      ab8ef905-4857-44e0-b1f2-4661935a988b-image.png

      How can I do that, and is it necessesary to remove those field in the database? Thanks.

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @gablur

        First of all, you need to override view pages then need to override model.

        To override view in bagisto, please follow below one - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto

        For override model, please refer our doc- https://devdocs.bagisto.com/override-core-model.html

        Thanks

        1 Reply Last reply Reply Quote 1
        • G
          gablur last edited by

          Sorry for late reply.

          Which view pages and core models should I override?

          And since I don't want to innovate or changing anything except those fields, that means I should reuse the original code and remove the elements I don't need, right?

          Sorry for asking, I'm just new to web development and don't understand things well

          1 Reply Last reply Reply Quote 0
          • First post
            Last post