![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/Corals/modules/Marketplace/routes/ |
<?php use Illuminate\Support\Facades\Route; Route::group(['prefix' => 'marketplace', 'as' => 'marketplace.'], function () { Route::get('shop', ['as' => 'index', 'uses' => 'ShopController@index']); Route::get('shop/{slug}', ['as' => 'ma-show', 'uses' => 'ShopController@show']); Route::get('cart', 'CartController@index'); Route::group(['prefix' => 'checkout'], function () { Route::get('/', 'CheckoutController@index'); Route::post('/', 'CheckoutController@doCheckout'); Route::get('step/{step}', 'CheckoutController@checkoutStep'); Route::post('step/{step}', 'CheckoutController@saveCheckoutStep'); Route::get('shipping-address', 'CheckoutController@checkoutShippingAddress'); Route::get('order-success', 'CheckoutController@showOrderSuccessPage'); Route::get('redirect/{gateway}', 'CheckoutPublicController@redirectPage') ->middleware('signed') ->name('marketplace.checkout.redirect'); }); Route::get('products/get-bulk-copy-products-modal', 'ProductsController@getBulkCopyProductsModal'); Route::get('products/{product}/copy-product-modal', 'ProductsController@copyProductModal'); Route::post('products/{product}/copy-product', 'ProductsController@copyProduct'); Route::get('products/render-price-per-quantity-section-row', 'ProductsController@renderPricePerQuantitySectionRow'); Route::get('products/render-offer-section-row', 'ProductsController@renderOfferSectionRow'); Route::get('products/download/{id}', 'ProductsController@downloadFile'); Route::post('stores/bulk-action', 'StoresController@bulkAction'); Route::post('products/bulk-action', 'ProductsController@bulkAction'); Route::post('tags/bulk-action', 'TagsController@bulkAction'); Route::post('brands/bulk-action', 'BrandsController@bulkAction'); Route::post('coupons/bulk-action', 'CouponsController@bulkAction'); Route::resource('stores', 'StoresController'); Route::get('{target}/get-import-modal', 'MarketplaceImportController@getImportModal'); Route::get('{target}/download-import-sample', 'MarketplaceImportController@downloadImportSample'); Route::post('{target}/upload-import-file', 'MarketplaceImportController@uploadImportFile'); Route::resource('products', 'ProductsController'); Route::resource('categories', 'CategoriesController', ['except' => ['show']]); Route::get('categories/attributes/{product_id?}', 'CategoriesController@getCategoryAttributes'); Route::get('attributes/render-select-options', 'AttributesController@renderSelectOptions'); Route::get('attribute-sets/attributes/{product_id?}', 'AttributeSetsController@getSetAttributes'); Route::resource('attribute-sets', 'AttributeSetsController', ['except' => ['show']]); Route::resource('attributes', 'AttributesController', ['except' => ['show']]); Route::resource('tags', 'TagsController', ['except' => ['show']]); Route::resource('brands', 'BrandsController', ['except' => ['show']]); Route::post('products/{product}/create-gateway-product', ['as' => 'create-gateway-product', 'uses' => 'ProductsController@createGatewayProduct']); Route::get('categories/hierarchy', 'CategoriesController@categoriesHierarchy'); Route::post('categories/update-tree', 'CategoriesController@updateCategoriesHierarchy'); Route::post('categories/bulk-action', 'CategoriesController@bulkAction'); Route::group(['prefix' => 'products', 'as' => 'product-comments.'], function () { Route::post('{product}/create-comment', 'CommentController@createComment')->name('create-comment'); Route::post('{comment}/create-reply', 'CommentController@replyComment')->name('reply-comment'); }); Route::group(['prefix' => 'wishlist'], function () { Route::post('{product}', 'WishlistController@setWishlist'); Route::delete('{wishlist}', 'WishlistController@destroy'); Route::get('my', ['as' => 'my-wishlist', 'uses' => 'WishlistController@myWishlist']); }); Route::group(['prefix' => 'follow'], function () { Route::post('{store}', 'FollowController@setWishlist'); Route::delete('{wishlist}', 'FollowController@destroy'); Route::get('my', ['as' => 'store-follows', 'uses' => 'FollowController@myFollowList']); }); Route::get('products/sku/get-bulk-update-variations-modal', 'SKUController@getBulkUpdateVariationsModal'); Route::post('products/sku/bulk-action', 'SKUController@bulkAction'); Route::get('products/{product}/sku/bulk-generate', 'SKUBulkController@getBulkGenerateForm'); Route::post('products/{product}/sku/generate-skus', 'SKUBulkController@generateSKUs'); Route::get('products/{product}/sku/bulk-edit', 'SKUBulkController@getBulkEditForm'); Route::put('products/{product}/sku/bulk-update', 'SKUBulkController@postBulkEdit'); Route::resource('products.sku', 'SKUController'); Route::post('products/{product}/sku/{sku}/create-gateway-sku', ['as' => 'create-gateway-sku', 'uses' => 'SKUController@createGatewaySKU']); Route::post('orders/bulk-action', 'OrdersController@bulkAction'); Route::get('orders/my', ['as' => 'my-orders', 'uses' => 'OrdersController@myOrders']); Route::get('orders/store', ['as' => 'store-orders', 'uses' => 'OrdersController@storeOrders']); Route::group(['prefix' => 'orders'], function () { Route::post('{order}/payout', 'OrdersController@doPayout'); Route::get('{order}/refund-order', 'OrdersController@getRefundView'); Route::put('{order}/do-refund', 'OrdersController@doRefund'); }); Route::get('downloads/my', ['as' => 'my-downloads', 'uses' => 'OrdersController@myDownloads']); Route::get('private-pages/my', ['as' => 'my-private-pages', 'uses' => 'OrdersController@myPrivatePages']); Route::resource('orders', 'OrdersController', ['only' => ['index', 'show', 'edit', 'update']]); Route::get('orders/{order}/track/{tracking_number}', 'OrdersController@track'); Route::get('orders/{order}/download/{id}', 'OrdersController@downloadFile'); Route::get('settings', 'ShopController@settings'); Route::post('settings', 'ShopController@saveSettings'); Route::get('gateway-payment/{gateway}/{amount?}', 'CheckoutController@gatewayPayment'); Route::get('gateway-payment-token/{gateway}/{amount?}', 'CheckoutController@gatewayPaymentToken'); Route::get('gateway-check-payment-token/{gateway}', 'CheckoutController@gatewayCheckPaymentToken'); Route::resource('coupons', 'CouponsController'); Route::group(['prefix' => 'shippings'], function () { Route::get('get-rate-price-location/{index}', 'ShippingsController@getRatePriceLocationForm'); Route::get('upload', 'ShippingsController@upload'); Route::post('upload', 'ShippingsController@doUpload'); Route::get('import-report/{action}', 'ShippingsController@importShippingReport'); }); Route::resource('shippings', 'ShippingsController'); Route::get('packages/get-template-by-code/{code}', 'PackagesController@getPackageTemplateCode'); Route::resource('packages', 'PackagesController'); Route::get('store/settings', 'StoresController@settings'); Route::get('store/settings/check-connect-account/{gateway}/{account_id}', 'StoresController@recheckConnectedAccountStatus'); Route::post('store/settings', 'StoresController@saveSettings'); Route::get('store/enroll', 'StoresController@enroll'); Route::post('store/enroll', 'StoresController@doEnroll'); Route::group(['prefix' => 'transactions'], function () { Route::get('/', 'TransactionsController@index'); Route::get('withdraw', ['as' => 'withdraw-transactions', 'uses' => 'TransactionsController@withdraw']); }); Route::group(['prefix' => 'transactions'], function () { Route::get('/', 'TransactionsController@index'); Route::get('withdraw', ['as' => 'withdraw-transactions', 'uses' => 'TransactionsController@withdraw']); Route::post('withdraw', ['as' => 'post-withdraw-transactions', 'uses' => 'TransactionsController@requestWithdrawal']); }); Route::post('product/contact', 'ShopPublicController@contact'); }); Route::group(['prefix' => 'shop', 'as' => 'shop.'], function () { Route::get('/', ['as' => 'index', 'uses' => 'ShopPublicController@index']); Route::get('autocomeplete/{store?}', ['as' => 'autoComplete', 'uses' => 'ShopPublicController@autoCompleteProductSearch']); Route::get('stores', ['as' => 'index', 'uses' => 'StorePublicController@index']); Route::post('{product}/rate', ['as' => 'show', 'uses' => 'RatingController@createRating']); Route::get('{slug}', ['as' => 'ma-show', 'uses' => 'ShopPublicController@show']); Route::post('{slug}/price-per-quantity', ['as' => 'ec-show', 'uses' => 'ShopPublicController@getSKUPricePerQuantity']); }); Route::get('store/{slug}/return-policy', ['as' => 'show', 'uses' => 'ShopPublicController@showStore']); Route::get('store/{slug}', ['as' => 'show', 'uses' => 'ShopPublicController@showStore']); Route::group(['prefix' => 'cart'], function () { Route::get('/', 'CartPublicController@index'); Route::get('/summary', 'CartPublicController@getCartItemsSummary'); Route::post('empty', 'CartPublicController@emptyCart'); Route::post('quantity/{itemhash}', 'CartPublicController@setQuantity'); Route::post('{product}/add-to-cart/{sku?}', 'CartPublicController@addToCart'); Route::get('load/{email_token}', 'CartPublicController@loadAbandonedCart'); }); Route::group(['prefix' => 'checkout'], function () { Route::get('gateway-payment/{gateway}/{order?}', 'CheckoutPublicController@gatewayPayment'); Route::get('gateway-payment-token/{gateway}/{order?}', 'CheckoutPublicController@gatewayPaymentToken'); Route::get('gateway-check-payment-token/{gateway}', 'CheckoutPublicController@gatewayCheckPaymentToken'); Route::get('/', 'CheckoutPublicController@index'); Route::post('/', 'CheckoutPublicController@doCheckout'); Route::get('step/{step}', 'CheckoutPublicController@checkoutStep'); Route::post('step/{step}', 'CheckoutPublicController@saveCheckoutStep'); Route::get('shipping-address', 'CheckoutPublicController@checkoutShippingAddress'); Route::get('order-success', 'CheckoutPublicController@showOrderSuccessPage'); Route::get('order-failed', 'CheckoutPublicController@showOrderFailedPage'); Route::get('redirect/{gateway}', 'CheckoutPublicController@redirectPage') ->middleware('signed') ->name('marketplace.public.checkout.redirect'); }); Route::get('set-store/{store}', 'StoresController@setStore');