Crinsane / LaravelShoppingcart

A simple shopping cart implementation for Laravel
MIT License
3.67k stars 1.73k forks source link

disable tax #479

Open nikbakhtam opened 6 years ago

nikbakhtam commented 6 years ago

Hi,

I need to disable the default tax rate ie 21%. I don't want any tax. Cart total is my final price.

vfuto commented 6 years ago

Hi,

You need to publish the cart config to your laravel app..

php artisan vendor:publish and select the tag with config.

Therefore, you will get the cart.php in your config folder, there you can set the tax value.

mrdigitalau commented 6 years ago

php artisan vendor:publish --provider="Gloudemans\Shoppingcart\ShoppingcartServiceProvider" --tag="config"

Then you have a copy of the config file in /config/cart.php which you can edit!! That's all there is to it :)