Hi @f45879 ,
It would be totally dependent based on your need.
1) If you need data before order place than you need to take it from amasty_cash_on_delivery_fee_quote (But for that you need quote_id to filter whole table's data collection)
2) and If you need data after order place than you need to take it from amasty_cash_on_delivery_fee_order (But for that you need order_id to filter whole table's data collection)
I don't know where you want to display that charges amount.
Hope it helps!
Thanks
Hi @Ankit Jasani ,
I want to use that value before order place. I didn't know that in quote table are values before order place. Thank you. Now can you help me how to get that value in checkout, please ?
Hi @f45879 ,
I don't have that Amasty's module available with me.
So, I can't debug particular code without that module.
But if you check some files that you will definitely find code for collection taken for amasty_cash_on_delivery_fee_quote and than you just need to apply filter with current quote id and after that you will get amount that you want.
Or Amasty is already displaying fee in order review sidebar on checkout page's payment step by using Knockout. You can check and get help from that part.
Problem solved? Click Kudos and "Accept as Solution".
Hope it helps!
Thanks