Hi, YES is BC + BFPrices pluggin..... BUT here`s the catch, im using a custom version of your BF coupons app (form) to generate DISCOUNT coupons, what im looking for, is to implement it in a DisplayPluggin Form into my product, and generate a discount acording to the Coupon Setting.
So, i alrredy have all setup, but all rules in the BFPricePluggin, ADD the amount of my result field. And I need to SUBSTRAC so i can generate the discount according to the coupon in the final order.
$current_price // this is the currently calculated price. If another field before this one changed it, it is passed to the next field (so the field order is important)
$field_values // this is the actual "value" of the field. It could also be a group (separated by comma), that's why it is plural. You can also access "$fields" which holds all the fields of the form in their current states
floatval // this just makes sure that the string in the value is a float number and calculatable through a math operation