Timeline for Apply custom discount in grand total in create order magento admin
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 5, 2018 at 5:41 | comment | added | zus | @AshviniMarwal Suppose if i want to enter discount price at order page how can i change.. Now your code looks like assigned discount order amount in code. i need change randomly so assigning discount amount in code is not a good idea. | |
Jun 17, 2015 at 12:07 | history | edited | liyakat | CC BY-SA 3.0 |
remove thanks from post
|
Jun 17, 2015 at 10:46 | vote | accept | Ashvini K | ||
Jun 17, 2015 at 10:46 | answer | added | Ashvini K | timeline score: 0 | |
Jun 12, 2015 at 10:29 | comment | added | Ashvini K | @Manashvibirla just added two lines $address->setDiscountAmount(-(400)); $address->setDiscountDescription('Custom Discount'); to check it. but it this $400 discount applied on subtotal only not on grand total . i think there is any other function to calculate grand total . | |
Jun 12, 2015 at 10:23 | comment | added | Manashvi Birla | what did u try? | |
Jun 12, 2015 at 10:20 | history | asked | Ashvini K | CC BY-SA 3.0 |