Create your migration file as you always do in laravel
php artisan make:migration create_my_table
inside the /src folder from your package create a new folder Database.
Go to the Database folder and create a new folder Migrations.
Copy your generated migration file to packages/My/Package/src/Database
Open your package service provider and add your migrations folder to the boot method
class MyPackageServiceProvider extends ServiceProvider
* Perform post-registration booting of services..
* @return void
public function boot()
As you can see, we have a created ProductImage Helper to get product images in Product package.
In this helper there is a method called getGalleryImages which is returning images of product.
To show all variant images on product view page, first off all you need to override 'gallery.blade.php'.
Then create a helper function in your package and called your helper using your overrided view file.
Paste given code in your helpers getGalleryImages method.
Basically you want to change complete chceckout process so you can try in this way-
According to your requirement, you need to customise it completely.
As you want all Address, Shipping and Payment method are at first page. If you check our process then you will find that we are rendering each view after completing one process and like this.
So you need to render all view together.
In our these form, we have used form-scope so when user hits continue after filling all his above details then according to form request different function will be called as we are calling step by step.
You need to call them together, After that summary page will display.
Please try in this way or if you have better way than you can try using that that but we can sure you that if you stuck at any stage we will definitely help you.