I want to add a prefix like "abc-" in invoice number. (not in order number)

For this, I found,

Magento module: module-sales-sequence

File: /vendor/magento/module-sales-sequence/Model/Sequence.php

Function: getCurrentValue

How to use it in my custom module?

And I want to add prefix in only invoice number.

  • Is there anyone who knows the solution? – Jigar Dhaduk May 9 '18 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.