marketplace
|
|
@ -105,6 +105,7 @@
|
|||
"Webkul\\DebugBar\\": "packages/Webkul/DebugBar/src",
|
||||
"Webkul\\Marketing\\": "packages/Webkul/Marketing/src",
|
||||
"Webkul\\Notification\\": "packages/Webkul/Notification/src",
|
||||
"Webkul\\Marketplace\\": "packages/Webkul/Marketplace/src",
|
||||
"Sarga\\Shop\\": "packages/Sarga/Shop/src",
|
||||
"Sarga\\API\\": "packages/Sarga/API"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -276,6 +276,7 @@ return [
|
|||
Webkul\DebugBar\Providers\DebugBarServiceProvider::class,
|
||||
Webkul\Marketing\Providers\MarketingServiceProvider::class,
|
||||
Webkul\Notification\Providers\NotificationServiceProvider::class,
|
||||
Webkul\Marketplace\Providers\MarketplaceServiceProvider::class,
|
||||
Sarga\Shop\Providers\ShopServiceProvider::class,
|
||||
Sarga\API\Providers\APIServiceProvider::class
|
||||
],
|
||||
|
|
|
|||
|
|
@ -42,6 +42,47 @@ return [
|
|||
'port' => 2304, // Port to use with the "socket" driver
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Editor
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Choose your preferred editor to use when clicking file name.
|
||||
|
|
||||
| Supported: "phpstorm", "vscode", "vscode-insiders", "vscodium", "textmate", "emacs",
|
||||
| "sublime", "atom", "nova", "macvim", "idea", "netbeans",
|
||||
| "xdebug", "espresso"
|
||||
|
|
||||
*/
|
||||
|
||||
'editor' => env('DEBUGBAR_EDITOR', 'phpstorm'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Remote Path Mapping
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you are using a remote dev server, like Laravel Homestead, Docker, or
|
||||
| even a remote VPS, it will be necessary to specify your path mapping.
|
||||
|
|
||||
| Leaving one, or both of these, empty or null will not trigger the remote
|
||||
| URL changes and Debugbar will treat your editor links as local files.
|
||||
|
|
||||
| "remote_sites_path" is an absolute base path for your sites or projects
|
||||
| in Homestead, Vagrant, Docker, or another remote development server.
|
||||
|
|
||||
| Example value: "/home/vagrant/Code"
|
||||
|
|
||||
| "local_sites_path" is an absolute base path for your sites or projects
|
||||
| on your local computer where your IDE or code editor is running on.
|
||||
|
|
||||
| Example values: "/Users/<name>/Code", "C:\Users\<name>\Documents\Code"
|
||||
|
|
||||
*/
|
||||
|
||||
'remote_sites_path' => env('DEBUGBAR_REMOTE_SITES_PATH', ''),
|
||||
'local_sites_path' => env('DEBUGBAR_LOCAL_SITES_PATH', ''),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Vendors
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ return [
|
|||
| storing reading or downloading. Here you can customize that path.
|
||||
|
|
||||
*/
|
||||
'local_path' => storage_path('framework/laravel-excel'),
|
||||
'local_path' => storage_path('framework/cache/laravel-excel'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'theme' => env('IGNITION_THEME', 'dark'),
|
||||
'theme' => env('IGNITION_THEME', 'light'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1,16 +1,6 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of jwt-auth.
|
||||
*
|
||||
* (c) Sean Tymon <tymon148@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| JWT Authentication Secret
|
||||
|
|
@ -45,7 +35,6 @@ return [
|
|||
*/
|
||||
|
||||
'keys' => [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Public Key
|
||||
|
|
@ -82,7 +71,6 @@ return [
|
|||
*/
|
||||
|
||||
'passphrase' => env('JWT_PASSPHRASE'),
|
||||
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
@ -237,6 +225,17 @@ return [
|
|||
|
||||
'blacklist_grace_period' => env('JWT_BLACKLIST_GRACE_PERIOD', 0),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Show blacklisted token option
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Specify if you want to show black listed token exception on the laravel logs.
|
||||
|
|
||||
*/
|
||||
|
||||
'show_black_list_exception' => env('JWT_SHOW_BLACKLIST_EXCEPTION', 0),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cookies encryption
|
||||
|
|
@ -265,7 +264,6 @@ return [
|
|||
*/
|
||||
|
||||
'providers' => [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| JWT Provider
|
||||
|
|
@ -275,7 +273,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'jwt' => Tymon\JWTAuth\Providers\JWT\Lcobucci::class,
|
||||
'jwt' => PHPOpenSourceSaver\JWTAuth\Providers\JWT\Lcobucci::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -286,7 +284,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'auth' => Tymon\JWTAuth\Providers\Auth\Illuminate::class,
|
||||
'auth' => PHPOpenSourceSaver\JWTAuth\Providers\Auth\Illuminate::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -297,8 +295,6 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'storage' => Tymon\JWTAuth\Providers\Storage\Illuminate::class,
|
||||
|
||||
'storage' => PHPOpenSourceSaver\JWTAuth\Providers\Storage\Illuminate::class,
|
||||
],
|
||||
|
||||
];
|
||||
|
|
|
|||
|
|
@ -41,7 +41,20 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'queue' => env('SCOUT_QUEUE', true),
|
||||
'queue' => env('SCOUT_QUEUE', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Database Transactions
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This configuration option determines if your data will only be synced
|
||||
| with your search indexes after every open database transaction has
|
||||
| been committed, thus preventing any discarded data from syncing.
|
||||
|
|
||||
*/
|
||||
|
||||
'after_commit' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -72,6 +85,21 @@ return [
|
|||
|
||||
'soft_delete' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Identify User
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option allows you to control whether to notify the search engine
|
||||
| of the user performing the search. This is sometimes useful if the
|
||||
| engine supports any analytics based on this application's users.
|
||||
|
|
||||
| Supported engines: "algolia"
|
||||
|
|
||||
*/
|
||||
|
||||
'identify' => env('SCOUT_IDENTIFY', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Algolia Configuration
|
||||
|
|
|
|||
|
|
@ -0,0 +1,75 @@
|
|||
<?php
|
||||
|
||||
namespace Sarga\API\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use Webkul\RestApi\Http\Resources\V1\Shop\Customer\CustomerResource;
|
||||
|
||||
class Authentication extends \Webkul\RestApi\Http\Controllers\V1\Shop\Customer\AuthController
|
||||
{
|
||||
/**
|
||||
* Register the customer.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function register(Request $request)
|
||||
{
|
||||
$request->validate([
|
||||
'first_name' => 'required|string',
|
||||
'last_name' => 'required|string',
|
||||
'email' => 'required|email|unique:customers,email',
|
||||
'password' => 'required|confirmed|min:6',
|
||||
]);
|
||||
|
||||
$this->customerRepository->create([
|
||||
'first_name' => $request->first_name,
|
||||
'last_name' => $request->last_name,
|
||||
'email' => $request->email,
|
||||
'password' => bcrypt($request->password),
|
||||
'is_verified' => 1,
|
||||
'channel_id' => core()->getCurrentChannel()->id,
|
||||
'customer_group_id' => $this->customerGroupRepository->findOneWhere(['code' => 'general'])->id,
|
||||
]);
|
||||
|
||||
return response([
|
||||
'message' => 'Your account has been created successfully.',
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Login the customer.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function login(Request $request)
|
||||
{
|
||||
$request->validate([
|
||||
'email' => 'required|email',
|
||||
'password' => 'required',
|
||||
'device_name' => 'required',
|
||||
]);
|
||||
|
||||
$customer = $this->customerRepository->where('email', $request->email)->first();
|
||||
|
||||
if (! $customer || ! Hash::check($request->password, $customer->password)) {
|
||||
throw ValidationException::withMessages([
|
||||
'email' => ['The provided credentials are incorrect.'],
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Preventing multiple token creation.
|
||||
*/
|
||||
$customer->tokens()->delete();
|
||||
|
||||
return response([
|
||||
'data' => new CustomerResource($customer),
|
||||
'message' => 'Logged in successfully.',
|
||||
'token' => $customer->createToken($request->device_name, ['role:customer'])->plainTextToken,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"name": "bagisto/laravel-marketplace",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jitendra Singh",
|
||||
"email": "jitendra@webkul.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"konekt/concord": "^1.2"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Webkul\\Marketplace\\": "src/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Webkul\\Marketplace\\Providers\\MarketplaceServiceProvider"
|
||||
],
|
||||
"aliases": {}
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev"
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "npm run development",
|
||||
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
"watch-poll": "npm run watch -- --watch-poll",
|
||||
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
"prod": "npm run production",
|
||||
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^6.0.3",
|
||||
"jquery": "^3.2",
|
||||
"laravel-mix": "^5.0.0",
|
||||
"laravel-mix-merge-manifest": "^0.1.2",
|
||||
"sass": "^1.24.4",
|
||||
"sass-loader": "^8.0.2",
|
||||
"vue": "^2.6.10",
|
||||
"vue-template-compiler": "^2.6.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"chart.js": "^3.5.1",
|
||||
"vue-carousel": "^0.18.0"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
@charset "UTF-8";.social-icon{width:36px;height:36px}.copy-icon{background-image:url(../images/copy-icon.png);width:24px;height:24px}.mp-facebook-icon{background-image:url(../images/mp-facebook.svg)}.mp-twitter-icon{background-image:url(../images/mp-twiter.svg)}.mp-instagram-icon{background-image:url(../images/mp-instagram.svg)}.mp-pinterest-icon{background-image:url(../images/mp-pinterest.svg)}.mp-skype-icon{background-image:url(../images/mp-skype.svg)}.mp-linked-in-icon{background-image:url(../images/mp-linked-in.svg)}.mp-youtube-icon{background-image:url(../images/mp-youtube.svg)}.marketplace-icon{width:48px;height:48px;display:inline-block;background-size:cover;background-image:url(../images/Icon-Marketplace.svg)}.active.marketplace-icon,.active .marketplace-icon{background-image:url(../images/Icon-Marketplace-Active.svg)}.earnings:before{content:"\1F4B5"}.navigation .customers:before{content:"\E995"}.navbar-left{width:100px}.navbar-left ul.menubar li.menu-item{padding:10px 7px}.content-container{padding-left:100px}.product-price span{font-size:20px}.product-price .regular-price{color:#a5a5a5;text-decoration:line-through;margin-right:10px}.product-price .special-price{color:#ff6472}
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Icon-Dashboard</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icon-Dashboard" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g transform="translate(10.000000, 1.000000)">
|
||||
<rect id="Rectangle-2" stroke="#8E8E8E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" x="0" y="9" width="28" height="28"></rect>
|
||||
<circle id="Oval" fill="#FFFFFF" cx="28" cy="9" r="9"></circle>
|
||||
<circle id="Oval" stroke="#8E8E8E" stroke-width="2" cx="28" cy="9" r="4"></circle>
|
||||
<polyline id="Path-5" stroke="#8E8E8E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" points="7 26.8225098 10.6303711 22.1315918 15.5270996 25.3210449 21.5498047 18"></polyline>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Icon-Marketplace-Active</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icon-Marketplace-Active" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g id="Group-2" transform="translate(9.000000, 9.000000)" stroke="#0041FF" stroke-width="2">
|
||||
<rect id="Rectangle-12" fill="#FFFFFF" x="0" y="1" width="30" height="29" rx="1"></rect>
|
||||
<rect id="Rectangle" x="5" y="16" width="7" height="6" rx="1"></rect>
|
||||
<g id="Group" fill="#FFFFFF">
|
||||
<path d="M1,0 L9,0 C9.55228475,-1.01453063e-16 10,0.44771525 10,1 L10,4.5 C10,6.98528137 7.98528137,9 5.5,9 L4.5,9 C2.01471863,9 3.04359188e-16,6.98528137 0,4.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" id="Rectangle-12"></path>
|
||||
<path d="M10,0 L20,0 L20,4 C20,6.76142375 17.7614237,9 15,9 L15,9 C12.2385763,9 10,6.76142375 10,4 L10,0 Z" id="Rectangle-12-Copy"></path>
|
||||
<path d="M21,0 L29,0 C29.5522847,-1.01453063e-16 30,0.44771525 30,1 L30,4.5 C30,6.98528137 27.9852814,9 25.5,9 L24.5,9 C22.0147186,9 20,6.98528137 20,4.5 L20,1 C20,0.44771525 20.4477153,1.01453063e-16 21,0 Z" id="Rectangle-12-Copy-2"></path>
|
||||
</g>
|
||||
<path d="M17,16 L25,16 C25.5522847,16 26,16.4477153 26,17 L26,29 C26,29.5522847 25.5522847,30 25,30 L17,30 C16.4477153,30 16,29.5522847 16,29 L16,17 C16,16.4477153 16.4477153,16 17,16 Z" id="Rectangle-13"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Icon-Marketplace</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icon-Marketplace" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Group-2" transform="translate(9.000000, 9.000000)" fill="#FFFFFF" fill-rule="nonzero" stroke="#979797" stroke-width="2">
|
||||
<rect id="Rectangle-12" x="0" y="1" width="30" height="29" rx="1"></rect>
|
||||
<rect id="Rectangle" x="5" y="16" width="7" height="6" rx="1"></rect>
|
||||
<g id="Group">
|
||||
<path d="M1,0 L9,0 C9.55228475,-1.01453063e-16 10,0.44771525 10,1 L10,4.5 C10,6.98528137 7.98528137,9 5.5,9 L4.5,9 C2.01471863,9 3.04359188e-16,6.98528137 0,4.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" id="Rectangle-12"></path>
|
||||
<path d="M10,0 L20,0 L20,4 C20,6.76142375 17.7614237,9 15,9 L15,9 C12.2385763,9 10,6.76142375 10,4 L10,0 Z" id="Rectangle-12-Copy"></path>
|
||||
<path d="M21,0 L29,0 C29.5522847,-1.01453063e-16 30,0.44771525 30,1 L30,4.5 C30,6.98528137 27.9852814,9 25.5,9 L24.5,9 C22.0147186,9 20,6.98528137 20,4.5 L20,1 C20,0.44771525 20.4477153,1.01453063e-16 21,0 Z" id="Rectangle-12-Copy-2"></path>
|
||||
</g>
|
||||
<path d="M17,16 L25,16 C25.5522847,16 26,16.4477153 26,17 L26,29 C26,29.5522847 25.5522847,30 25,30 L17,30 C16.4477153,30 16,29.5522847 16,29 L16,17 C16,16.4477153 16.4477153,16 17,16 Z" id="Rectangle-13"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Icon-Pencil-Large</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icon-Pencil-Large" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g transform="translate(0.000000, 1.000000)" stroke="#979797" stroke-width="2">
|
||||
<polygon id="Combined-Shape" stroke-linecap="round" stroke-linejoin="round" transform="translate(11.000000, 11.500000) scale(1, -1) rotate(-45.000000) translate(-11.000000, -11.500000) " points="14 2.90864186 14 24 8 24 8 2.90864186 11 -1"></polygon>
|
||||
<path d="M14,4 L19,9" id="Path-10"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 888 B |
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Icon-Trash</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icon-Trash" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polygon id="Rectangle-10" stroke="#979797" stroke-width="2" points="4 5 7.39453125 5 9.64208984 2.00048828 14.6196289 2.00048828 16.6455078 5 20 5 20 8 4 8"></polygon>
|
||||
<polygon id="Rectangle-10" stroke="#979797" stroke-width="2" points="6 8 18 8 18 22 6 22"></polygon>
|
||||
<path d="M9,12 L9,18" id="Path-12" stroke="#979797" stroke-width="2"></path>
|
||||
<path d="M12,12 L12,18" id="Path-12-Copy" stroke="#979797" stroke-width="2"></path>
|
||||
<path d="M15,12 L15,18" id="Path-12-Copy-2" stroke="#979797" stroke-width="2"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Icon-remove</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Icon-remove" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<circle id="Oval-9" stroke="#979797" stroke-width="2" cx="12" cy="12" r="10"></circle>
|
||||
<g id="Icon-Cross-Sm" transform="translate(9.000000, 9.000000)" stroke="#8E8E8E" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
|
||||
<path d="M0,0 L6,6" id="Path-2"></path>
|
||||
<path d="M0,0 L6,6" id="Path-2" transform="translate(3.000000, 3.000000) scale(-1, 1) translate(-3.000000, -3.000000) "></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 911 B |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 224 B |
|
|
@ -0,0 +1,4 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 19L19 3L8 3" stroke="#979797" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 21L5 6L16 6L16 21L5 21Z" stroke="#979797" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="880px" height="500px" viewBox="0 0 880 500" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>default-banner</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<rect id="path-1" x="0" y="0" width="880" height="500"></rect>
|
||||
<rect id="path-3" x="0" y="0" width="880" height="500"></rect>
|
||||
</defs>
|
||||
<g id="Marketplace-Front" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="seller-profile-default" transform="translate(-520.000000, -186.000000)">
|
||||
<g id="Banner" transform="translate(520.000000, 186.000000)">
|
||||
<g id="default-banner">
|
||||
<g id="Banner">
|
||||
<g id="default-banner">
|
||||
<mask id="mask-2" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
<use id="Mask" fill="#D8D8D8" xlink:href="#path-1"></use>
|
||||
<g id="Group-+-Group-Copy-Mask" mask="url(#mask-2)">
|
||||
<mask id="mask-4" fill="white">
|
||||
<use xlink:href="#path-3"></use>
|
||||
</mask>
|
||||
<use id="Mask" fill="#E8E8E8" fill-rule="nonzero" xlink:href="#path-3"></use>
|
||||
<g id="Group" mask="url(#mask-4)">
|
||||
<g transform="translate(-133.000000, -304.000000)">
|
||||
<g id="feature-bg-2" transform="translate(0.000000, 278.000000)">
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="95.6444444 189.090909 64 125.818182 192 125.818182 160.355556 189.090909"></polygon>
|
||||
<path d="M150.518255,43.3397571 L192,126.545455 L150.518255,126.545455 L150.518255,43.3397571 Z M107.146762,126.545455 L64,126.545455 L107.146762,40 L107.146762,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M224.355556,447.972863 L287.644444,447.972863 L272.355556,478.545455 L239.644444,478.545455 L224.355556,447.972863 Z M208,415.2673 L192,383.272727 L320,383.272727 L304,415.2673 L208,415.2673 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M298.559142,341.090909 L255.272727,254.545455 L298.559142,254.545455 L298.559142,341.090909 Z M340.079381,254.770862 L383.272727,254.770862 L340.079381,341.021152 L340.079381,254.770862 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M351.644444,189.845319 L288.355556,189.845319 L303.644444,159.272727 L336.355556,159.272727 L351.644444,189.845319 Z M368,222.550882 L384,254.545455 L256,254.545455 L272,222.550882 L368,222.550882 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M214.518255,171.339757 L256,254.545455 L214.518255,254.545455 L214.518255,171.339757 Z M171.146762,254.545455 L128,254.545455 L171.146762,168 L171.146762,254.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<polygon id="Combined-Shape" fill="#F1F1F1" points="298.909091 341.090909 213.090909 341.090909 234.191039 298.909091 277.808961 298.909091"></polygon>
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="149.336476 552 128 509.090909 256 509.090909 234.663524 552"></polygon>
|
||||
<path d="M256.027137,126.545455 L225.454545,126.545455 L225.454545,61.1399387 L256.027137,0 L256.027137,126.545455 Z M288.7327,126.545455 L288.7327,62.5617978 L320.727273,126.545455 L288.7327,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M235.022222,212.589899 L276.977778,212.589899 L256,254.545455 L235.022222,212.589899 Z M213.336476,169.218406 L192,126.545455 L320,126.545455 L298.663524,169.218406 L213.336476,169.218406 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M127.299864,383.272727 L96.7272727,383.272727 L96.7272727,317.147791 L127.299864,256 L127.299864,383.272727 Z M160.005427,383.272727 L160.005427,318.569832 L192,383.272727 L160.005427,383.272727 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M192.021873,509.090909 L161.454545,509.090909 L161.454545,443.685393 L192.021873,382.545455 L192.021873,509.090909 Z M224.010936,509.090909 L224.010936,445.107252 L256,509.090909 L224.010936,509.090909 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M160.355556,64.7001357 L223.644444,64.7001357 L208.355556,95.2727273 L175.644444,95.2727273 L160.355556,64.7001357 Z M144,31.9945726 L128,0 L256,0 L240,31.9945726 L144,31.9945726 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M161.082828,319.24559 L224.371717,319.24559 L209.082828,349.818182 L176.371717,349.818182 L161.082828,319.24559 Z M144.727273,286.540027 L128.727273,254.545455 L256.727273,254.545455 L240.727273,286.540027 L144.727273,286.540027 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M106.666667,467.151515 L148.622222,467.151515 L127.644444,509.090909 L106.666667,467.151515 Z M85.3364757,425.929241 L64,383.272727 L192,383.272727 L170.663524,425.929241 L85.3364757,425.929241 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
</g>
|
||||
<g id="feature-bg-2" transform="translate(245.000000, 550.000000)">
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="95.6444444 189.090909 64 125.818182 192 125.818182 160.355556 189.090909"></polygon>
|
||||
<path d="M150.518255,43.3397571 L192,126.545455 L150.518255,126.545455 L150.518255,43.3397571 Z M107.146762,126.545455 L64,126.545455 L107.146762,40 L107.146762,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M95.6444444,189.118046 L32.3555556,189.118046 L47.6444444,158.545455 L80.3555556,158.545455 L95.6444444,189.118046 Z M112,221.823609 L128,253.818182 L0,253.818182 L16,221.823609 L112,221.823609 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M351.644444,189.845319 L288.355556,189.845319 L303.644444,159.272727 L336.355556,159.272727 L351.644444,189.845319 Z M368,222.550882 L384,254.545455 L256,254.545455 L272,222.550882 L368,222.550882 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M214.518255,171.339757 L256,254.545455 L214.518255,254.545455 L214.518255,171.339757 Z M171.146762,254.545455 L128,254.545455 L171.146762,168 L171.146762,254.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M256.027137,126.545455 L225.454545,126.545455 L225.454545,61.1399387 L256.027137,0 L256.027137,126.545455 Z M288.7327,126.545455 L288.7327,62.5617978 L320.727273,126.545455 L288.7327,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M235.022222,212.589899 L276.977778,212.589899 L256,254.545455 L235.022222,212.589899 Z M213.336476,169.218406 L192,126.545455 L320,126.545455 L298.663524,169.218406 L213.336476,169.218406 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="150 43 234 43 213.707865 83.5773863 170.292135 83.5773863"></polygon>
|
||||
</g>
|
||||
<g id="feature-bg-2-copy" transform="translate(245.000000, 0.000000)">
|
||||
<path d="M224.355556,447.972863 L287.644444,447.972863 L272.355556,478.545455 L239.644444,478.545455 L224.355556,447.972863 Z M208,415.2673 L192,383.272727 L320,383.272727 L304,415.2673 L208,415.2673 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M298.559142,341.090909 L255.272727,254.545455 L298.559142,254.545455 L298.559142,341.090909 Z M340.079381,254.770862 L383.272727,254.770862 L340.079381,341.021152 L340.079381,254.770862 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<polygon id="Combined-Shape" fill="#F1F1F1" points="298.909091 341.090909 213.090909 341.090909 234.191039 298.909091 277.808961 298.909091"></polygon>
|
||||
<path d="M43.0222222,341.311904 L84.9777778,341.311904 L64,383.272727 L43.0222222,341.311904 Z M21.3364757,297.223764 L0,254.545455 L128,254.545455 L106.663524,297.223764 L21.3364757,297.223764 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="149.336476 552 128 509.090909 256 509.090909 234.663524 552"></polygon>
|
||||
<path d="M127.299864,383.272727 L96.7272727,383.272727 L96.7272727,317.147791 L127.299864,256 L127.299864,383.272727 Z M160.005427,383.272727 L160.005427,318.569832 L192,383.272727 L160.005427,383.272727 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M192.021873,509.090909 L161.454545,509.090909 L161.454545,443.685393 L192.021873,382.545455 L192.021873,509.090909 Z M224.010936,509.090909 L224.010936,445.107252 L256,509.090909 L224.010936,509.090909 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M161.082828,319.24559 L224.371717,319.24559 L209.082828,349.818182 L176.371717,349.818182 L161.082828,319.24559 Z M144.727273,286.540027 L128.727273,254.545455 L256.727273,254.545455 L240.727273,286.540027 L144.727273,286.540027 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M106.666667,467.151515 L148.622222,467.151515 L127.644444,509.090909 L106.666667,467.151515 Z M85.3364757,425.929241 L64,383.272727 L192,383.272727 L170.663524,425.929241 L85.3364757,425.929241 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Group-Copy" mask="url(#mask-4)">
|
||||
<g transform="translate(357.000000, -304.000000)">
|
||||
<g id="feature-bg-2" transform="translate(0.000000, 278.000000)">
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="95.6444444 189.090909 64 125.818182 192 125.818182 160.355556 189.090909"></polygon>
|
||||
<path d="M150.518255,43.3397571 L192,126.545455 L150.518255,126.545455 L150.518255,43.3397571 Z M107.146762,126.545455 L64,126.545455 L107.146762,40 L107.146762,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M224.355556,447.972863 L287.644444,447.972863 L272.355556,478.545455 L239.644444,478.545455 L224.355556,447.972863 Z M208,415.2673 L192,383.272727 L320,383.272727 L304,415.2673 L208,415.2673 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M298.559142,341.090909 L255.272727,254.545455 L298.559142,254.545455 L298.559142,341.090909 Z M340.079381,254.770862 L383.272727,254.770862 L340.079381,341.021152 L340.079381,254.770862 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M95.6444444,189.118046 L32.3555556,189.118046 L47.6444444,158.545455 L80.3555556,158.545455 L95.6444444,189.118046 Z M112,221.823609 L128,253.818182 L0,253.818182 L16,221.823609 L112,221.823609 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M351.644444,189.845319 L288.355556,189.845319 L303.644444,159.272727 L336.355556,159.272727 L351.644444,189.845319 Z M368,222.550882 L384,254.545455 L256,254.545455 L272,222.550882 L368,222.550882 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M214.518255,171.339757 L256,254.545455 L214.518255,254.545455 L214.518255,171.339757 Z M171.146762,254.545455 L128,254.545455 L171.146762,168 L171.146762,254.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<polygon id="Combined-Shape" fill="#F1F1F1" points="298.909091 341.090909 213.090909 341.090909 234.191039 298.909091 277.808961 298.909091"></polygon>
|
||||
<path d="M43,334.545455 L84.9555556,334.545455 L63.9777778,376.506278 L43,334.545455 Z M21.3364757,297.223764 L0,254.545455 L128,254.545455 L106.663524,297.223764 L21.3364757,297.223764 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="149.336476 552 128 509.090909 256 509.090909 234.663524 552"></polygon>
|
||||
<path d="M256.027137,126.545455 L225.454545,126.545455 L225.454545,61.1399387 L256.027137,0 L256.027137,126.545455 Z M288.7327,126.545455 L288.7327,62.5617978 L320.727273,126.545455 L288.7327,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M235.022222,212.589899 L276.977778,212.589899 L256,254.545455 L235.022222,212.589899 Z M213.336476,169.218406 L192,126.545455 L320,126.545455 L298.663524,169.218406 L213.336476,169.218406 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M127.299864,383.272727 L96.7272727,383.272727 L96.7272727,317.147791 L127.299864,256 L127.299864,383.272727 Z M160.005427,383.272727 L160.005427,318.569832 L192,383.272727 L160.005427,383.272727 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M192.021873,509.090909 L161.454545,509.090909 L161.454545,443.685393 L192.021873,382.545455 L192.021873,509.090909 Z M224.010936,509.090909 L224.010936,445.107252 L256,509.090909 L224.010936,509.090909 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M160.355556,64.7001357 L223.644444,64.7001357 L208.355556,95.2727273 L175.644444,95.2727273 L160.355556,64.7001357 Z M144,31.9945726 L128,0 L256,0 L240,31.9945726 L144,31.9945726 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M161.082828,319.24559 L224.371717,319.24559 L209.082828,349.818182 L176.371717,349.818182 L161.082828,319.24559 Z M144.727273,286.540027 L128.727273,254.545455 L256.727273,254.545455 L240.727273,286.540027 L144.727273,286.540027 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M109.333333,466.496212 L150.961111,466.496212 L130.147222,508.107955 L109.333333,466.496212 Z M88.1697845,425.595987 L67,383.272727 L194,383.272727 L172.830215,425.595987 L88.1697845,425.595987 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
</g>
|
||||
<g id="feature-bg-2" transform="translate(247.000000, 550.000000)">
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="95.6444444 189.090909 64 125.818182 192 125.818182 160.355556 189.090909"></polygon>
|
||||
<path d="M150.518255,43.3397571 L192,126.545455 L150.518255,126.545455 L150.518255,43.3397571 Z M107.146762,126.545455 L64,126.545455 L107.146762,40 L107.146762,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M95.6444444,189.118046 L32.3555556,189.118046 L47.6444444,158.545455 L80.3555556,158.545455 L95.6444444,189.118046 Z M112,221.823609 L128,253.818182 L0,253.818182 L16,221.823609 L112,221.823609 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M351.644444,189.845319 L288.355556,189.845319 L303.644444,159.272727 L336.355556,159.272727 L351.644444,189.845319 Z M368,222.550882 L384,254.545455 L256,254.545455 L272,222.550882 L368,222.550882 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M214.518255,171.339757 L256,254.545455 L214.518255,254.545455 L214.518255,171.339757 Z M171.146762,254.545455 L128,254.545455 L171.146762,168 L171.146762,254.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M256.027137,126.545455 L225.454545,126.545455 L225.454545,61.1399387 L256.027137,0 L256.027137,126.545455 Z M288.7327,126.545455 L288.7327,62.5617978 L320.727273,126.545455 L288.7327,126.545455 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M235.022222,212.589899 L276.977778,212.589899 L256,254.545455 L235.022222,212.589899 Z M213.336476,169.218406 L192,126.545455 L320,126.545455 L298.663524,169.218406 L213.336476,169.218406 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="150 43 234 43 213.707865 83.5773863 170.292135 83.5773863"></polygon>
|
||||
</g>
|
||||
<g id="feature-bg-2-copy" transform="translate(247.000000, 0.000000)">
|
||||
<path d="M224.355556,447.972863 L287.644444,447.972863 L272.355556,478.545455 L239.644444,478.545455 L224.355556,447.972863 Z M208,415.2673 L192,383.272727 L320,383.272727 L304,415.2673 L208,415.2673 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M298.559142,341.090909 L255.272727,254.545455 L298.559142,254.545455 L298.559142,341.090909 Z M340.079381,254.770862 L383.272727,254.770862 L340.079381,341.021152 L340.079381,254.770862 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<polygon id="Combined-Shape" fill="#F1F1F1" points="298.909091 341.090909 213.090909 341.090909 234.191039 298.909091 277.808961 298.909091"></polygon>
|
||||
<path d="M43.0222222,341.311904 L84.9777778,341.311904 L64,383.272727 L43.0222222,341.311904 Z M21.3364757,297.223764 L0,254.545455 L128,254.545455 L106.663524,297.223764 L21.3364757,297.223764 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<polygon id="Combined-Shape" fill="#DDDDDD" points="149.336476 552 128 509.090909 256 509.090909 234.663524 552"></polygon>
|
||||
<path d="M127.299864,383.272727 L96.7272727,383.272727 L96.7272727,317.147791 L127.299864,256 L127.299864,383.272727 Z M160.005427,383.272727 L160.005427,318.569832 L192,383.272727 L160.005427,383.272727 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M192.021873,509.090909 L161.454545,509.090909 L161.454545,443.685393 L192.021873,382.545455 L192.021873,509.090909 Z M224.010936,509.090909 L224.010936,445.107252 L256,509.090909 L224.010936,509.090909 Z" id="Combined-Shape" fill="#F1F1F1"></path>
|
||||
<path d="M161.082828,319.24559 L224.371717,319.24559 L209.082828,349.818182 L176.371717,349.818182 L161.082828,319.24559 Z M144.727273,286.540027 L128.727273,254.545455 L256.727273,254.545455 L240.727273,286.540027 L144.727273,286.540027 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
<path d="M106.666667,467.151515 L148.622222,467.151515 L127.644444,509.090909 L106.666667,467.151515 Z M85.3364757,425.929241 L64,383.272727 L192,383.272727 L170.663524,425.929241 L85.3364757,425.929241 Z" id="Combined-Shape" fill="#DDDDDD"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="120px" height="120px" viewBox="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>seller-logo-defautl</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Marketplace-Front" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="seller-profile-default" transform="translate(-290.000000, -186.000000)">
|
||||
<g id="seller-info" transform="translate(200.000000, 186.000000)">
|
||||
<g id="seller-logo-defautl" transform="translate(90.000000, 0.000000)">
|
||||
<rect id="Mask" fill="#E8E8E8" fill-rule="nonzero" x="0" y="0" width="120" height="120"></rect>
|
||||
<g id="Group-6" transform="translate(38.000000, 29.000000)">
|
||||
<rect id="Rectangle" fill="#FFFFFF" x="0" y="17" width="45" height="45"></rect>
|
||||
<rect id="Rectangle" fill="#D0D0D0" x="0" y="56" width="45" height="6"></rect>
|
||||
<path d="M37,15.7651007 L37,26.4697987 C37,27.8671903 35.922167,29 34.5925926,29 C33.2630182,29 32.1851852,27.8671903 32.1851852,26.4697987 L32.1851852,15.7651007 C32.1851852,9.85305922 27.6251225,5.06040268 22,5.06040268 C16.3748775,5.06040268 11.8148148,9.85305922 11.8148148,15.7651007 L11.8148148,26.4697987 C11.8148148,27.8671903 10.7369818,29 9.40740741,29 C8.07783301,29 7,27.8671903 7,26.4697987 L7,15.7651007 C7,7.05827599 13.7157288,0 22,0 C30.2842712,0 37,7.05827599 37,15.7651007 Z" id="Combined-Shape" fill="#D0D0D0"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 176 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 306 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>facebook</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="facebook" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M15.8904061,28.25 L15.8904061,20.1992188 L13.1833749,20.1992188 L13.1833749,17 L15.8904061,17 L15.8904061,14.46875 C15.8904061,13.1328058 16.2654024,12.0957068 17.0154061,11.3574219 C17.7654099,10.6191369 18.7614937,10.25 20.0036874,10.25 C21.0115049,10.25 21.8318092,10.2968745 22.4646249,10.390625 L22.4646249,13.2382812 L20.7771249,13.2382812 C20.1443092,13.2382812 19.7107198,13.3789048 19.4763436,13.6601562 C19.2888427,13.8945324 19.1950936,14.2695287 19.1950936,14.7851562 L19.1950936,17 L22.1833749,17 L21.7614999,20.1992188 L19.1950936,20.1992188 L19.1950936,28.25 L15.8904061,28.25 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>google+</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="google+" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M20.1132812,16.765625 C20.1835941,17.1640645 20.21875,17.5390607 20.21875,17.890625 C20.21875,19.1796939 19.9492214,20.3222606 19.4101563,21.3183594 C18.8710911,22.3144581 18.1093799,23.0937472 17.125,23.65625 C16.1406201,24.2187528 15.0156313,24.5 13.75,24.5 C12.5312439,24.5 11.4003958,24.1953155 10.3574219,23.5859375 C9.31444791,22.9765595 8.49414361,22.1562552 7.89648438,21.125 C7.29882514,20.0937448 7,18.9687561 7,17.75 C7,16.5312439 7.29882514,15.4062552 7.89648438,14.375 C8.49414361,13.3437448 9.31444791,12.5234405 10.3574219,11.9140625 C11.4003958,11.3046845 12.5312439,11 13.75,11 C15.5078213,11 17.0078063,11.5859316 18.25,12.7578125 L16.421875,14.515625 C15.7187465,13.8359341 14.8281304,13.4960938 13.75,13.4960938 C12.9999962,13.4960938 12.3027376,13.6835919 11.6582031,14.0585938 C11.0136687,14.4335956 10.5039081,14.9492155 10.1289062,15.6054688 C9.75390437,16.261722 9.56640625,16.9765586 9.56640625,17.75 C9.56640625,18.5234414 9.75390437,19.238278 10.1289062,19.8945312 C10.5039081,20.5507845 11.0136687,21.0664044 11.6582031,21.4414062 C12.3027376,21.8164081 12.9999962,22.0039062 13.75,22.0039062 C14.5703166,22.0039062 15.2851532,21.8281268 15.8945313,21.4765625 C16.3867212,21.1953111 16.7851547,20.7968776 17.0898438,20.28125 C17.3476575,19.8828105 17.5117184,19.4960956 17.5820312,19.1210938 L13.75,19.1210938 L13.75,16.765625 L20.1132812,16.765625 Z M28.5859375,17.0117188 L28.5859375,18.9804688 L26.6171875,18.9804688 L26.6171875,20.9492188 L24.6484375,20.9492188 L24.6484375,18.9804688 L22.7148437,18.9804688 L22.7148437,17.0117188 L24.6484375,17.0117188 L24.6484375,15.0429688 L26.6171875,15.0429688 L26.6171875,17.0117188 L28.5859375,17.0117188 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>instagram</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="instagram" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M17.875,13.8320312 C18.6015661,13.8320312 19.2753875,14.0136701 19.8964844,14.3769531 C20.5175812,14.7402362 21.0097638,15.2324188 21.3730469,15.8535156 C21.7363299,16.4746125 21.9179688,17.1484339 21.9179688,17.875 C21.9179688,18.6015661 21.7363299,19.2753875 21.3730469,19.8964844 C21.0097638,20.5175812 20.5175812,21.0097638 19.8964844,21.3730469 C19.2753875,21.7363299 18.6015661,21.9179688 17.875,21.9179688 C17.1484339,21.9179688 16.4746125,21.7363299 15.8535156,21.3730469 C15.2324188,21.0097638 14.7402362,20.5175812 14.3769531,19.8964844 C14.0136701,19.2753875 13.8320312,18.6015661 13.8320312,17.875 C13.8320312,17.1484339 14.0136701,16.4746125 14.3769531,15.8535156 C14.7402362,15.2324188 15.2324188,14.7402362 15.8535156,14.3769531 C16.4746125,14.0136701 17.1484339,13.8320312 17.875,13.8320312 Z M17.875,20.5117188 C18.6015661,20.5117188 19.2226537,20.2539088 19.7382812,19.7382812 C20.2539088,19.2226537 20.5117188,18.6015661 20.5117188,17.875 C20.5117188,17.1484339 20.2539088,16.5273463 19.7382812,16.0117188 C19.2226537,15.4960912 18.6015661,15.2382812 17.875,15.2382812 C17.1484339,15.2382812 16.5273463,15.4960912 16.0117188,16.0117188 C15.4960912,16.5273463 15.2382812,17.1484339 15.2382812,17.875 C15.2382812,18.6015661 15.4960912,19.2226537 16.0117188,19.7382812 C16.5273463,20.2539088 17.1484339,20.5117188 17.875,20.5117188 Z M23.0429688,13.65625 C23.0195311,13.9140638 22.9199228,14.1367178 22.7441406,14.3242188 C22.5683585,14.5117197 22.3515638,14.6054688 22.09375,14.6054688 C21.8359362,14.6054688 21.6132822,14.5117197 21.4257812,14.3242188 C21.2382803,14.1367178 21.1445312,13.9140638 21.1445312,13.65625 C21.1445312,13.3984362 21.2382803,13.1757822 21.4257812,12.9882812 C21.6132822,12.8007803 21.8359362,12.7070312 22.09375,12.7070312 C22.3515638,12.7070312 22.5742178,12.8007803 22.7617188,12.9882812 C22.9492197,13.1757822 23.0429688,13.3984362 23.0429688,13.65625 Z M25.7148438,14.6054688 C25.7382814,15.261722 25.75,16.3515549 25.75,17.875 C25.75,19.3984451 25.7324221,20.4941373 25.6972656,21.1621094 C25.6621092,21.8300815 25.5625008,22.4101538 25.3984375,22.9023438 C25.1874989,23.4882842 24.8652365,23.9980447 24.4316406,24.4316406 C23.9980447,24.8652365 23.4882842,25.1874989 22.9023438,25.3984375 C22.4101538,25.5625008 21.8300815,25.6621092 21.1621094,25.6972656 C20.4941373,25.7324221 19.3984451,25.75 17.875,25.75 C16.3515549,25.75 15.2558627,25.7324221 14.5878906,25.6972656 C13.9199185,25.6621092 13.3398462,25.5507822 12.8476562,25.3632812 C12.2617158,25.1757803 11.7519553,24.8652365 11.3183594,24.4316406 C10.8847635,23.9980447 10.5625011,23.4882842 10.3515625,22.9023438 C10.1874992,22.4101538 10.0878908,21.8300815 10.0527344,21.1621094 C10.0175779,20.4941373 10,19.3984451 10,17.875 C10,16.3515549 10.0175779,15.2558627 10.0527344,14.5878906 C10.0878908,13.9199185 10.1874992,13.3398462 10.3515625,12.8476562 C10.5625011,12.2617158 10.8847635,11.7519553 11.3183594,11.3183594 C11.7519553,10.8847635 12.2617158,10.5625011 12.8476562,10.3515625 C13.3398462,10.1874992 13.9199185,10.0878908 14.5878906,10.0527344 C15.2558627,10.0175779 16.3515549,10 17.875,10 C19.3984451,10 20.4941373,10.0175779 21.1621094,10.0527344 C21.8300815,10.0878908 22.4101538,10.1874992 22.9023438,10.3515625 C23.4882842,10.5625011 23.9980447,10.8847635 24.4316406,11.3183594 C24.8652365,11.7519553 25.1874989,12.2617158 25.3984375,12.8476562 C25.5625008,13.3398462 25.6679685,13.9257779 25.7148438,14.6054688 Z M24.0273438,22.515625 C24.1679695,22.1171855 24.2617185,21.4843793 24.3085938,20.6171875 C24.3320314,20.1015599 24.34375,19.3750047 24.34375,18.4375 L24.34375,17.3125 C24.34375,16.3515577 24.3320314,15.6250025 24.3085938,15.1328125 C24.2617185,14.242183 24.1679695,13.6093769 24.0273438,13.234375 C23.7460923,12.5078089 23.2421911,12.0039077 22.515625,11.7226562 C22.1406231,11.5820305 21.507817,11.4882815 20.6171875,11.4414062 C20.1015599,11.4179686 19.3750047,11.40625 18.4375,11.40625 L17.3125,11.40625 C16.3749953,11.40625 15.6484401,11.4179686 15.1328125,11.4414062 C14.2656207,11.4882815 13.6328145,11.5820305 13.234375,11.7226562 C12.5078089,12.0039077 12.0039077,12.5078089 11.7226562,13.234375 C11.5820305,13.6093769 11.4882815,14.242183 11.4414062,15.1328125 C11.4179686,15.6484401 11.40625,16.3749953 11.40625,17.3125 L11.40625,18.4375 C11.40625,19.3750047 11.4179686,20.1015599 11.4414062,20.6171875 C11.4882815,21.4843793 11.5820305,22.1171855 11.7226562,22.515625 C12.0273453,23.2421911 12.5312465,23.7460923 13.234375,24.0273438 C13.6328145,24.1679695 14.2656207,24.2617185 15.1328125,24.3085938 C15.6484401,24.3320314 16.3749953,24.34375 17.3125,24.34375 L18.4375,24.34375 C19.3984423,24.34375 20.1249975,24.3320314 20.6171875,24.3085938 C21.507817,24.2617185 22.1406231,24.1679695 22.515625,24.0273438 C23.2421911,23.7226547 23.7460923,23.2187535 24.0273438,22.515625 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.2 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>linked-in</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="linked-in" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M13.515625,25.75 L10.2460938,25.75 L10.2460938,15.2382812 L13.515625,15.2382812 L13.515625,25.75 Z M11.8984375,13.796875 C11.3828099,13.796875 10.9375019,13.6093769 10.5625,13.234375 C10.1874981,12.8593731 10,12.4140651 10,11.8984375 C10,11.3828099 10.1874981,10.9375019 10.5625,10.5625 C10.9375019,10.1874981 11.3828099,10 11.8984375,10 C12.4140651,10 12.8593731,10.1874981 13.234375,10.5625 C13.6093769,10.9375019 13.796875,11.3828099 13.796875,11.8984375 C13.796875,12.4140651 13.6093769,12.8593731 13.234375,13.234375 C12.8593731,13.6093769 12.4140651,13.796875 11.8984375,13.796875 Z M25.75,25.75 L22.4804688,25.75 L22.4804688,20.6171875 C22.4804688,19.7734333 22.410157,19.1640644 22.2695312,18.7890625 C22.0117175,18.1562468 21.5078162,17.8398438 20.7578125,17.8398438 C20.0078087,17.8398438 19.4804703,18.1210909 19.1757812,18.6835938 C18.9414051,19.1054709 18.8242188,19.7265584 18.8242188,20.546875 L18.8242188,25.75 L15.5898438,25.75 L15.5898438,15.2382812 L18.71875,15.2382812 L18.71875,16.6796875 L18.7539062,16.6796875 C18.9882824,16.2109352 19.3632787,15.8242203 19.8789062,15.5195312 C20.4414091,15.1445294 21.0976525,14.9570312 21.8476562,14.9570312 C23.3711014,14.9570312 24.437497,15.4374952 25.046875,16.3984375 C25.5156273,17.1718789 25.75,18.3671794 25.75,19.984375 L25.75,25.75 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>pintrest</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="pintrest" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M18.171875,9 C19.273443,9.02343762 20.310542,9.27538822 21.2832031,9.75585938 C22.2558642,10.2363305 23.0234347,10.8984333 23.5859375,11.7421875 C24.1953155,12.6562546 24.5,13.6816349 24.5,14.8183594 C24.5,15.9550838 24.3125019,17.0273387 23.9375,18.0351562 C23.5156229,19.1367243 22.9179726,20.0039031 22.1445312,20.6367188 C21.2773394,21.3398473 20.2578184,21.6914062 19.0859375,21.6914062 C18.6171852,21.6914062 18.1484398,21.5800792 17.6796875,21.3574219 C17.2109352,21.1347645 16.8710948,20.8242207 16.6601562,20.4257812 L16.3789062,21.5507812 C16.0742172,22.7695373 15.8281259,23.6132789 15.640625,24.0820312 C15.3593736,24.7148469 14.8554724,25.5234326 14.1289062,26.5078125 L13.9882812,26.578125 L13.8828125,26.4726562 L13.8476562,25.9453125 C13.7773434,25.2890592 13.7421875,24.7968766 13.7421875,24.46875 C13.7421875,23.7656215 13.8593738,22.8515681 14.09375,21.7265625 C14.2343757,21.0703092 14.4687484,20.0976627 14.796875,18.8085938 L15.21875,17.1210938 C14.9843738,16.675779 14.8671875,16.0898474 14.8671875,15.3632812 C14.8671875,14.6835904 15.042967,14.121096 15.3945313,13.6757812 C15.6992203,13.3007794 16.0742165,13.0664067 16.5195312,12.9726562 C16.964846,12.8789058 17.3515609,12.9609362 17.6796875,13.21875 C18.0078141,13.4765638 18.171875,13.8867159 18.171875,14.4492188 C18.171875,14.7539078 18.1250005,15.0937481 18.03125,15.46875 C17.9843748,15.6796886 17.8789071,16.0078103 17.7148438,16.453125 C17.5507804,16.8984397 17.4453127,17.2265614 17.3984375,17.4375 C17.304687,17.8125019 17.2578125,18.1406236 17.2578125,18.421875 C17.2578125,18.8671897 17.416014,19.2363267 17.7324219,19.5292969 C18.0488297,19.8222671 18.4296853,19.96875 18.875,19.96875 C19.6250038,19.96875 20.2578099,19.6406283 20.7734375,18.984375 C21.2187522,18.4453098 21.5468739,17.7187546 21.7578125,16.8046875 C21.9453134,16.0546838 22.0390625,15.3164099 22.0390625,14.5898438 C22.0390625,13.3710877 21.6582069,12.4218784 20.8964844,11.7421875 C20.1347618,11.0624966 19.1328187,10.7226562 17.890625,10.7226562 C16.9765579,10.7226562 16.1386757,10.9335916 15.3769531,11.3554688 C14.6152306,11.7773459 14.0234396,12.3515589 13.6015625,13.078125 C13.1796854,13.8046911 12.96875,14.6367141 12.96875,15.5742188 C12.96875,15.9726582 13.0390618,16.3593731 13.1796875,16.734375 C13.2500004,16.9453136 13.3789053,17.2031235 13.5664062,17.5078125 C13.707032,17.7421887 13.7773438,17.8945309 13.7773438,17.9648438 C13.7773438,18.1523447 13.7304692,18.3867173 13.6367188,18.6679688 C13.5195307,19.019533 13.3906257,19.1953125 13.25,19.1953125 C12.945311,19.1953125 12.6171893,19.037111 12.265625,18.7207031 C11.9140607,18.4042953 11.6210949,17.9765652 11.3867188,17.4375 C11.128905,16.8046843 11,16.1015664 11,15.328125 C11,14.0624937 11.351559,12.9375049 12.0546875,11.953125 C12.7109408,11.0390579 13.5898382,10.318362 14.6914062,9.79101562 C15.7929743,9.26366924 16.9531189,9 18.171875,9 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>skype</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="skype" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M24.9414062,19.421875 C25.4804714,20.1250035 25.75,20.9218705 25.75,21.8125 C25.75,22.5156285 25.5742205,23.171872 25.2226562,23.78125 C24.871092,24.390628 24.390628,24.871092 23.78125,25.2226562 C23.171872,25.5742205 22.5156285,25.75 21.8125,25.75 C20.9218705,25.75 20.1250035,25.4804714 19.421875,24.9414062 C18.9062474,25.0351567 18.3906276,25.0820312 17.875,25.0820312 C16.5624934,25.0820312 15.3554743,24.7597688 14.2539062,24.1152344 C13.1523382,23.4706999 12.2793001,22.5976618 11.6347656,21.4960938 C10.9902312,20.3945257 10.6679688,19.1875066 10.6679688,17.875 C10.6679688,17.38281 10.7148433,16.8671902 10.8085938,16.328125 C10.2695286,15.6249965 10,14.8281295 10,13.9375 C10,13.2343715 10.1757795,12.578128 10.5273438,11.96875 C10.878908,11.359372 11.359372,10.878908 11.96875,10.5273438 C12.578128,10.1757795 13.2343715,10 13.9375,10 C14.8281295,10 15.6249965,10.2695286 16.328125,10.8085938 C16.8437526,10.7148433 17.3593724,10.6679688 17.875,10.6679688 C19.1875066,10.6679688 20.3945257,10.9902312 21.4960938,11.6347656 C22.5976618,12.2793001 23.4706999,13.1523382 24.1152344,14.2539062 C24.7597688,15.3554743 25.0820312,16.5624934 25.0820312,17.875 C25.0820312,18.36719 25.0351567,18.8828098 24.9414062,19.421875 Z M18.0859375,22.6210938 C19.1406303,22.6210938 20.042965,22.3750025 20.7929688,21.8828125 C21.6132854,21.3203097 22.0234375,20.5585986 22.0234375,19.5976562 C22.0234375,18.8007773 21.6718785,18.1562525 20.96875,17.6640625 C20.47656,17.3359359 19.7617234,17.0664073 18.8242188,16.8554688 L18.2617188,16.75 C17.5351526,16.5624991 17.0664073,16.4218755 16.8554688,16.328125 C16.5507797,16.1874993 16.3984375,15.9765639 16.3984375,15.6953125 C16.3984375,15.1796849 16.8906201,14.921875 17.875,14.921875 C18.2734395,14.921875 18.6249985,14.9921868 18.9296875,15.1328125 C19.0937508,15.226563 19.3046862,15.3789052 19.5625,15.5898438 C19.7265633,15.7773447 19.8671869,15.894531 19.984375,15.9414062 C20.1484383,16.0351567 20.3242178,16.0820312 20.5117188,16.0820312 C20.8398454,16.0820312 21.1035146,15.9765636 21.3027344,15.765625 C21.5019541,15.5546864 21.6015625,15.2851579 21.6015625,14.9570312 C21.6015625,14.3945284 21.1914104,13.9257831 20.3710938,13.5507812 C19.5976524,13.199217 18.701177,13.0234375 17.6816406,13.0234375 C16.6621043,13.0234375 15.8007848,13.2343729 15.0976562,13.65625 C14.2773396,14.1718776 13.8671875,14.9101514 13.8671875,15.8710938 C13.8671875,16.527347 14.0312484,17.0546855 14.359375,17.453125 C14.6171888,17.8046893 15.0390596,18.0859364 15.625,18.296875 C15.9765643,18.4375007 16.5742145,18.6015616 17.4179688,18.7890625 L18.1210938,18.9648438 C18.6367213,19.0820318 18.964843,19.1874995 19.1054688,19.28125 C19.3632825,19.4218757 19.4921875,19.6328111 19.4921875,19.9140625 C19.4921875,20.1953139 19.3515639,20.4238272 19.0703125,20.5996094 C18.7890611,20.7753915 18.4199242,20.8632812 17.9628906,20.8632812 C17.5058571,20.8632812 17.1015643,20.7578136 16.75,20.546875 C16.5390614,20.4296869 16.2812515,20.2187515 15.9765625,19.9140625 C15.7656239,19.6796863 15.6015631,19.5273441 15.484375,19.4570312 C15.2968741,19.3398432 15.0976573,19.28125 14.8867188,19.28125 C14.5585921,19.28125 14.3066415,19.3808584 14.1308594,19.5800781 C13.9550772,19.7792979 13.8671875,20.0312485 13.8671875,20.3359375 C13.8671875,20.7578146 14.0546856,21.1445295 14.4296875,21.4960938 C14.8046894,21.847658 15.3203092,22.1230459 15.9765625,22.3222656 C16.6328158,22.5214854 17.3359337,22.6210938 18.0859375,22.6210938 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>twiter</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="twiter" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M25.1367188,14.65625 C25.1601564,14.7500005 25.171875,14.9023427 25.171875,15.1132812 C25.171875,16.8007897 24.7617229,18.4296796 23.9414062,20 C23.097652,21.6640708 21.9140701,22.9882763 20.390625,23.9726562 C18.7265542,25.0742243 16.816417,25.625 14.6601562,25.625 C12.5976459,25.625 10.7109461,25.0742243 9,23.9726562 C9.25781379,23.9960939 9.55077961,24.0078125 9.87890625,24.0078125 C11.5898523,24.0078125 13.1249932,23.480474 14.484375,22.4257812 C13.6640584,22.4257812 12.9433625,22.1855493 12.3222656,21.7050781 C11.7011688,21.224607 11.2734387,20.6210974 11.0390625,19.8945312 C11.2734387,19.9179689 11.4960927,19.9296875 11.7070312,19.9296875 C12.0351579,19.9296875 12.3632796,19.8945316 12.6914062,19.8242188 C11.847652,19.6367178 11.1445341,19.2031284 10.5820312,18.5234375 C10.0195284,17.8437466 9.73828125,17.0703168 9.73828125,16.203125 L9.73828125,16.1328125 C10.2539088,16.4375015 10.8046846,16.6015624 11.390625,16.625 C10.898435,16.2734357 10.5000015,15.8281277 10.1953125,15.2890625 C9.89062348,14.7499973 9.73828125,14.1582063 9.73828125,13.5136719 C9.73828125,12.8691374 9.91406074,12.2539092 10.265625,11.6679688 C11.1796921,12.816412 12.2988215,13.7304654 13.6230469,14.4101562 C14.9472722,15.0898471 16.3593675,15.4648434 17.859375,15.5351562 C17.8124998,15.2539048 17.7890625,14.9726577 17.7890625,14.6914062 C17.7890625,14.035153 17.9531234,13.4199247 18.28125,12.8457031 C18.6093766,12.2714815 19.0546847,11.8203141 19.6171875,11.4921875 C20.1796903,11.1640609 20.7890592,11 21.4453125,11 C21.9843777,11 22.4824196,11.1054677 22.9394531,11.3164062 C23.3964867,11.5273448 23.8007795,11.808592 24.1523438,12.1601562 C24.996098,11.9960929 25.7812464,11.7031271 26.5078125,11.28125 C26.2265611,12.1484418 25.687504,12.8281225 24.890625,13.3203125 C25.5937535,13.226562 26.2968715,13.0273453 27,12.7226562 C26.4843724,13.47266 25.8632849,14.1171848 25.1367188,14.65625 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 51.1 (57501) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>youtube</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="youtube" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.900000036">
|
||||
<path d="M26.8085938,13.109375 C26.9726571,13.7421907 27.0898434,14.7031186 27.1601562,15.9921875 L27.1953125,17.75 L27.1601562,19.5078125 C27.0898434,20.8203191 26.9726571,21.7929656 26.8085938,22.4257812 C26.6914057,22.8242207 26.4804703,23.1757797 26.1757812,23.4804688 C25.8710922,23.7851578 25.5078146,23.9960932 25.0859375,24.1132812 C24.4765595,24.2773446 23.0468863,24.3945309 20.796875,24.4648438 L17.5976562,24.5 L14.3984375,24.4648438 C12.1484262,24.3945309 10.718753,24.2773446 10.109375,24.1132812 C9.68749789,23.9960932 9.32422027,23.7851578 9.01953125,23.4804688 C8.71484223,23.1757797 8.50390684,22.8242207 8.38671875,22.4257812 C8.22265543,21.7929656 8.1054691,20.8203191 8.03515625,19.5078125 L8,17.75 C8,17.2343724 8.01171863,16.6484408 8.03515625,15.9921875 C8.1054691,14.7031186 8.22265543,13.7421907 8.38671875,13.109375 C8.50390684,12.6874979 8.71484223,12.3242203 9.01953125,12.0195312 C9.32422027,11.7148422 9.68749789,11.5039068 10.109375,11.3867188 C10.718753,11.2226554 12.1484262,11.1054691 14.3984375,11.0351562 L17.5976562,11 L20.796875,11.0351562 C23.0468863,11.1054691 24.4765595,11.2226554 25.0859375,11.3867188 C25.5078146,11.5039068 25.8710922,11.7148422 26.1757812,12.0195312 C26.4804703,12.3242203 26.6914057,12.6874979 26.8085938,13.109375 Z M15.6289062,20.6328125 L20.65625,17.75 L15.6289062,14.9023438 L15.6289062,20.6328125 Z" id="" fill="#5B5B5B"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 205 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 153 KiB |
|
|
@ -0,0 +1,5 @@
|
|||
/*!
|
||||
* vue-carousel v0.18.0-alpha
|
||||
* (c) 2019 todd.beauchamp@ssense.com
|
||||
* https://github.com/ssense/vue-carousel#readme
|
||||
*/
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"/js/marketplace.js": "/js/marketplace.js?id=298166815707d1644437",
|
||||
"/css/marketplace-default.css": "/css/marketplace-default.css?id=0f8bcb1e81e7f8f1e84b",
|
||||
"/css/marketplace-velocity.css": "/css/marketplace-velocity.css?id=7095ec0e128ac9c20312",
|
||||
"/css/marketplace-admin.css": "/css/marketplace-admin.css?id=e8f88fc258a16d8cdd87"
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'key' => 'marketplace',
|
||||
'name' => 'marketplace::app.admin.acl.marketplace',
|
||||
'route' => 'admin.marketplace.sellers.index',
|
||||
'sort' => 2
|
||||
], [
|
||||
'key' => 'marketplace.sellers',
|
||||
'name' => 'marketplace::app.admin.acl.sellers',
|
||||
'route' => 'admin.marketplace.sellers.index',
|
||||
'sort' => 1
|
||||
], [
|
||||
'key' => 'marketplace.products',
|
||||
'name' => 'marketplace::app.admin.acl.products',
|
||||
'route' => 'admin.marketplace.products.index',
|
||||
'sort' => 2
|
||||
], [
|
||||
'key' => 'marketplace.reviews',
|
||||
'name' => 'marketplace::app.admin.acl.reviews',
|
||||
'route' => 'admin.marketplace.reviews.index',
|
||||
'sort' => 3
|
||||
]
|
||||
];
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'key' => 'marketplace',
|
||||
'name' => 'marketplace::app.admin.layouts.marketplace',
|
||||
'route' => 'admin.marketplace.sellers.index',
|
||||
'sort' => 2,
|
||||
'icon-class' => 'marketplace-icon',
|
||||
], [
|
||||
'key' => 'marketplace.sellers',
|
||||
'name' => 'marketplace::app.admin.layouts.sellers',
|
||||
'route' => 'admin.marketplace.sellers.index',
|
||||
'sort' => 1
|
||||
], [
|
||||
'key' => 'marketplace.products',
|
||||
'name' => 'marketplace::app.admin.layouts.products',
|
||||
'route' => 'admin.marketplace.products.index',
|
||||
'sort' => 2
|
||||
], [
|
||||
'key' => 'marketplace.reviews',
|
||||
'name' => 'marketplace::app.admin.layouts.seller-reviews',
|
||||
'route' => 'admin.marketplace.reviews.index',
|
||||
'sort' => 3
|
||||
], [
|
||||
'key' => 'marketplace.orders',
|
||||
'name' => 'marketplace::app.admin.layouts.orders',
|
||||
'route' => 'admin.marketplace.orders.index',
|
||||
'sort' => 3
|
||||
], [
|
||||
'key' => 'marketplace.transactions',
|
||||
'name' => 'marketplace::app.admin.layouts.transactions',
|
||||
'route' => 'admin.marketplace.transactions.index',
|
||||
'sort' => 3
|
||||
],[
|
||||
'key' => 'marketplace.sellerFlag',
|
||||
'name' => 'marketplace::app.shop.layouts.sellerFlag',
|
||||
'route' => 'marketplace.admin.seller.flag.reason.index',
|
||||
'sort' => 8
|
||||
],[
|
||||
'key' => 'marketplace.productFlag',
|
||||
'name' => 'marketplace::app.shop.layouts.productFlag',
|
||||
'route' => 'marketplace.admin.product.flag.reason.index',
|
||||
'sort' => 9
|
||||
],[
|
||||
'key' => 'marketplace.sellerCategory',
|
||||
'name' => 'marketplace::app.shop.layouts.seller-category',
|
||||
'route' => 'admin.marketplace.seller.category.index',
|
||||
'sort' => 10
|
||||
],[
|
||||
'key' => 'marketplace.paymentRequest',
|
||||
'name' => 'marketplace::app.admin.layouts.payment-requests',
|
||||
'route' => 'marketplace.admin.payment.request.index',
|
||||
'sort' => 11
|
||||
]
|
||||
];
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'key' => 'marketplace',
|
||||
'name' => 'marketplace::app.shop.layouts.marketplace',
|
||||
'route' => 'marketplace.account.seller.edit',
|
||||
'sort' => 2
|
||||
], [
|
||||
'key' => 'marketplace.seller',
|
||||
'name' => 'marketplace::app.shop.layouts.profile',
|
||||
'route' => 'marketplace.account.seller.edit',
|
||||
'sort' => 1
|
||||
], [
|
||||
'key' => 'marketplace.dashboard',
|
||||
'name' => 'marketplace::app.shop.layouts.dashboard',
|
||||
'route' => 'marketplace.account.dashboard.index',
|
||||
'sort' => 2
|
||||
], [
|
||||
'key' => 'marketplace.products',
|
||||
'name' => 'marketplace::app.shop.layouts.products',
|
||||
'route' => 'marketplace.account.products.index',
|
||||
'sort' => 3
|
||||
], [
|
||||
'key' => 'marketplace.orders',
|
||||
'name' => 'marketplace::app.shop.layouts.orders',
|
||||
'route' => 'marketplace.account.orders.index',
|
||||
'sort' => 4
|
||||
], [
|
||||
'key' => 'marketplace.transactions',
|
||||
'name' => 'marketplace::app.shop.layouts.transactions',
|
||||
'route' => 'marketplace.account.transactions.index',
|
||||
'sort' => 6
|
||||
], [
|
||||
'key' => 'marketplace.reviews',
|
||||
'name' => 'marketplace::app.shop.layouts.reviews',
|
||||
'route' => 'marketplace.account.reviews.index',
|
||||
'sort' => 7
|
||||
], [
|
||||
'key' => 'marketplace.earnings',
|
||||
'name' => 'marketplace::app.shop.layouts.earnings',
|
||||
'route' => 'marketplace.account.earning.index',
|
||||
'sort' => 2
|
||||
],[
|
||||
'key' => 'marketplace.customers',
|
||||
'name' => 'marketplace::app.shop.layouts.customers',
|
||||
'route' => 'marketplace.account.customers.index',
|
||||
'sort' => 8
|
||||
],[
|
||||
'key' => 'marketplace.paymentRequest',
|
||||
'name' => 'marketplace::app.shop.layouts.paymentRequest',
|
||||
'route' => 'marketplace.account.payment.request.index',
|
||||
'sort' => 9
|
||||
]
|
||||
];
|
||||
|
|
@ -0,0 +1,962 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'key' => 'marketplace',
|
||||
'name' => 'marketplace::app.admin.system.marketplace',
|
||||
'sort' => 1
|
||||
], [
|
||||
'key' => 'marketplace.settings',
|
||||
'name' => 'marketplace::app.admin.system.settings',
|
||||
'sort' => 1,
|
||||
], [
|
||||
'key' => 'marketplace.settings.general',
|
||||
'name' => 'marketplace::app.admin.system.general',
|
||||
'sort' => 1,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'status',
|
||||
'title' => 'marketplace::app.admin.system.status',
|
||||
'type' => 'boolean'
|
||||
], [
|
||||
'name' => 'featured',
|
||||
'title' => 'marketplace::app.admin.system.featured',
|
||||
'type' => 'boolean'
|
||||
], [
|
||||
'name' => 'new',
|
||||
'title' => 'marketplace::app.admin.system.new',
|
||||
'type' => 'boolean'
|
||||
],[
|
||||
'name' => 'commission_per_unit',
|
||||
'title' => 'marketplace::app.admin.system.commission-per-unit',
|
||||
'type' => 'text',
|
||||
'validation' => 'required|min_value:0|max_value:100',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'seller_approval_required',
|
||||
'title' => 'marketplace::app.admin.system.seller-approval-required',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'product_approval_required',
|
||||
'title' => 'marketplace::app.admin.system.product-approval-required',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'can_create_invoice',
|
||||
'title' => 'marketplace::app.admin.system.can-create-invoice',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'can_create_shipment',
|
||||
'title' => 'marketplace::app.admin.system.can-create-shipment',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'can_cancel_order',
|
||||
'title' => 'marketplace::app.admin.system.can_cancel_order',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
], [
|
||||
'key' => 'marketplace.settings.landing_page',
|
||||
'name' => 'marketplace::app.admin.system.landing-page',
|
||||
'sort' => 1,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'page_title',
|
||||
'title' => 'marketplace::app.admin.system.page-title',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_banner',
|
||||
'title' => 'marketplace::app.admin.system.show-banner',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
],[
|
||||
'name' => 'layout',
|
||||
'title' => 'marketplace::app.admin.system.layout',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.layout1',
|
||||
'value' => 'layout1'
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.layout2',
|
||||
'value' => 'layout2'
|
||||
],[
|
||||
'title' => 'marketplace::app.admin.system.layout3',
|
||||
'value' => 'layout3'
|
||||
]
|
||||
]
|
||||
],[
|
||||
'name' => 'banner',
|
||||
'title' => 'marketplace::app.admin.system.banner',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'banner_content',
|
||||
'title' => 'marketplace::app.admin.system.banner-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_features',
|
||||
'title' => 'marketplace::app.admin.system.show-features',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'feature_heading',
|
||||
'title' => 'marketplace::app.admin.system.feature-heading',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_info',
|
||||
'title' => 'marketplace::app.admin.system.feature-info',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_1',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-1',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_1',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-1',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_2',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-2',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_2',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-2',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_3',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-3',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_3',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-3',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_4',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-4',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_4',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-4',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_5',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-5',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_5',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-5',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_6',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-6',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_6',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-6',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_7',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-7',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_7',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-7',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_8',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-8',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_8',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-8',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_popular_sellers',
|
||||
'title' => 'marketplace::app.admin.system.show-popular-sellers',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'open_shop_button_label',
|
||||
'title' => 'marketplace::app.admin.system.open-shop-button-label',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'about_marketplace',
|
||||
'title' => 'marketplace::app.admin.system.about-marketplace',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_open_shop_block',
|
||||
'title' => 'marketplace::app.admin.system.show-open-shop-block',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'open_shop_info',
|
||||
'title' => 'marketplace::app.admin.system.open-shop-info',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
]
|
||||
]
|
||||
],
|
||||
// [
|
||||
// 'key' => 'marketplace.settings.layout1',
|
||||
// 'name' => 'marketplace::app.admin.system.layout1',
|
||||
// 'sort' => 1,
|
||||
// 'fields' => [
|
||||
// [
|
||||
// 'name' => 'page_title',
|
||||
// 'title' => 'marketplace::app.admin.system.page-title',
|
||||
// 'type' => 'text',
|
||||
// 'channel_based' => true,
|
||||
// 'locale_based' => true
|
||||
// ],
|
||||
// ]
|
||||
// ],
|
||||
[
|
||||
'key' => 'marketplace.settings.layout2',
|
||||
'name' => 'marketplace::app.admin.system.layout2',
|
||||
'sort' => 1,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'page_title',
|
||||
'title' => 'marketplace::app.admin.system.page-title',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'banner_content',
|
||||
'title' => 'marketplace::app.admin.system.banner-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'step_one_image',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.step-1',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
],[
|
||||
'name' => 'step_two_image',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.step-2',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
],[
|
||||
'name' => 'step_three_image',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.step-3',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
],[
|
||||
'name' => 'step_four_image',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.step-4',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
],[
|
||||
'name' => 'feature_icon_1_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-1-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_2_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-2-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_3_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-3-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_4_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-4-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_5_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-5-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_6_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-6-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_7_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-7-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_8_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-2.feature-icon-8-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],
|
||||
]
|
||||
],[
|
||||
'key' => 'marketplace.settings.layout3',
|
||||
'name' => 'marketplace::app.admin.system.layout3',
|
||||
'sort' => 1,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'page_title',
|
||||
'title' => 'marketplace::app.admin.system.page-title',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'banner_content',
|
||||
'title' => 'marketplace::app.admin.system.banner-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_1_title',
|
||||
'title' => 'marketplace::app.admin.system.layout-3.feature-icon-1-title',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_1_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-3.feature-icon-1-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_2_title',
|
||||
'title' => 'marketplace::app.admin.system.layout-3.feature-icon-2-title',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_2_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-3.feature-icon-2-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_3_title',
|
||||
'title' => 'marketplace::app.admin.system.layout-3.feature-icon-3-title',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],[
|
||||
'name' => 'feature_icon_3_content',
|
||||
'title' => 'marketplace::app.admin.system.layout-3.feature-icon-3-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],
|
||||
]
|
||||
], [
|
||||
'key' => 'marketplace.settings.velocity',
|
||||
'name' => 'marketplace::app.velocity.system.velocity-content',
|
||||
'sort' => 2,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'page_title',
|
||||
'title' => 'marketplace::app.admin.system.page-title',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_banner',
|
||||
'title' => 'marketplace::app.admin.system.show-banner',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'banner',
|
||||
'title' => 'marketplace::app.admin.system.banner',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'banner_content',
|
||||
'title' => 'marketplace::app.admin.system.banner-content',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_features',
|
||||
'title' => 'marketplace::app.admin.system.show-features',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'feature_heading',
|
||||
'title' => 'marketplace::app.admin.system.feature-heading',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_info',
|
||||
'title' => 'marketplace::app.admin.system.feature-info',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_1',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-1',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_1',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-1',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_2',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-2',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_2',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-2',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_3',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-3',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_3',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-3',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_4',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-4',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_4',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-4',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_5',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-5',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_5',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-5',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_6',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-6',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_6',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-6',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_7',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-7',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_7',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-7',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'feature_icon_8',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-8',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'feature_icon_label_8',
|
||||
'title' => 'marketplace::app.admin.system.feature-icon-label-8',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_popular_sellers',
|
||||
'title' => 'marketplace::app.admin.system.show-popular-sellers',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'open_shop_button_label',
|
||||
'title' => 'marketplace::app.admin.system.open-shop-button-label',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'about_marketplace',
|
||||
'title' => 'marketplace::app.admin.system.about-marketplace',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'show_open_shop_block',
|
||||
'title' => 'marketplace::app.admin.system.show-open-shop-block',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'open_shop_info',
|
||||
'title' => 'marketplace::app.admin.system.open-shop-info',
|
||||
'type' => 'textarea',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'setup_icon_1',
|
||||
'title' => 'marketplace::app.admin.system.setup-icon-1',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'setup_icon_2',
|
||||
'title' => 'marketplace::app.admin.system.setup-icon-2',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'setup_icon_3',
|
||||
'title' => 'marketplace::app.admin.system.setup-icon-3',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'setup_icon_4',
|
||||
'title' => 'marketplace::app.admin.system.setup-icon-4',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
], [
|
||||
'name' => 'setup_icon_5',
|
||||
'title' => 'marketplace::app.admin.system.setup-icon-5',
|
||||
'type' => 'image',
|
||||
'validation' => 'mimes:jpeg,bmp,png,jpg',
|
||||
'channel_based' => true,
|
||||
'locale_based' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'key' => 'marketplace.settings.seller_flag',
|
||||
'name' => 'marketplace::app.admin.system.seller-flag',
|
||||
'sort' => 2,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'enable',
|
||||
'title' => 'marketplace::app.admin.system.enable',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'text',
|
||||
'title' => 'marketplace::app.admin.system.text',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'guest_can',
|
||||
'title' => 'marketplace::app.admin.system.guest-can',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
],[
|
||||
'name' => 'reason',
|
||||
'title' => 'marketplace::app.admin.system.reason',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
],[
|
||||
'name' => 'other_reason',
|
||||
'title' => 'marketplace::app.admin.system.other-reason',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'other_placeholder',
|
||||
'title' => 'marketplace::app.admin.system.other-placeholder',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],
|
||||
]
|
||||
],[
|
||||
'key' => 'marketplace.settings.product_flag',
|
||||
'name' => 'marketplace::app.admin.system.product-flag',
|
||||
'sort' => 2,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'enable',
|
||||
'title' => 'marketplace::app.admin.system.enable',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'text',
|
||||
'title' => 'marketplace::app.admin.system.text',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
], [
|
||||
'name' => 'guest_can',
|
||||
'title' => 'marketplace::app.admin.system.guest-can',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
],[
|
||||
'name' => 'reason',
|
||||
'title' => 'marketplace::app.admin.system.reason',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
],[
|
||||
'name' => 'other_reason',
|
||||
'title' => 'marketplace::app.admin.system.other-reason',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'other_placeholder',
|
||||
'title' => 'marketplace::app.admin.system.other-placeholder',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
'locale_based' => true
|
||||
],
|
||||
]
|
||||
], [
|
||||
'key' => 'marketplace.settings.minimum_order_amount',
|
||||
'name' => 'marketplace::app.admin.system.minimum-order-amount',
|
||||
'sort' => 2,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'enable',
|
||||
'title' => 'marketplace::app.admin.system.enable',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
], [
|
||||
'name' => 'min_amount',
|
||||
'title' => 'marketplace::app.admin.system.min-amount',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
], [
|
||||
'name' => 'seller_min_amount',
|
||||
'title' => 'marketplace::app.admin.system.seller-min-amount',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
],[
|
||||
'key' => 'marketplace.settings.google_analytics',
|
||||
'name' => 'marketplace::app.admin.system.google-analytics',
|
||||
'sort' => 2,
|
||||
'fields' => [
|
||||
[
|
||||
'name' => 'enable',
|
||||
'title' => 'marketplace::app.admin.system.enable',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
],[
|
||||
'name' => 'google_analytics_id',
|
||||
'title' => 'marketplace::app.admin.system.google-analytics-id',
|
||||
'type' => 'text',
|
||||
'channel_based' => true,
|
||||
], [
|
||||
'name' => 'seller_google_analytics',
|
||||
'title' => 'marketplace::app.admin.system.seller-google-analytics',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
[
|
||||
'title' => 'marketplace::app.admin.system.yes',
|
||||
'value' => true
|
||||
], [
|
||||
'title' => 'marketplace::app.admin.system.no',
|
||||
'value' => false
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Invoice
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface InvoiceItem
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface MpProductDownloadableLink
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface MpProductDownloadableLinkTranslation
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface MpProductDownloadableSample
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface MpProductDownloadableSampleTranslation
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Order
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface OrderItem
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface PaymentRequest
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Product
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface ProductFlag
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface ProductFlagReason
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface ProductImage
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface ProductVideo
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Refund
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface RefundItem
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Review
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Seller
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface SellerCategory
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface SellerFlag
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface SellerFlagReason
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Shipment
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface ShipmentItem
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\Contracts;
|
||||
|
||||
interface Transaction
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,241 @@
|
|||
[
|
||||
{"alpha2":"AF","alpha3":"AFG"},
|
||||
{"alpha2":"AL","alpha3":"ALB"},
|
||||
{"alpha2":"DZ","alpha3":"DZA"},
|
||||
{"alpha2":"AS","alpha3":"ASM"},
|
||||
{"alpha2":"AD","alpha3":"AND"},
|
||||
{"alpha2":"AO","alpha3":"AGO"},
|
||||
{"alpha2":"AI","alpha3":"AIA"},
|
||||
{"alpha2":"AQ","alpha3":"ATA"},
|
||||
{"alpha2":"AG","alpha3":"ATG"},
|
||||
{"alpha2":"AR","alpha3":"ARG"},
|
||||
{"alpha2":"AM","alpha3":"ARM"},
|
||||
{"alpha2":"AW","alpha3":"ABW"},
|
||||
{"alpha2":"AU","alpha3":"AUS"},
|
||||
{"alpha2":"AT","alpha3":"AUT"},
|
||||
{"alpha2":"AZ","alpha3":"AZE"},
|
||||
{"alpha2":"BS","alpha3":"BHS"},
|
||||
{"alpha2":"BH","alpha3":"BHR"},
|
||||
{"alpha2":"BD","alpha3":"BGD"},
|
||||
{"alpha2":"BB","alpha3":"BRB"},
|
||||
{"alpha2":"BY","alpha3":"BLR"},
|
||||
{"alpha2":"BE","alpha3":"BEL"},
|
||||
{"alpha2":"BZ","alpha3":"BLZ"},
|
||||
{"alpha2":"BJ","alpha3":"BEN"},
|
||||
{"alpha2":"BM","alpha3":"BMU"},
|
||||
{"alpha2":"BT","alpha3":"BTN"},
|
||||
{"alpha2":"BO","alpha3":"BOL"},
|
||||
{"alpha2":"BA","alpha3":"BIH"},
|
||||
{"alpha2":"BW","alpha3":"BWA"},
|
||||
{"alpha2":"BV","alpha3":"BVT"},
|
||||
{"alpha2":"BR","alpha3":"BRA"},
|
||||
{"alpha2":"IO","alpha3":"IOT"},
|
||||
{"alpha2":"VG","alpha3":"VGB"},
|
||||
{"alpha2":"BN","alpha3":"BRN"},
|
||||
{"alpha2":"BG","alpha3":"BGR"},
|
||||
{"alpha2":"BF","alpha3":"BFA"},
|
||||
{"alpha2":"BI","alpha3":"BDI"},
|
||||
{"alpha2":"KH","alpha3":"KHM"},
|
||||
{"alpha2":"CM","alpha3":"CMR"},
|
||||
{"alpha2":"CA","alpha3":"CAN"},
|
||||
{"alpha2":"CV","alpha3":"CPV"},
|
||||
{"alpha2":"KY","alpha3":"CYM"},
|
||||
{"alpha2":"CF","alpha3":"CAF"},
|
||||
{"alpha2":"TD","alpha3":"TCD"},
|
||||
{"alpha2":"CL","alpha3":"CHL"},
|
||||
{"alpha2":"CN","alpha3":"CHN"},
|
||||
{"alpha2":"CX","alpha3":"CXR"},
|
||||
{"alpha2":"CC","alpha3":"CCK"},
|
||||
{"alpha2":"CO","alpha3":"COL"},
|
||||
{"alpha2":"KM","alpha3":"COM"},
|
||||
{"alpha2":"CD","alpha3":"COD"},
|
||||
{"alpha2":"CG","alpha3":"COG"},
|
||||
{"alpha2":"CK","alpha3":"COK"},
|
||||
{"alpha2":"CR","alpha3":"CRI"},
|
||||
{"alpha2":"CI","alpha3":"CIV"},
|
||||
{"alpha2":"CU","alpha3":"CUB"},
|
||||
{"alpha2":"CY","alpha3":"CYP"},
|
||||
{"alpha2":"CZ","alpha3":"CZE"},
|
||||
{"alpha2":"DK","alpha3":"DNK"},
|
||||
{"alpha2":"DJ","alpha3":"DJI"},
|
||||
{"alpha2":"DM","alpha3":"DMA"},
|
||||
{"alpha2":"DO","alpha3":"DOM"},
|
||||
{"alpha2":"EC","alpha3":"ECU"},
|
||||
{"alpha2":"EG","alpha3":"EGY"},
|
||||
{"alpha2":"SV","alpha3":"SLV"},
|
||||
{"alpha2":"GQ","alpha3":"GNQ"},
|
||||
{"alpha2":"ER","alpha3":"ERI"},
|
||||
{"alpha2":"EE","alpha3":"EST"},
|
||||
{"alpha2":"ET","alpha3":"ETH"},
|
||||
{"alpha2":"FO","alpha3":"FRO"},
|
||||
{"alpha2":"FK","alpha3":"FLK"},
|
||||
{"alpha2":"FJ","alpha3":"FJI"},
|
||||
{"alpha2":"FI","alpha3":"FIN"},
|
||||
{"alpha2":"FR","alpha3":"FRA"},
|
||||
{"alpha2":"GF","alpha3":"GUF"},
|
||||
{"alpha2":"PF","alpha3":"PYF"},
|
||||
{"alpha2":"TF","alpha3":"ATF"},
|
||||
{"alpha2":"GA","alpha3":"GAB"},
|
||||
{"alpha2":"GM","alpha3":"GMB"},
|
||||
{"alpha2":"GE","alpha3":"GEO"},
|
||||
{"alpha2":"DE","alpha3":"DEU"},
|
||||
{"alpha2":"GH","alpha3":"GHA"},
|
||||
{"alpha2":"GI","alpha3":"GIB"},
|
||||
{"alpha2":"GR","alpha3":"GRC"},
|
||||
{"alpha2":"GL","alpha3":"GRL"},
|
||||
{"alpha2":"GD","alpha3":"GRD"},
|
||||
{"alpha2":"GP","alpha3":"GLP"},
|
||||
{"alpha2":"GU","alpha3":"GUM"},
|
||||
{"alpha2":"GT","alpha3":"GTM"},
|
||||
{"alpha2":"GN","alpha3":"GIN"},
|
||||
{"alpha2":"GW","alpha3":"GNB"},
|
||||
{"alpha2":"GY","alpha3":"GUY"},
|
||||
{"alpha2":"HT","alpha3":"HTI"},
|
||||
{"alpha2":"HM","alpha3":"HMD"},
|
||||
{"alpha2":"VA","alpha3":"VAT"},
|
||||
{"alpha2":"HN","alpha3":"HND"},
|
||||
{"alpha2":"HK","alpha3":"HKG"},
|
||||
{"alpha2":"HR","alpha3":"HRV"},
|
||||
{"alpha2":"HU","alpha3":"HUN"},
|
||||
{"alpha2":"IS","alpha3":"ISL"},
|
||||
{"alpha2":"IN","alpha3":"IND"},
|
||||
{"alpha2":"ID","alpha3":"IDN"},
|
||||
{"alpha2":"IR","alpha3":"IRN"},
|
||||
{"alpha2":"IQ","alpha3":"IRQ"},
|
||||
{"alpha2":"IE","alpha3":"IRL"},
|
||||
{"alpha2":"IL","alpha3":"ISR"},
|
||||
{"alpha2":"IT","alpha3":"ITA"},
|
||||
{"alpha2":"JM","alpha3":"JAM"},
|
||||
{"alpha2":"JP","alpha3":"JPN"},
|
||||
{"alpha2":"JO","alpha3":"JOR"},
|
||||
{"alpha2":"KZ","alpha3":"KAZ"},
|
||||
{"alpha2":"KE","alpha3":"KEN"},
|
||||
{"alpha2":"KI","alpha3":"KIR"},
|
||||
{"alpha2":"KP","alpha3":"PRK"},
|
||||
{"alpha2":"KR","alpha3":"KOR"},
|
||||
{"alpha2":"KW","alpha3":"KWT"},
|
||||
{"alpha2":"KG","alpha3":"KGZ"},
|
||||
{"alpha2":"LA","alpha3":"LAO"},
|
||||
{"alpha2":"LV","alpha3":"LVA"},
|
||||
{"alpha2":"LB","alpha3":"LBN"},
|
||||
{"alpha2":"LS","alpha3":"LSO"},
|
||||
{"alpha2":"LR","alpha3":"LBR"},
|
||||
{"alpha2":"LY","alpha3":"LBY"},
|
||||
{"alpha2":"LI","alpha3":"LIE"},
|
||||
{"alpha2":"LT","alpha3":"LTU"},
|
||||
{"alpha2":"LU","alpha3":"LUX"},
|
||||
{"alpha2":"MO","alpha3":"MAC"},
|
||||
{"alpha2":"MK","alpha3":"MKD"},
|
||||
{"alpha2":"MG","alpha3":"MDG"},
|
||||
{"alpha2":"MW","alpha3":"MWI"},
|
||||
{"alpha2":"MY","alpha3":"MYS"},
|
||||
{"alpha2":"MV","alpha3":"MDV"},
|
||||
{"alpha2":"ML","alpha3":"MLI"},
|
||||
{"alpha2":"MT","alpha3":"MLT"},
|
||||
{"alpha2":"MH","alpha3":"MHL"},
|
||||
{"alpha2":"MQ","alpha3":"MTQ"},
|
||||
{"alpha2":"MR","alpha3":"MRT"},
|
||||
{"alpha2":"MU","alpha3":"MUS"},
|
||||
{"alpha2":"YT","alpha3":"MYT"},
|
||||
{"alpha2":"MX","alpha3":"MEX"},
|
||||
{"alpha2":"FM","alpha3":"FSM"},
|
||||
{"alpha2":"MD","alpha3":"MDA"},
|
||||
{"alpha2":"MC","alpha3":"MCO"},
|
||||
{"alpha2":"MN","alpha3":"MNG"},
|
||||
{"alpha2":"MS","alpha3":"MSR"},
|
||||
{"alpha2":"MA","alpha3":"MAR"},
|
||||
{"alpha2":"MZ","alpha3":"MOZ"},
|
||||
{"alpha2":"MM","alpha3":"MMR"},
|
||||
{"alpha2":"NA","alpha3":"NAM"},
|
||||
{"alpha2":"NR","alpha3":"NRU"},
|
||||
{"alpha2":"NP","alpha3":"NPL"},
|
||||
{"alpha2":"AN","alpha3":"ANT"},
|
||||
{"alpha2":"NL","alpha3":"NLD"},
|
||||
{"alpha2":"NC","alpha3":"NCL"},
|
||||
{"alpha2":"NZ","alpha3":"NZL"},
|
||||
{"alpha2":"NI","alpha3":"NIC"},
|
||||
{"alpha2":"NE","alpha3":"NER"},
|
||||
{"alpha2":"NG","alpha3":"NGA"},
|
||||
{"alpha2":"NU","alpha3":"NIU"},
|
||||
{"alpha2":"NF","alpha3":"NFK"},
|
||||
{"alpha2":"MP","alpha3":"MNP"},
|
||||
{"alpha2":"NO","alpha3":"NOR"},
|
||||
{"alpha2":"OM","alpha3":"OMN"},
|
||||
{"alpha2":"PK","alpha3":"PAK"},
|
||||
{"alpha2":"PW","alpha3":"PLW"},
|
||||
{"alpha2":"PS","alpha3":"PSE"},
|
||||
{"alpha2":"PA","alpha3":"PAN"},
|
||||
{"alpha2":"PG","alpha3":"PNG"},
|
||||
{"alpha2":"PY","alpha3":"PRY"},
|
||||
{"alpha2":"PE","alpha3":"PER"},
|
||||
{"alpha2":"PH","alpha3":"PHL"},
|
||||
{"alpha2":"PN","alpha3":"PCN"},
|
||||
{"alpha2":"PL","alpha3":"POL"},
|
||||
{"alpha2":"PT","alpha3":"PRT"},
|
||||
{"alpha2":"PR","alpha3":"PRI"},
|
||||
{"alpha2":"QA","alpha3":"QAT"},
|
||||
{"alpha2":"RE","alpha3":"REU"},
|
||||
{"alpha2":"RO","alpha3":"ROU"},
|
||||
{"alpha2":"RU","alpha3":"RUS"},
|
||||
{"alpha2":"RW","alpha3":"RWA"},
|
||||
{"alpha2":"SH","alpha3":"SHN"},
|
||||
{"alpha2":"KN","alpha3":"KNA"},
|
||||
{"alpha2":"LC","alpha3":"LCA"},
|
||||
{"alpha2":"PM","alpha3":"SPM"},
|
||||
{"alpha2":"VC","alpha3":"VCT"},
|
||||
{"alpha2":"WS","alpha3":"WSM"},
|
||||
{"alpha2":"SM","alpha3":"SMR"},
|
||||
{"alpha2":"ST","alpha3":"STP"},
|
||||
{"alpha2":"SA","alpha3":"SAU"},
|
||||
{"alpha2":"SN","alpha3":"SEN"},
|
||||
{"alpha2":"CS","alpha3":"SCG"},
|
||||
{"alpha2":"SC","alpha3":"SYC"},
|
||||
{"alpha2":"SL","alpha3":"SLE"},
|
||||
{"alpha2":"SG","alpha3":"SGP"},
|
||||
{"alpha2":"SK","alpha3":"SVK"},
|
||||
{"alpha2":"SI","alpha3":"SVN"},
|
||||
{"alpha2":"SB","alpha3":"SLB"},
|
||||
{"alpha2":"SO","alpha3":"SOM"},
|
||||
{"alpha2":"ZA","alpha3":"ZAF"},
|
||||
{"alpha2":"GS","alpha3":"SGS"},
|
||||
{"alpha2":"ES","alpha3":"ESP"},
|
||||
{"alpha2":"LK","alpha3":"LKA"},
|
||||
{"alpha2":"SD","alpha3":"SDN"},
|
||||
{"alpha2":"SR","alpha3":"SUR"},
|
||||
{"alpha2":"SJ","alpha3":"SJM"},
|
||||
{"alpha2":"SZ","alpha3":"SWZ"},
|
||||
{"alpha2":"SE","alpha3":"SWE"},
|
||||
{"alpha2":"CH","alpha3":"CHE"},
|
||||
{"alpha2":"SY","alpha3":"SYR"},
|
||||
{"alpha2":"TW","alpha3":"TWN"},
|
||||
{"alpha2":"TJ","alpha3":"TJK"},
|
||||
{"alpha2":"TZ","alpha3":"TZA"},
|
||||
{"alpha2":"TH","alpha3":"THA"},
|
||||
{"alpha2":"TL","alpha3":"TLS"},
|
||||
{"alpha2":"TG","alpha3":"TGO"},
|
||||
{"alpha2":"TK","alpha3":"TKL"},
|
||||
{"alpha2":"TO","alpha3":"TON"},
|
||||
{"alpha2":"TT","alpha3":"TTO"},
|
||||
{"alpha2":"TN","alpha3":"TUN"},
|
||||
{"alpha2":"TR","alpha3":"TUR"},
|
||||
{"alpha2":"TM","alpha3":"TKM"},
|
||||
{"alpha2":"TC","alpha3":"TCA"},
|
||||
{"alpha2":"TV","alpha3":"TUV"},
|
||||
{"alpha2":"VI","alpha3":"VIR"},
|
||||
{"alpha2":"UG","alpha3":"UGA"},
|
||||
{"alpha2":"UA","alpha3":"UKR"},
|
||||
{"alpha2":"AE","alpha3":"ARE"},
|
||||
{"alpha2":"GB","alpha3":"GBR"},
|
||||
{"alpha2":"UM","alpha3":"UMI"},
|
||||
{"alpha2":"US","alpha3":"USA"},
|
||||
{"alpha2":"UY","alpha3":"URY"},
|
||||
{"alpha2":"UZ","alpha3":"UZB"},
|
||||
{"alpha2":"VU","alpha3":"VUT"},
|
||||
{"alpha2":"VE","alpha3":"VEN"},
|
||||
{"alpha2":"VN","alpha3":"VNM"},
|
||||
{"alpha2":"WF","alpha3":"WLF"},
|
||||
{"alpha2":"EH","alpha3":"ESH"},
|
||||
{"alpha2":"YE","alpha3":"YEM"},
|
||||
{"alpha2":"ZM","alpha3":"ZMB"},
|
||||
{"alpha2":"ZW","alpha3":"ZWE"}
|
||||
]
|
||||
|
|
@ -0,0 +1,265 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
use Webkul\Marketplace\Repositories\SellerRepository;
|
||||
|
||||
/**
|
||||
* Order Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class OrderDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
protected $index = 'order_id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
/**
|
||||
* SellerRepository object
|
||||
*
|
||||
* @var Object
|
||||
*/
|
||||
protected $sellerRepository;
|
||||
|
||||
/**
|
||||
* Seller object
|
||||
*
|
||||
* @var Object
|
||||
*/
|
||||
protected $seller;
|
||||
|
||||
/**
|
||||
* Create a new repository instance.
|
||||
*
|
||||
* @param Webkul\Marketplace\Repositories\SellerRepository $sellerRepository
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(SellerRepository $sellerRepository)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->sellerRepository = $sellerRepository;
|
||||
}
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
$queryBuilder = DB::table('marketplace_orders')
|
||||
->leftJoin('orders', 'marketplace_orders.order_id', '=', 'orders.id')
|
||||
->leftJoin('marketplace_transactions', 'marketplace_orders.id', '=', 'marketplace_transactions.marketplace_order_id')
|
||||
->select('orders.id', 'marketplace_orders.order_id', 'marketplace_orders.base_sub_total', 'marketplace_orders.base_grand_total', 'marketplace_orders.base_commission', 'marketplace_orders.base_seller_total', 'marketplace_orders.base_seller_total_invoiced', 'marketplace_orders.created_at', 'marketplace_orders.status', 'is_withdrawal_requested', 'seller_payout_status', 'marketplace_orders.marketplace_seller_id', 'marketplace_orders.base_discount_amount')
|
||||
->addSelect(DB::raw('CONCAT(orders.customer_first_name, " ", orders.customer_last_name) as customer_name'), 'orders.increment_id')
|
||||
->addSelect(DB::raw('SUM(marketplace_transactions.base_total) as total_paid'))
|
||||
->groupBy('marketplace_orders.id');
|
||||
|
||||
|
||||
if (request()->id) {
|
||||
$this->seller = $this->sellerRepository->find(request()->id);
|
||||
|
||||
$queryBuilder->where('marketplace_orders.marketplace_seller_id', $this->seller->id);
|
||||
} else {
|
||||
$queryBuilder->leftJoin('marketplace_sellers', 'marketplace_orders.marketplace_seller_id', '=', 'marketplace_sellers.id')
|
||||
->leftJoin('customers', 'marketplace_sellers.customer_id', '=', 'customers.id')
|
||||
->addSelect(DB::raw('CONCAT(customers.first_name, " ", customers.last_name) as seller_name'));
|
||||
|
||||
$this->addFilter('seller_name', DB::raw('CONCAT(customers.first_name, " ", customers.last_name)'));
|
||||
}
|
||||
|
||||
$this->addFilter('customer_name', DB::raw('CONCAT(orders.customer_first_name, " ", orders.customer_last_name)'));
|
||||
$this->addFilter('base_grand_total', 'marketplace_orders.base_grand_total');
|
||||
$this->addFilter('status', 'marketplace_orders.status');
|
||||
$this->addFilter('created_at', 'marketplace_orders.created_at');
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'increment_id',
|
||||
'label' => trans('marketplace::app.admin.orders.order-id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_grand_total',
|
||||
'label' => trans('marketplace::app.admin.orders.grand-total'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'customer_name',
|
||||
'label' => trans('marketplace::app.admin.orders.billed-to'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'status',
|
||||
'label' => trans('marketplace::app.admin.orders.status'),
|
||||
'type' => 'string',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'closure' => true,
|
||||
'filterable' => true,
|
||||
'wrapper' => function ($row) {
|
||||
if ($row->status == 'processing')
|
||||
return '<span class="badge badge-md badge-success">' . trans("marketplace::app.admin.orders.processing") . '</span>';
|
||||
else if ($row->status == 'completed')
|
||||
return '<span class="badge badge-md badge-success">' . trans("marketplace::app.admin.orders.completed") . '</span>';
|
||||
else if ($row->status == "canceled")
|
||||
return '<span class="badge badge-md badge-danger">' . trans("marketplace::app.admin.orders.canceled") . '</span>';
|
||||
else if ($row->status == "closed")
|
||||
return '<span class="badge badge-md badge-info">' . trans("marketplace::app.admin.orders.closed") . '</span>';
|
||||
else if ($row->status == "pending")
|
||||
return '<span class="badge badge-md badge-warning">' . trans("marketplace::app.admin.orders.pending") . '</span>';
|
||||
else if ($row->status == "pending_payment")
|
||||
return '<span class="badge badge-md badge-warning">' . trans("marketplace::app.admin.orders.pending-payment") . '</span>';
|
||||
else if ($row->status == "fraud")
|
||||
return '<span class="badge badge-md badge-danger">' . trans("marketplace::app.admin.orders.fraud") . '</span>';
|
||||
}
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'created_at',
|
||||
'label' => trans('marketplace::app.admin.orders.order-date'),
|
||||
'type' => 'datetime',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
if (!request()->id) {
|
||||
$this->addColumn([
|
||||
'index' => 'seller_name',
|
||||
'label' => trans('marketplace::app.admin.orders.seller-name'),
|
||||
'type' => 'string',
|
||||
'sortable' => true,
|
||||
'searchable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
}
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_commission',
|
||||
'label' => trans('marketplace::app.admin.orders.commission'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_discount_amount',
|
||||
'label' => trans('marketplace::app.admin.orders.discount'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_seller_total',
|
||||
'label' => trans('marketplace::app.admin.orders.seller-total'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_seller_total_invoiced',
|
||||
'label' => trans('marketplace::app.admin.orders.seller-total-invoiced'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'total_paid',
|
||||
'label' => trans('marketplace::app.admin.orders.total-paid'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_remaining_total',
|
||||
'label' => trans('marketplace::app.admin.orders.remaining-total'),
|
||||
'type' => 'string',
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'wrapper' => function($row) {
|
||||
if (! is_null($row->total_paid))
|
||||
return core()->formatBasePrice($row->base_seller_total_invoiced - $row->total_paid);
|
||||
|
||||
return core()->formatBasePrice($row->base_seller_total_invoiced);
|
||||
}
|
||||
]);
|
||||
|
||||
// $this->addColumn([
|
||||
// 'index' => 'is_withdrawal_requested',
|
||||
// 'label' => trans('marketplace::app.admin.orders.withdrawal-requested'),
|
||||
// 'type' => 'string',
|
||||
// 'searchable' => false,
|
||||
// 'sortable' => true,
|
||||
// 'wrapper' => function($row) {
|
||||
// if ($row->is_withdrawal_requested)
|
||||
// return trans('marketplace::app.admin.orders.yes');
|
||||
// else
|
||||
// return trans('marketplace::app.admin.orders.no');
|
||||
// }
|
||||
// ]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'pay',
|
||||
'label' => trans('marketplace::app.admin.orders.pay'),
|
||||
'type' => 'string',
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
if ($row->seller_payout_status == 'paid') {
|
||||
return trans('marketplace::app.admin.orders.already-paid');
|
||||
} else if ($row->seller_payout_status == 'refunded') {
|
||||
return trans('marketplace::app.admin.orders.refunded');
|
||||
} else {
|
||||
$remaining = ! is_null($row->total_paid) ? $row->base_seller_total_invoiced - $row->total_paid : $row->base_seller_total_invoiced;
|
||||
|
||||
if ((float) $remaining) {
|
||||
return '<button class="btn btn-sm btn-primary pay-btn" data-id="' . $row->id . '" seller-id="' . $row->marketplace_seller_id .'">' . trans('marketplace::app.admin.orders.pay') . '</button>';
|
||||
} else {
|
||||
return trans('marketplace::app.admin.orders.invoice-pending');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]);
|
||||
}
|
||||
|
||||
public function prepareActions()
|
||||
{
|
||||
$this->addAction([
|
||||
'type' => 'View',
|
||||
'route' => 'admin.sales.orders.view',
|
||||
'icon' => 'icon eye-icon',
|
||||
'method' => 'GET',
|
||||
'title' => 'View'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,195 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
use Webkul\Marketplace\Repositories\SellerRepository;
|
||||
|
||||
/**
|
||||
* Order Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class PaymentRequestDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
protected $index = 'order_id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
/**
|
||||
* SellerRepository object
|
||||
*
|
||||
* @var Object
|
||||
*/
|
||||
protected $sellerRepository;
|
||||
|
||||
/**
|
||||
* Seller object
|
||||
*
|
||||
* @var Object
|
||||
*/
|
||||
protected $seller;
|
||||
|
||||
/**
|
||||
* Create a new repository instance.
|
||||
*
|
||||
* @param Webkul\Marketplace\Repositories\SellerRepository $sellerRepository
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(SellerRepository $sellerRepository)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->sellerRepository = $sellerRepository;
|
||||
}
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
$queryBuilder = DB::table('marketplace_orders')
|
||||
->leftJoin('orders', 'marketplace_orders.order_id', '=', 'orders.id')
|
||||
->leftJoin('marketplace_transactions', 'marketplace_orders.id', '=', 'marketplace_transactions.marketplace_order_id')
|
||||
->select('orders.id', 'marketplace_orders.order_id', 'marketplace_orders.base_sub_total', 'marketplace_orders.base_grand_total', 'marketplace_orders.base_commission', 'marketplace_orders.base_seller_total', 'marketplace_orders.base_seller_total_invoiced', 'marketplace_orders.created_at', 'marketplace_orders.status', 'is_withdrawal_requested', 'seller_payout_status', 'marketplace_orders.marketplace_seller_id', 'marketplace_orders.base_discount_amount')
|
||||
->addSelect(DB::raw('CONCAT(orders.customer_first_name, " ", orders.customer_last_name) as customer_name'), 'orders.increment_id')
|
||||
->addSelect(DB::raw('SUM(marketplace_transactions.base_total) as total_paid'))
|
||||
->groupBy('marketplace_orders.id')->where('marketplace_orders.seller_payout_status', 'requested');
|
||||
|
||||
|
||||
|
||||
$this->addFilter('customer_name', DB::raw('CONCAT(orders.customer_first_name, " ", orders.customer_last_name)'));
|
||||
$this->addFilter('base_grand_total', 'marketplace_orders.base_grand_total');
|
||||
$this->addFilter('status', 'marketplace_orders.status');
|
||||
$this->addFilter('created_at', 'marketplace_orders.created_at');
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'increment_id',
|
||||
'label' => trans('marketplace::app.admin.orders.order-id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'customer_name',
|
||||
'label' => trans('marketplace::app.admin.orders.billed-to'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'status',
|
||||
'label' => trans('marketplace::app.admin.orders.status'),
|
||||
'type' => 'string',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'closure' => true,
|
||||
'filterable' => true,
|
||||
'wrapper' => function ($row) {
|
||||
if ($row->status == 'processing')
|
||||
return '<span class="badge badge-md badge-success">' . trans("marketplace::app.admin.orders.processing") . '</span>';
|
||||
else if ($row->status == 'completed')
|
||||
return '<span class="badge badge-md badge-success">' . trans("marketplace::app.admin.orders.completed") . '</span>';
|
||||
else if ($row->status == "canceled")
|
||||
return '<span class="badge badge-md badge-danger">' . trans("marketplace::app.admin.orders.canceled") . '</span>';
|
||||
else if ($row->status == "closed")
|
||||
return '<span class="badge badge-md badge-info">' . trans("marketplace::app.admin.orders.closed") . '</span>';
|
||||
else if ($row->status == "pending")
|
||||
return '<span class="badge badge-md badge-warning">' . trans("marketplace::app.admin.orders.pending") . '</span>';
|
||||
else if ($row->status == "pending_payment")
|
||||
return '<span class="badge badge-md badge-warning">' . trans("marketplace::app.admin.orders.pending-payment") . '</span>';
|
||||
else if ($row->status == "fraud")
|
||||
return '<span class="badge badge-md badge-danger">' . trans("marketplace::app.admin.orders.fraud") . '</span>';
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_seller_total_invoiced',
|
||||
'label' => trans('marketplace::app.admin.orders.seller-total-invoiced'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'total_paid',
|
||||
'label' => trans('marketplace::app.admin.orders.total-paid'),
|
||||
'type' => 'price',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'base_remaining_total',
|
||||
'label' => trans('marketplace::app.admin.orders.remaining-total'),
|
||||
'type' => 'string',
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'wrapper' => function($row) {
|
||||
if (! is_null($row->total_paid))
|
||||
return core()->formatBasePrice($row->base_seller_total_invoiced - $row->total_paid);
|
||||
|
||||
return core()->formatBasePrice($row->base_seller_total_invoiced);
|
||||
}
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'pay',
|
||||
'label' => trans('marketplace::app.admin.orders.pay'),
|
||||
'type' => 'string',
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
if ($row->seller_payout_status == 'paid') {
|
||||
return trans('marketplace::app.admin.orders.already-paid');
|
||||
} else if ($row->seller_payout_status == 'refunded') {
|
||||
return trans('marketplace::app.admin.orders.refunded');
|
||||
} else if ($row->seller_payout_status == 'requested') {
|
||||
|
||||
$remaining = ! is_null($row->total_paid) ? $row->base_seller_total_invoiced - $row->total_paid : $row->base_seller_total_invoiced;
|
||||
|
||||
if ((float) $remaining) {
|
||||
return '<button class="btn btn-sm btn-primary pay-btn" data-id="' . $row->id . '" seller-id="' . $row->marketplace_seller_id .'">' . trans('marketplace::app.admin.orders.pay') . '</button>';
|
||||
} else {
|
||||
return trans('marketplace::app.admin.orders.invoice-pending');
|
||||
}
|
||||
|
||||
}else {
|
||||
$remaining = ! is_null($row->total_paid) ? $row->base_seller_total_invoiced - $row->total_paid : $row->base_seller_total_invoiced;
|
||||
|
||||
if ((float) $remaining) {
|
||||
return '<a href='. route('marketplace.account.payment.request', $row->id ).' class="btn btn-sm btn-primary" data-id="' . $row->id . '" seller-id="' . $row->marketplace_seller_id .'">' . trans('marketplace::app.shop.sellers.account.sales.payment-request.request-payment') . '</a> ';
|
||||
} else {
|
||||
return trans('marketplace::app.admin.orders.invoice-pending');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]);
|
||||
}
|
||||
|
||||
public function prepareActions()
|
||||
{
|
||||
$this->addAction([
|
||||
'type' => 'View',
|
||||
'route' => 'admin.sales.orders.view',
|
||||
'icon' => 'icon eye-icon',
|
||||
'method' => 'GET',
|
||||
'title' => 'View'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,205 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
|
||||
/**
|
||||
* Product Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class ProductDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $index = 'marketplace_product_id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
|
||||
$queryBuilder = DB::table('marketplace_products')
|
||||
->leftJoin('product_flat', 'marketplace_products.product_id', '=', 'product_flat.id')
|
||||
->leftJoin('marketplace_product_flags', 'product_flat.product_id', '=', 'marketplace_product_flags.product_id')
|
||||
->leftJoin('marketplace_sellers', 'marketplace_products.marketplace_seller_id', '=', 'marketplace_sellers.id')
|
||||
->leftJoin('customers', 'marketplace_sellers.customer_id', '=', 'customers.id')
|
||||
->leftJoin('product_inventories', 'marketplace_sellers.id', '=', 'product_inventories.vendor_id')
|
||||
->addSelect('product_inventories.qty as quantity')->groupBy('marketplace_products.id')
|
||||
->addSelect(
|
||||
'marketplace_products.id as marketplace_product_id',
|
||||
'product_flat.product_id',
|
||||
'product_flat.sku',
|
||||
'product_flat.url_key',
|
||||
'product_flat.name',
|
||||
'marketplace_products.price',
|
||||
'product_flat.product_number',
|
||||
'product_flat.price as product_flat_price',
|
||||
'marketplace_products.is_owner',
|
||||
'marketplace_products.is_approved',
|
||||
DB::raw('CONCAT(customers.first_name, " ", customers.last_name) as seller_name'),
|
||||
DB::raw('COUNT(marketplace_product_flags.id) as flags')
|
||||
)
|
||||
|
||||
->where('channel', core()->getCurrentChannelCode())
|
||||
->where('locale', app()->getLocale());
|
||||
|
||||
|
||||
$this->addFilter('seller_name', DB::raw('CONCAT(customers.first_name, " ", customers.last_name)'));
|
||||
$this->addFilter('sku', 'product_flat.sku');
|
||||
$this->addFilter('product_id', 'product_flat.product_id');
|
||||
$this->addFilter('product_number', 'product_flat.product_number');
|
||||
$this->addFilter('price', 'product_flat.price');
|
||||
$this->addFilter('is_approved', 'marketplace_products.is_approved');
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'product_id',
|
||||
'label' => trans('marketplace::app.admin.products.product-id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'product_number',
|
||||
'label' => trans('marketplace::app.admin.products.product-number'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true,
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'seller_name',
|
||||
'label' => trans('marketplace::app.admin.sellers.seller-name'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'sku',
|
||||
'label' => trans('marketplace::app.admin.products.sku'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'name',
|
||||
'label' => trans('marketplace::app.admin.products.name'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
if ($row->url_key) {
|
||||
return '<a target="_blank" href="'.route('shop.productOrCategory.index', $row->url_key).'">' . $row->name . '</a>';
|
||||
} else {
|
||||
return $row->name;
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
||||
if ( (core()->getConfigData('marketplace.settings.product_flag.enable'))) {
|
||||
$this->addColumn([
|
||||
'index' => 'flags',
|
||||
'label' => trans('marketplace::app.admin.flag.title'),
|
||||
'type' => 'integer',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => false,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
return '<a href="'.route('admin.catalog.products.edit', $row->product_id).'">' . $row->flags . '</a>';
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'price',
|
||||
'label' => trans('marketplace::app.admin.products.price'),
|
||||
'type' => 'price',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'filterable' => true,
|
||||
'wrapper' => function($row) {
|
||||
if ($row->is_owner == 1)
|
||||
return number_format($row->product_flat_price, 2);
|
||||
else
|
||||
return number_format($row->price, 2);
|
||||
}
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'quantity',
|
||||
'label' => trans('marketplace::app.admin.products.quantity'),
|
||||
'type' => 'number',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'filterable' => false
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'is_approved',
|
||||
'label' => trans('marketplace::app.admin.products.status'),
|
||||
'type' => 'boolean',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'filterable' => true,
|
||||
'wrapper' => function($row) {
|
||||
if ($row->is_approved == 1)
|
||||
return trans('marketplace::app.admin.products.approved');
|
||||
else
|
||||
return trans('marketplace::app.admin.products.un-approved');
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
public function prepareActions()
|
||||
{
|
||||
$this->addAction([
|
||||
'type' => 'delete',
|
||||
'method' => 'POST',
|
||||
'route' => 'admin.marketplace.products.delete',
|
||||
'confirm_text' => trans('ui::app.datagrid.massaction.delete', ['resource' => 'product']),
|
||||
'icon' => 'icon trash-icon',
|
||||
'title' => trans('ui::app.datagrid.massaction.delete', ['resource' => 'product'])
|
||||
]);
|
||||
}
|
||||
|
||||
public function prepareMassActions()
|
||||
{
|
||||
$this->addMassAction([
|
||||
'type' => 'delete',
|
||||
'label' => trans('marketplace::app.admin.products.delete'),
|
||||
'action' => route('admin.marketplace.products.massdelete'),
|
||||
'method' => 'POST'
|
||||
]);
|
||||
|
||||
$this->addMassAction([
|
||||
'type' => 'update',
|
||||
'label' => trans('marketplace::app.admin.products.update'),
|
||||
'action' => route('admin.marketplace.products.massupdate'),
|
||||
'method' => 'POST',
|
||||
'options' => [
|
||||
trans('marketplace::app.admin.sellers.approve') => 1,
|
||||
trans('marketplace::app.admin.sellers.unapprove') => 0
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
|
||||
/**
|
||||
* Seller Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class ProductFlagDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $index = 'id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
$queryBuilder = DB::table('marketplace_product_flags')
|
||||
|
||||
->select('marketplace_product_flags.id', 'marketplace_product_flags.reason', 'marketplace_product_flags.name', 'marketplace_product_flags.email');
|
||||
|
||||
$this->addFilter('reason', 'marketplace_product_flags.reason' );
|
||||
$this->addFilter('email', 'marketplace_product_flags.email' );
|
||||
$this->addFilter('name', 'marketplace_product_flags.name' );
|
||||
$this->addFilter('id', 'marketplace_product_flags.id');
|
||||
$this->addFilter('created_at', 'marketplace_product_flags.created_at');
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'id',
|
||||
'label' => trans('marketplace::app.admin.sellers.id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => false
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'name',
|
||||
'label' => trans('marketplace::app.admin.flag.name'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => false
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'email',
|
||||
'label' => trans('marketplace::app.admin.flag.email'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => false
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'reason',
|
||||
'label' => trans('marketplace::app.admin.products.flag.reason'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => false,
|
||||
'closure' => true,
|
||||
]);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
|
||||
/**
|
||||
* Product Flag Reason Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class ProductFlagReasonDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $index = 'id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
$queryBuilder = DB::table('marketplace_product_flag_reasons')
|
||||
|
||||
->select('marketplace_product_flag_reasons.id', 'marketplace_product_flag_reasons.reason', 'marketplace_product_flag_reasons.status');
|
||||
|
||||
$this->addFilter('reason', 'marketplace_product_flag_reasons.reason' );
|
||||
$this->addFilter('status', 'marketplace_product_flag_reasons.status' );
|
||||
$this->addFilter('id', 'marketplace_product_flag_reasons.id');
|
||||
$this->addFilter('created_at', 'marketplace_product_flag_reasons.created_at');
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'id',
|
||||
'label' => trans('marketplace::app.admin.sellers.id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'reason',
|
||||
'label' => trans('marketplace::app.admin.products.flag.reason'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true,
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'status',
|
||||
'label' => trans('marketplace::app.admin.products.flag.status'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
public function prepareActions()
|
||||
{
|
||||
$this->addAction([
|
||||
'type' => 'Edit',
|
||||
'method' => 'GET',
|
||||
'route' => 'marketplace.admin.product.flag.reason.edit',
|
||||
'icon' => 'icon pencil-lg-icon',
|
||||
'title' => ''
|
||||
]);
|
||||
|
||||
$this->addAction([
|
||||
'type' => 'Delete',
|
||||
'method' => 'POST',
|
||||
'route' => 'marketplace.admin.product.flag.reason.delete',
|
||||
'confirm_text' => trans('ui::app.datagrid.massaction.delete'),
|
||||
'icon' => 'icon trash-icon',
|
||||
'title' => ''
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
public function prepareMassActions()
|
||||
{
|
||||
$this->addMassAction([
|
||||
'type' => 'delete',
|
||||
'label' => trans('marketplace::app.admin.sellers.delete'),
|
||||
'action' => route('marketplace.admin.product.flag.reason.mass-delete'),
|
||||
'method' => 'POST',
|
||||
'title' => 'delete'
|
||||
]);
|
||||
|
||||
// $this->addMassAction([
|
||||
// 'type' => 'update',
|
||||
// 'label' => trans('marketplace::app.admin.sellers.update'),
|
||||
// 'action' => route('admin.marketplace.sellers.massupdate'),
|
||||
// 'method' => 'PUT',
|
||||
// 'options' => [
|
||||
// trans('marketplace::app.admin.sellers.approve') => 1,
|
||||
// trans('marketplace::app.admin.sellers.unapprove') => 0
|
||||
// ]
|
||||
// ]);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,119 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
use Webkul\Marketplace\Repositories\SellerRepository;
|
||||
|
||||
/**
|
||||
* Review Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class ReviewDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $index = 'id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
$queryBuilder = DB::table('marketplace_seller_reviews')
|
||||
->leftJoin('customers', 'marketplace_seller_reviews.customer_id', '=', 'customers.id')
|
||||
->leftJoin('marketplace_sellers', 'marketplace_seller_reviews.marketplace_seller_id', '=', 'marketplace_sellers.id')
|
||||
->leftJoin('customers as seller_customers', 'marketplace_sellers.customer_id', '=', 'seller_customers.id')
|
||||
->select('marketplace_seller_reviews.id', 'rating', 'marketplace_seller_reviews.status', 'comment')
|
||||
->addSelect(DB::raw('CONCAT(customers.first_name, " ", customers.last_name) as customer_name'))
|
||||
->addSelect(DB::raw('CONCAT(seller_customers.first_name, " ", seller_customers.last_name) as seller_name'));
|
||||
|
||||
$this->addFilter('customer_name', DB::raw('CONCAT(customers.first_name, " ", customers.last_name)'));
|
||||
$this->addFilter('seller_name', DB::raw('CONCAT(seller_customers.first_name, " ", seller_customers.last_name)'));
|
||||
$this->addFilter('id', 'marketplace_seller_reviews.id');
|
||||
$this->addFilter('status', 'marketplace_seller_reviews.status');
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'id',
|
||||
'label' => trans('marketplace::app.admin.reviews.id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'customer_name',
|
||||
'label' => trans('marketplace::app.admin.reviews.customer-name'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'seller_name',
|
||||
'label' => trans('marketplace::app.admin.reviews.seller-name'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'rating',
|
||||
'label' => trans('marketplace::app.admin.reviews.rating'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'status',
|
||||
'label' => trans('marketplace::app.admin.reviews.status'),
|
||||
'type' => 'boolean',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'wrapper' => function($row) {
|
||||
if ($row->status == 'approved')
|
||||
return trans('marketplace::app.admin.reviews.approved');
|
||||
else
|
||||
return trans('marketplace::app.admin.reviews.un-approved');
|
||||
}
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'comment',
|
||||
'label' => trans('marketplace::app.admin.reviews.comment'),
|
||||
'type' => 'string',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'filterable' => true
|
||||
]);
|
||||
}
|
||||
|
||||
public function prepareMassActions()
|
||||
{
|
||||
$this->addMassAction([
|
||||
'type' => 'update',
|
||||
'title' => trans('marketplace::app.admin.reviews.update'),
|
||||
'label' => trans('marketplace::app.admin.reviews.update'),
|
||||
'action' => route('admin.marketplace.reviews.massupdate'),
|
||||
'method' => 'POST',
|
||||
'options' => [
|
||||
trans('marketplace::app.admin.reviews.approve') => 'approved',
|
||||
trans('marketplace::app.admin.reviews.unapprove') => 'unapproved'
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
|
||||
/**
|
||||
* Seller Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class SellerCategoryDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $index = 'id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
protected $enableFilterMap = true;
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
$queryBuilder = DB::table('seller_categories')
|
||||
->leftJoin('marketplace_sellers', 'seller_categories.seller_id', 'marketplace_sellers.id')
|
||||
->leftJoin('customers', 'marketplace_sellers.customer_id', 'customers.id')
|
||||
|
||||
->select(DB::raw('CONCAT(customers.first_name, " ", customers.last_name) as name'),
|
||||
'seller_categories.categories',
|
||||
'seller_categories.id'
|
||||
);
|
||||
|
||||
$this->addFilter('customer_name', DB::raw('CONCAT(customers.first_name, " ", customers.last_name)'));
|
||||
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'id',
|
||||
'label' => trans('marketplace::app.admin.sellers.id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'name',
|
||||
'label' => trans('marketplace::app.admin.flag.name'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
public function prepareActions()
|
||||
{
|
||||
$this->addAction([
|
||||
'type' => 'edit',
|
||||
'method' => 'GET',
|
||||
'route' => 'admin.marketplace.seller.category.edit',
|
||||
'icon' => 'icon pencil-lg-icon',
|
||||
'title' => ''
|
||||
], true);
|
||||
|
||||
$this->addAction([
|
||||
'type' => 'Delete',
|
||||
'method' => 'delete',
|
||||
'route' => 'admin.marketplace.seller.category.delete',
|
||||
'confirm_text' => trans('ui::app.datagrid.massaction.delete', ['resource' => 'product']),
|
||||
'icon' => 'icon trash-icon',
|
||||
'title' => trans('ui::app.datagrid.massaction.delete', ['resource' => 'product'])
|
||||
], true);
|
||||
}
|
||||
|
||||
public function prepareMassActions()
|
||||
{
|
||||
$this->addMassAction([
|
||||
'type' => 'delete',
|
||||
'label' => trans('marketplace::app.admin.sellers.delete'),
|
||||
'action' => route('admin.marketplace.seller.category.mass-delete'),
|
||||
'method' => 'POST',
|
||||
'title' => ''
|
||||
], true) ;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,189 @@
|
|||
<?php
|
||||
|
||||
namespace Webkul\Marketplace\DataGrids\Admin;
|
||||
|
||||
use DB;
|
||||
use Webkul\Ui\DataGrid\DataGrid;
|
||||
|
||||
/**
|
||||
* Seller Data Grid class
|
||||
*
|
||||
* @author Jitendra Singh <jitendra@webkul.com>
|
||||
* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
|
||||
*/
|
||||
class SellerDataGrid extends DataGrid
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $index = 'id';
|
||||
|
||||
protected $sortOrder = 'desc'; //asc or desc
|
||||
|
||||
public function prepareQueryBuilder()
|
||||
{
|
||||
if ( (core()->getConfigData('marketplace.settings.seller_flag.enable'))) {
|
||||
$queryBuilder = DB::table('marketplace_sellers')
|
||||
->leftJoin('customers', 'marketplace_sellers.customer_id', '=', 'customers.id')
|
||||
->leftJoin('marketplace_seller_flags', 'marketplace_sellers.id', '=', 'marketplace_seller_flags.seller_id')
|
||||
|
||||
->select('marketplace_sellers.id', 'marketplace_sellers.created_at', 'customers.email', 'marketplace_sellers.is_approved', 'marketplace_sellers.customer_id', DB::raw('CONCAT(customers.first_name, " ", customers.last_name) as customer_name'), 'marketplace_sellers.url' )->selectRaw('count(marketplace_seller_flags.id) as flags')
|
||||
->groupBy('marketplace_sellers.id');
|
||||
|
||||
$this->addFilter('customer_name', DB::raw('CONCAT(customers.first_name, " ", customers.last_name)'));
|
||||
$this->addFilter('id', 'marketplace_sellers.id');
|
||||
$this->addFilter('created_at', 'marketplace_sellers.created_at');
|
||||
} else {
|
||||
$queryBuilder = DB::table('marketplace_sellers')
|
||||
->leftJoin('customers', 'marketplace_sellers.customer_id', '=', 'customers.id')
|
||||
|
||||
->select('marketplace_sellers.id', 'marketplace_sellers.created_at', 'customers.email', 'marketplace_sellers.is_approved', 'marketplace_sellers.customer_id', DB::raw('CONCAT(customers.first_name, " ", customers.last_name) as customer_name') , 'marketplace_sellers.url' );
|
||||
|
||||
$this->addFilter('customer_name', DB::raw('CONCAT(customers.first_name, " ", customers.last_name)'));
|
||||
$this->addFilter('id', 'marketplace_sellers.id');
|
||||
$this->addFilter('created_at', 'marketplace_sellers.created_at');
|
||||
}
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
public function addColumns()
|
||||
{
|
||||
$this->addColumn([
|
||||
'index' => 'id',
|
||||
'label' => trans('marketplace::app.admin.sellers.id'),
|
||||
'type' => 'number',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'customer_name',
|
||||
'label' => trans('marketplace::app.admin.sellers.seller-name'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
return '<a href="' . route('admin.customer.edit', $row->customer_id) . '">' . $row->customer_name . '</a>';
|
||||
}
|
||||
]);
|
||||
|
||||
if ( (core()->getConfigData('marketplace.settings.seller_flag.enable'))) {
|
||||
$this->addColumn([
|
||||
'index' => 'flags',
|
||||
'label' => trans('marketplace::app.admin.flag.title'),
|
||||
'type' => 'integer',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
return '<a href="' . route('admin.customer.edit', $row->customer_id) . '">' . $row->flags . '</a>';
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'email',
|
||||
'label' => trans('marketplace::app.admin.sellers.seller-email'),
|
||||
'type' => 'string',
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'url',
|
||||
'label' => trans('marketplace::app.admin.sellers.seller-profile'),
|
||||
'type' => 'integer',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'filterable' => true,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
return '<a target="_blank" href="' . route('marketplace.seller.show', $row->url) . '">' . trans('marketplace::app.admin.sellers.view-seller-profile') . '</a>';
|
||||
}
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'created_at',
|
||||
'label' => trans('marketplace::app.admin.sellers.created-at'),
|
||||
'type' => 'datetime',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'filterable' => true
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'product',
|
||||
'label' => trans('marketplace::app.admin.sellers.product'),
|
||||
'type' => 'string',
|
||||
'searchable' => false,
|
||||
'sortable' => false,
|
||||
'closure' => true,
|
||||
'wrapper' => function($row) {
|
||||
return '<a href = "' . route('admin.marketplace.seller.product.search', $row->id) . '" class="btn btn-sm btn-primary pay-btn" name="seller_id" value="' . $row->id .'">' . trans('marketplace::app.admin.sellers.add-product') . '</a>';
|
||||
}
|
||||
]);
|
||||
|
||||
$this->addColumn([
|
||||
'index' => 'is_approved',
|
||||
'label' => trans('marketplace::app.admin.sellers.is-approved'),
|
||||
'type' => 'boolean',
|
||||
'sortable' => true,
|
||||
'searchable' => false,
|
||||
'filterable' => true,
|
||||
'wrapper' => function($row) {
|
||||
if ($row->is_approved == 1)
|
||||
return trans('marketplace::app.admin.sellers.approved');
|
||||
else
|
||||
return trans('marketplace::app.admin.sellers.un-approved');
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
public function prepareActions()
|
||||
{
|
||||
$this->addAction([
|
||||
'type' => 'edit',
|
||||
'method' => 'GET',
|
||||
'route' => 'admin.marketplace.seller.edit',
|
||||
'icon' => 'icon pencil-lg-icon',
|
||||
'title' => ''
|
||||
]);
|
||||
|
||||
$this->addAction([
|
||||
'type' => 'Delete',
|
||||
'method' => 'POST',
|
||||
'route' => 'admin.marketplace.sellers.delete',
|
||||
'confirm_text' => trans('ui::app.datagrid.massaction.delete', ['resource' => 'product']),
|
||||
'icon' => 'icon trash-icon',
|
||||
'title' => trans('ui::app.datagrid.massaction.delete', ['resource' => 'product'])
|
||||
]);
|
||||
}
|
||||
|
||||
public function prepareMassActions()
|
||||
{
|
||||
$this->addMassAction([
|
||||
'type' => 'delete',
|
||||
'label' => trans('marketplace::app.admin.sellers.delete'),
|
||||
'action' => route('admin.marketplace.sellers.massdelete'),
|
||||
'method' => 'POST'
|
||||
]);
|
||||
|
||||
$this->addMassAction([
|
||||
'type' => 'update',
|
||||
'label' => trans('marketplace::app.admin.sellers.update'),
|
||||
'action' => route('admin.marketplace.sellers.massupdate'),
|
||||
'method' => 'POST',
|
||||
'options' => [
|
||||
trans('marketplace::app.admin.sellers.approve') => 1,
|
||||
trans('marketplace::app.admin.sellers.unapprove') => 0
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||