FleetCart/Modules/Cart/Routes/public.php
2023-12-03 14:07:47 +00:00

16 lines
719 B
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::get('cart', 'CartController@index')->name('cart.index');
Route::post('cart/items', 'CartItemController@store')->name('cart.items.store');
Route::any('cart/items/{cartItemId}', 'CartItemController@update')->name('cart.items.update');
Route::delete('cart/items/{cartItemId}', 'CartItemController@destroy')->name('cart.items.destroy');
Route::post('cart/clear', 'CartClearController@store')->name('cart.clear.store');
Route::post('cart/shipping-method', 'CartShippingMethodController@store')->name('cart.shipping_method.store');
Route::get('cart/cross-sell-products', 'CartCrossSellProductsController@index')->name('cart.cross_sell_products.index');