Magento Forum

   
getDiscount % or Value
 
Malice2k
Jr. Member
 
Total Posts:  1
Joined:  2012-09-10
 

Hello, i have been looking around the forum and google but i can’t find a solution to my problem.

I need to know if % or a value was used to calculate the discount.

Example: i got a product cost $200 in my cart, and i use a coupon for 25%, in the checkout i can see the getDiscountAmount() on the product is $50.
But if i use the same product and a coupon for $50, the getDiscountAmount() will still say $50.

so using getDiscountAmount() i can’t see if % or value was used to calculate the discount.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top