Cartflows get cart total discount
For one of my projects I needed the total discount of the items added in Cartflows to my cart so I could show the customer what he/she would save. I created the following function which loops over all the cart items and substracts the “custom price” from the “regular price”. The custom price is an […]
Cartflows get cart total without discount
For one of my projects I needed the original cart total price without the Cartflows product discounts. I created the following function to achieve this: