![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/Corals/modules/Marketplace/config/ |
<?php return [ /* |-------------------------------------------------------------------------- | The caching prefix used to lookup the cart |-------------------------------------------------------------------------- | */ 'cache_prefix' => 'shoppingcart', /* |-------------------------------------------------------------------------- | Locale is used to convert money into a readable format for the user, | please note the UTF-8 , helps to make sure its encoded correctly | | Common Locales | | English - United States (en_US): 123,456.00 | English - UNITED KINGDOM (en_GB) 123,456.00 | Spanish - Spain (es_ES): 123.456,000 | Dutch - Netherlands (nl_NL): 123 456,00 | German - Germany (de_DE): 123.456,00 | French - France (fr_FR): 123 456,00 | Italian - Italy (it_IT): 123.456,00 | | This site is pretty useful : http://lh.2xlibre.net/locales/ | |-------------------------------------------------------------------------- | */ 'locale' => 'en_US.UTF-8', /* |-------------------------------------------------------------------------- | If true displays the international format rather thant he national format |-------------------------------------------------------------------------- | */ 'international_format' => false, /* |-------------------------------------------------------------------------- | Sets the tax for the cart and items , you can change per item | via the object later if needed |-------------------------------------------------------------------------- | */ 'tax' => null, /* |-------------------------------------------------------------------------- | Calculate tax per item, rather than subtotal | https://github.com/lukepolo/shoppingcart/issues/180 | | This will vary , please investigate to follow the rules of your local laws | https://money.stackexchange.com/questions/15051/sales-tax-rounded-then-totaled-or-totaled-then-rounded |-------------------------------------------------------------------------- | */ 'tax_by_item' => false, /* |-------------------------------------------------------------------------- | Allows you to choose if the discounts applied are taxable |-------------------------------------------------------------------------- | */ 'discountTaxable' => false, /* |-------------------------------------------------------------------------- | Allows you to choose if the discounts applied to fees |-------------------------------------------------------------------------- | */ 'discountOnFees' => false, /* |-------------------------------------------------------------------------- | Allows you to configure if a user can apply multiple coupons |-------------------------------------------------------------------------- | */ 'multiple_coupons' => false, /* |-------------------------------------------------------------------------- | The default item model for your relations |-------------------------------------------------------------------------- | */ 'item_model' => null, /* |-------------------------------------------------------------------------- | Binds your data into the correct spots for ShoppingCart |-------------------------------------------------------------------------- | */ 'item_model_bindings' => [ \Corals\Modules\Marketplace\Classes\CartItem::ITEM_ID => 'id', \Corals\Modules\Marketplace\Classes\CartItem::ITEM_NAME => 'name', \Corals\Modules\Marketplace\Classes\CartItem::ITEM_PRICE => 'price', \Corals\Modules\Marketplace\Classes\CartItem::ITEM_TAXABLE => 'taxable', \Corals\Modules\Marketplace\Classes\CartItem::ITEM_OPTIONS => [ // put columns here for additional options, // these will be merged with options that are passed in // e.x // tax => .07 ], ], /* |-------------------------------------------------------------------------- | The default item relations to the item_model |-------------------------------------------------------------------------- | */ 'item_model_relations' => [], /* |-------------------------------------------------------------------------- | This allows you to use multiple devices based on your logged in user |-------------------------------------------------------------------------- | */ 'save_database' => env('MARKETPLACE_SHOPPING_CART_SAVE', false), /* |-------------------------------------------------------------------------- | This allows you to use custom guard to get logged in user |-------------------------------------------------------------------------- | */ 'guard' => null, ];