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

Bagisto

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

How to customize the checkout flow

Knowledge Base
2
3
347
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.
  • F
    fabianjuarez last edited by 30 Oct 2020, 18:37

    Hello Bagisto Community

    What is the right way to customize the purchase flow, (add or remove steps: modify routes, controllers, models, views, etc)

    For example:

    • Separate the step to request the payment data can be a route such as checkout/payment
    • Or a view to collect specific data of each business, for example we need to collect beneficiary data for insurance such as Name, age, and others, typically for us this should have a step (route) shop/beneficiary-data (it must be shown before of payment details)

    I hope you can help me, thanks in advance.

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by devansh-webkul 2 Nov 2020, 10:13 2 Nov 2020, 10:13

      Hi @fabianjuarez,

      If you check this file packages/Webkul/Shop/src/Resources/views/checkout/onepage.blade.php there are several methods in the components which calling APIs.

      You can simply create one more method and hit your API to fetch data.

      It just up to the developer's choice for development.

      1 Reply Last reply Reply Quote 0
      • F
        fabianjuarez last edited by 7 Nov 2020, 18:53

        Hi @devansh-webkul, thanks for answering, I will try that way.

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