darryldecode / laravelshoppingcart

Shopping Cart Implementation for Laravel Framework
1.32k stars 413 forks source link

Cart Conditions #361

Open vikasjaindevdigital opened 1 year ago

vikasjaindevdigital commented 1 year ago

I have two types of product - simple, and subscription in my system and want to apply Tax around 7% (which should be applied only on the simple product as well as only on shipping 5 l) ) Not on the subscription product Eg - Cart having

  1. One subscription product - $50
  2. One simple product - $20
  3. One more simple product - $10
  4. Shipping - $5

Then tax will calculate on ($20 + $10 + $5) how can I achieve that ??

Thank You

mattvosloo-cuberoute commented 1 year ago

You could add the Tax Condition to those Cart Items instead of the whole Cart?

ashish-spaceo commented 7 months ago

I also want to apply promocode on subtotal not on individual cart item. Is there any workaround for this?