diff --git a/config/carriers.php b/config/carriers.php deleted file mode 100644 index e5adcce77..000000000 --- a/config/carriers.php +++ /dev/null @@ -1,27 +0,0 @@ - [ - 'code' => 'flatrate', - 'name' => 'Flat Rate', - 'description' => '', - 'default_type' => 'per_order', - 'types' => [ - 'per_unit' => 'Per Unit', - 'per_order' => 'Per Order', - ], - 'price' => 10, - 'class' => 'Webkul\Shipping\Calculators\FlatRate', - 'status' => 1 - ], - - 'fedex' => [ - 'code' => 'fedex', - 'name' => 'Fedex', - 'description' => '', - 'class' => 'Webkul\Shipping\Calculators\FedexRate', - 'status' => 1 - ] -]; - -?> \ No newline at end of file diff --git a/packages/Webkul/Admin/src/Providers/EventServiceProvider.php b/packages/Webkul/Admin/src/Providers/EventServiceProvider.php index ff203d690..237924c66 100644 --- a/packages/Webkul/Admin/src/Providers/EventServiceProvider.php +++ b/packages/Webkul/Admin/src/Providers/EventServiceProvider.php @@ -96,7 +96,6 @@ class EventServiceProvider extends ServiceProvider $acl->add('catalog.categories', 'Categories', 'admin.catalog.categories.index', 1); - $acl->add('configuration', 'Configure', 'admin.account.edit', 5); $acl->add('settings', 'Settings', 'admin.users.index', 6); diff --git a/packages/Webkul/Product/src/Product/ConfigurableOption.php b/packages/Webkul/Product/src/Product/ConfigurableOption.php index bf079f446..b078576ba 100644 --- a/packages/Webkul/Product/src/Product/ConfigurableOption.php +++ b/packages/Webkul/Product/src/Product/ConfigurableOption.php @@ -212,7 +212,7 @@ class ConfigurableOption extends AbstractProduct 'final_price' => [ 'formated_price' => core()->currency($this->price->getMinimalPrice($variant)), 'price' => $this->price->getMinimalPrice($variant) - ], + ] ]; } diff --git a/packages/Webkul/Shipping/src/Carriers/FlatRate.php b/packages/Webkul/Shipping/src/Carriers/FlatRate.php deleted file mode 100644 index c0fbb50bc..000000000 --- a/packages/Webkul/Shipping/src/Carriers/FlatRate.php +++ /dev/null @@ -1,21 +0,0 @@ - 'flatrate', - 'title' => 'Flatrate', - 'rates' => [ - [ - 'title' => 'Flat Rate', - 'rate' => 10 - ] - ] - ]; - } -} -?> \ No newline at end of file diff --git a/packages/Webkul/Shipping/src/Carriers/PerProduct.php b/packages/Webkul/Shipping/src/Carriers/PerProduct.php deleted file mode 100644 index 2c7432d8f..000000000 --- a/packages/Webkul/Shipping/src/Carriers/PerProduct.php +++ /dev/null @@ -1,21 +0,0 @@ - 'perproduct', - 'title' => 'Per Product', - 'rates' => [ - [ - 'title' => 'Per Product', - 'rate' => 10 - ] - ] - ]; - } -} -?> \ No newline at end of file diff --git a/packages/Webkul/Shipping/src/Contracts/Carrier.php b/packages/Webkul/Shipping/src/Contracts/Carrier.php deleted file mode 100644 index 490c99149..000000000 --- a/packages/Webkul/Shipping/src/Contracts/Carrier.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/packages/Webkul/Shipping/src/Helpers/Rates.php b/packages/Webkul/Shipping/src/Helpers/Rates.php deleted file mode 100644 index bbc05868f..000000000 --- a/packages/Webkul/Shipping/src/Helpers/Rates.php +++ /dev/null @@ -1,26 +0,0 @@ -calculeRates()) { - array_push($rates, $rate); - } - } - } - - return $rates; - } - -} - -?> \ No newline at end of file diff --git a/packages/Webkul/Shop/src/Resources/views/products/view/gallery.blade.php b/packages/Webkul/Shop/src/Resources/views/products/view/gallery.blade.php index dee7c22a9..285dd080f 100644 --- a/packages/Webkul/Shop/src/Resources/views/products/view/gallery.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/products/view/gallery.blade.php @@ -12,7 +12,6 @@ - @push('scripts') @@ -25,4 +24,4 @@ -@endpush \ No newline at end of file +@endpush