generated from boboko/starter
product custom fields
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use App\Http\Controllers\Checkout\CartController;
|
||||
use App\Http\Controllers\Checkout\CheckoutController;
|
||||
use App\Http\Controllers\Checkout\CustomFieldFileController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
@@ -52,6 +53,12 @@
|
||||
->whereNumber('line')
|
||||
->name('checkout.cart.remove');
|
||||
|
||||
// A line's custom-field file (e.g. the shopper's photo) — signed,
|
||||
// temporary URLs only; see CustomFieldFileController.
|
||||
Route::get('cart/custom-field-file', CustomFieldFileController::class)
|
||||
->middleware('signed')
|
||||
->name('checkout.custom-field-file');
|
||||
|
||||
Route::post('cart/coupon', [CartController::class, 'applyCoupon'])
|
||||
->name('checkout.cart.coupon.apply');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user