Different Invoice Number for different User Groups

  • Posts: 22
  • Thank you received: 0
9 years 4 months ago #208457

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.29

Hi,

I would like to have different running invoice number for different user groups.
For example,
User from group A makes a purchase, the invoice will be A/2015/00001
User from group B makes a purchase, the invoice will be B/2015/00001
2nd User from group A makes a purchase, the invoice will be A/2015/00002
2nd User from group B makes a purchase, the invoice will be B/2015/00002

Can you help? Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 4 months ago #208467

Hi,

There is no option to do that by default in HikaShop.
What you can do however is to develop a small hikashop plugin and implement the onBeforeInvoiceNumberGenerate(&$data, &$result) trigger in order to generate the invoice number yourself the way you want it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum