[
'requirements'
[
'target' => ['categories' => [-1]],
'products' => 2, // amount of products in cart, allowing to give discount to this order;
],
'include' => [] - array,
'exclude' => [
[
'categories' => [4,],
'exactly' => [76, 82,],
],
],
'value' => [
'type' => ['perc' => 'percents', 'abs' => 'absolut amount',], // attention! - one of two allowed
'amount' - amount any of percents or absolut,
/* example: 'amount' = 5; if type = 'perc' - discount is 5% off cart total;
if type = 'abs' = discount is $5 (or your shop currency) off cart total */
],
]
-
Notifications
You must be signed in to change notification settings - Fork 0
cleargoal/shopping-cart-laravel-back
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
an example shopping cart back-end based on Laravel 9, it's API for project 'shopping-cart-vue-front'
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published