LaravelShoppingcart icon indicating copy to clipboard operation
LaravelShoppingcart copied to clipboard

Where we can found cart conditions?

Open thewebdevelopment opened this issue 2 years ago • 0 comments

Cart Conditions are very useful in terms of (coupons,discounts,sale,per-item sale and discounts etc. Like right now I need something like

$condition = new CartCondition(array(
    'name' => 'VAT 12.5%',
    'type' => 'tax',
    'target' => 'subtotal',
    'value' => '12.5%',
    'attributes' => array( 
    	'description' => 'Value added tax',
    	'more_data' => 'more data here'
    )
));

but it is not present in this shopping cart package

thewebdevelopment avatar May 27 '22 07:05 thewebdevelopment