magecomp / magento2-extra-fee

Magento 2 Extra Fee extension allows adding extra charges for additional services like gift wrap, rush order, packing charges etc. and display it on cart and checkout page.
https://magecomp.com/magento-2-extra-fee.html
24 stars 22 forks source link

Adds the Fee Twice #3

Closed webusat closed 4 years ago

webusat commented 6 years ago

Hi,

This seems to add the fee twice. Any ideas?

archanab20 commented 5 years ago

Yes, I have the same issue but I found solution,

Update grandTotal in below files

Model/Total/Fee.php

Model/Quote/Total/Fee.php

Change $total->setGrandTotal($total->getGrandTotal() + $fee); $total->setBaseGrandTotal($total->getBaseGrandTotal() + $fee);

TO $total->setGrandTotal($total->getGrandTotal()); $total->setBaseGrandTotal($total->getBaseGrandTotal());

because it's already update in this file,

Plugin/Checkout/Model/ShippingInformationManagement.php

Clean cache and check, hope it helps you.

nitaipanda commented 5 years ago

image see this issue

nitaipanda commented 5 years ago

Plugin/Checkout/Model/ShippingInformationManagement.php not get fee value

nitaipanda commented 5 years ago

please solve this issues as soon as possible

magecomp commented 5 years ago

Checkout our latest version updated,