Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть #144

  • Stack Developers
  • 2019-06-20
  • 1987
#144
make ecom in laravelcreate ecommerce in laravel 5.8shipping charges laravelshipping laravelecommerce shipping module laravelintegrate shipping in laraveladd shipping charges laravellaravel 5.8 shippingshipping rates laravel ecom
  • ok logo

Скачать #144 бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно #144 или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку #144 бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео #144

In Part-144 of E-com series, we will start working on shipping charges that we will add on total amount of the order. We will give option in admin to add shipping for all countries.

There are 2 methods of adding shipping in E-commerce website. One is simple way of adding shipping for all countries and one is advanced way of adding shipping of all countries weightwise in which we will add weight for all products and shipping will be added according to the weight and country both.

In this video, we are going to add shipping module in admin panel in which we can add shipping charges for all country.

We can either create new "shipping_charges" table with countries and shipping charges or can update existing "countries" table.

1) Create "shipping_charges" table :-
First of all, create "shipping_charges" table with below columns :-
id (primary, ai)
country (varchar,255)
shipping_charges (float)
created_at (datetime)
updated_at (timestamp)

2) Insert data in "shipping_charges" table :-
Now we will insert all the countries in "shipping_charges" table. Also, shipping_charges will be set as 0 by default for all the countries.

We will add option in admin panel to update shipping charges for all countries.

3) Update admin_sidebar.blade.php file :-
Now update admin_sidebar.blade.php file with "View Shipping" link where we will display all countries with their shipping charges in table format.

4) Create ShippingController Controller :-
Now create ShippingController Controller file by running below artisan command :-
php artisan make:controller ShippingController

5) Create Shipping Model :-
Now create Shipping model file by running below artisan command :-
php artisan make:model Shipping

6) Create Route :-
Now create GET route for view shipping in web.php file like below :-

// View Shipping Charges
Route::get('/admin/view-shipping','ShippingController@viewShipping');

7) Create viewShipping function :-
Now create viewShipping function in ShippingController to get all shipping charges from shipping_charges table and return to shipping blade file that we will create.

8) Include Header Statement :-
Add below statement at the top of your ShippingController file to include ShippingCharges model :-
use App\ShippingCharges;

9) Create shipping_charges.blade.php file :-
Now create shipping folder under path \resources\views\admin\ in which we will create shipping_charges.blade.php file where we will loop through all shipping charges.

To be continued.. thanks for watching :)

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]