Bagisto Forum

    Bagisto

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

    how to create and Customer custom attribute

    General Discussion
    3
    5
    319
    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.
    • S
      samparker last edited by

      Hi,
      I have a requirement where we need to create a custom attribute for customer and store it at the time of registration and profile update. Attribute we can create with migration but we are not sure on how to save the values as we need to update the fillable array and we don't want to go with override model approach(not event sure if that will work). Is there any better solution?

      1 Reply Last reply Reply Quote 0
      • sanjayWebkul
        sanjayWebkul last edited by admin

        Hi there,
        For this you need to done changes on code, because we can not create attributes for the customer.

        1 Reply Last reply Reply Quote 0
        • sanjay-webkul
          sanjay-webkul last edited by

          Hi there,
          We can not create custom attributes for the customer in Bagisto.
          So for this you need to customize the code.

          1 Reply Last reply Reply Quote 0
          • S
            samparker last edited by

            Hello Sanjay,
            I know we can not create attributes in bagisto. Am looking for a correct approach for the customization that does not get affected when we upgrade bagisto

            1 Reply Last reply Reply Quote 0
            • sanjay-webkul
              sanjay-webkul last edited by

              @samparker said in how to create and Customer custom attribute:

              I know we can not create attributes in bagisto. Am looking for a correct approach for the customization that does not get affected when we upgrade bagisto

              Hi there,
              Which version of Bagisto are you using?

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