Bagisto Forum

    Bagisto

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

    DateTime field on Checkout

    Knowledge Base
    2
    2
    266
    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
      sanjana singh last edited by

      The purchase process requires a select date option on checkout, but these dates are looked up dynamically from an API we have built. I am wondering what the easiest way is to add such functionality to the purchase process in bagisto

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

        Hello,

        Create a table called as order_date_time table which consist date, time, cart_id, order_id fields.
        Override checkout view and fetch data from APi to show fields for it.
        Create a function in in your controller to save it.
        You need to do all of these things in your package, creating route , controllers and views.

        Thanks

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