Bagisto Forum

    Bagisto

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

    What is the best way to remove Billing Details from checkout page?

    Modules
    2
    2
    364
    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.
    • R
      RK REZA last edited by RK REZA

      How can I remove billing details completely from from checkout page?
      Or swap them?

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

        Hi @RK-REZA

        First of all, you need to override some of our checkout pages like - onepage.blade.php, customer-info.blade.php and review.blade.php.

        When you see onepage.blade.php, will get below line -

        use_for_shipping: true,
        

        turn it to false on your override view file.

        Now, you need to remove billing section from rest of two files.

        The above things are remove it from view, now it comes on functionality level.

        here, you need to create your controller which will save order address of customer so for it, create a same name route for address but it will call your package controller for address save.
        Now you need to remove validation as well so create a new address validation file according to your need and it will be done.

        The above mentioned procedure will be done on separate package, don't do in core one.

        To not show billing in admin section, you can override admin view also.

        Thanks

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