Card + Products
This commit is contained in:
parent
5ff57a21a7
commit
c129a44383
38 changed files with 4489 additions and 1789 deletions
|
|
@ -167,6 +167,8 @@ return [
|
|||
Intervention\Image\ImageServiceProvider::class,
|
||||
Maatwebsite\Excel\ExcelServiceProvider::class,
|
||||
Yajra\DataTables\DataTablesServiceProvider::class,
|
||||
App\Providers\YardServiceProvider::class
|
||||
|
||||
|
||||
],
|
||||
|
||||
|
|
@ -226,7 +228,7 @@ return [
|
|||
'Util' => App\Services\Util::class,
|
||||
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
|
||||
'DataTables' => Yajra\DataTables\Facades\DataTables::class,
|
||||
|
||||
'Yard' => App\Services\Facade\Yard::class,
|
||||
],
|
||||
|
||||
];
|
||||
|
|
|
|||
67
config/cart.php
Normal file
67
config/cart.php
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default tax rate
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This default tax rate will be used when you make a class implement the
|
||||
| Taxable interface and use the HasTax trait.
|
||||
|
|
||||
*/
|
||||
|
||||
'tax' => 19,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Shoppingcart database settings
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you can set the connection that the shoppingcart should use when
|
||||
| storing and restoring a cart.
|
||||
|
|
||||
*/
|
||||
|
||||
'database' => [
|
||||
|
||||
'connection' => 'mysql',
|
||||
|
||||
'table' => 'shoppingcart',
|
||||
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Destroy the cart on user logout
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When this option is set to 'true' the cart will automatically
|
||||
| destroy all cart instances when the user logs out.
|
||||
|
|
||||
*/
|
||||
|
||||
'destroy_on_logout' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default number format
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This defaults will be used for the formated numbers if you don't
|
||||
| set them in the method call.
|
||||
|
|
||||
*/
|
||||
|
||||
'format' => [
|
||||
|
||||
'decimals' => 2,
|
||||
|
||||
'decimal_point' => ',',
|
||||
|
||||
'thousand_seperator' => '.'
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
|
|
@ -81,6 +81,7 @@ return array(
|
|||
'extra' => array(
|
||||
'Eloquent' => array('Illuminate\Database\Eloquent\Builder', 'Illuminate\Database\Query\Builder'),
|
||||
'Session' => array('Illuminate\Session\Store'),
|
||||
'Yard' => array('App\Services\Yard'),
|
||||
),
|
||||
|
||||
'magic' => array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue