1

I have magento 1.9.2.3. I have an order for which grand total is 0 and its status is complete. When I am going to create its credit memo, system didn't give an option to create a credit memo.

I just edit the order and give custom price 0 and create the order.

Can some one let me know how can I create a credit memo?

Thanks

2
  • 2
    In case, Grand Total is 0, you can only cancel the order. Refunds (credit memos) are allowed only for the orders with positive grand total, not zero. Commented Aug 18, 2016 at 13:56
  • thanks for answer. i am also unable to cancel the order because its status is complete. can you please let me know how can i cancel the order. Commented Aug 19, 2016 at 5:07

1 Answer 1

3

Its blocked in the Code. If the total paid amount is smaller the 0.0001, then you can't create a Credit Memo.

app/code/core/Mage/Sales/Model/Order.php

if (abs($this->getStore()->roundPrice($this->getTotalPaid()) - $this->getTotalRefunded()) < .0001) {
    return false;
}
2
  • Is there a way how can i restock the products? actually i want to restock the products by credit memo or anything else procedure? Commented Aug 19, 2016 at 5:35
  • There are other files to hack : app/code/core/Mage/Sales/Model/Order.php:649 and app/code/core/Mage/Sales/Model/Order/Invoice.php:372 and app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreditmemoController.php:280. Moreover, you should not create creditmemo of 0. It is not logic. If you want manage the return, use a RMA module for it. Commented Jul 27, 2017 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.