File: D:/HostingSpaces/Eurotools/euro-tools.nl/app/KommaApp/Shop/Cart/cartRoutes.php
<?php
use App\KommaApp\Shop\Cart\ShoppingCartController;
\Route::get('/nl/'. strtolower( __('shop/cart.cart', [], 'nl')), ShoppingCartController::class.'@index')->middleware('auth')->name('nl.shoppingcart');
\Route::get('/de/'. strtolower(__('shop/cart.cart', [], 'de')), ShoppingCartController::class.'@index')->middleware('auth')->name('de.shoppingcart');
\Route::get('/en/'. strtolower(__('shop/cart.cart', [], 'en')), ShoppingCartController::class.'@index')->middleware('auth')->name('en.shoppingcart');
\Route::post('/addProductToShoppingcart', ShoppingCartController::class.'@addProductToShoppingcart');
\Route::post('/removeItemFromShoppingcart', ShoppingCartController::class.'@removeItemFromShoppingcart');
\Route::post('/setItemAmountInShoppingcart', ShoppingCartController::class.'@setItemAmountInShoppingcart');
\Route::get('/getCartItemCount', ShoppingCartController::class.'@getCartItemCount');