Mini Ecommerce

Tips and posts related to ecommerce

 

Editing product data - crud of products

Step 01: In ProductController, adding edit() method public function edit( Product $product ) { $meta_title = 'Edit Product ' ....


Deleting product data - crud of products

Step 01: In ProductController, adding destroy() method public function destroy( Product $product ) { $product->delete(); $redirectTo = session()->get('submit_redirect'); if( !empty(...


Searching, filtering and saving sequence of product data - crud of products

Step 01: Adding following changes in list.blade.php under resources/view/products for search form and filtering links // search form All Products...


Listing rows of profiles - crud

Step 01: Changing index() method in ProfileController public function index( Request $request ) { $meta_title = 'All Profiles'; $query =...


Adding profile data - crud of profiles

Step 01: Adding profile add button just above of table element in list of profiles All Profiles Add Profile Step...


Editing and deleting profile data - crud of profiles

Step 01: In ProfileController, adding edit() method public function edit( Profile $profile ) { $meta_title = 'Edit Profile ' ....


Searching and saving sequence of profile data - crud of profiles

Step 01: Adding following changes in list.blade.php under resources/view/profiles for search form // search form All Profiles Add Profile Step...


Listing, adding, editing, deleting and saving order of frame widths - crud of frame widths

Step 01: Changing index() method in FrameWidthController public function index( ) { $meta_title = 'All Frame Widths'; $query = FrameWidth::query();...


Listing rows of orders - crud

Step 01: Changing index() method in OrderController public function index( Request $request ) { $meta_title = 'All Orders'; $query =...


Adding order with order item - cruds of order

Step 01: Adding add button just above of table element in list of products All Orders Add Order Step 02:...