• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

How to add two more input fields to address page in bagisto ecommerce

Knowledge Base
2
3
1.9k
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.
  • K
    Keerthi last edited by 17 Aug 2019, 08:50

    Hi,

    can anyone tell me how to add and two more input fields and then how to store that data into database from address page in bagisto ecommerce, please find below are the screenshot to add input fields.

    screencapture-localhost-bagisto-socialite-master-checkout-onepage-2019-08-17-14_16_34.png

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by 20 Aug 2019, 14:45

      Hi @Keerthi

      First of all you need to create a package or you can do it in your existing package but not in core system, then need to override this view file & can add your field in this file.

      According to your requirement, you need to add field in database (cart_address), override its model, create controller & provide your controllers path in route file ( you route file ).

      Like this for route -

        Route::post('/checkout/save-address', 'youcontrollerpath@method')->name('shop.checkout.save-address');
              });
      

      Doing this, Data will be save through your controller & can perform action according to your need.

      Thanks

      1 Reply Last reply Reply Quote 0
      • K
        Keerthi last edited by 22 Aug 2019, 06:51

        Hi Rahul,

        Thank you......!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post