No invoice for free products

  • Posts: 159
  • Thank you received: 2
9 years 2 months ago #241797

-- HikaShop version -- : 2.6.3

Hi,
is there a way to tell the invoice plugin, NOT to create an invoice when a free product is purchased? We have some software trial versions. I attach a test license with Hika Serial to each order. That works, but I don't want to create an 0,00 € invoice for each test version.
Thanks
Roger

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 2 months ago #241814

Hi,

So I understand that you don't want the invoice number to be generated for such orders.
The invoice number is only generated when the orders are confirmed.
And orders are not confirmed automatically if they are equal to 0.
So it should already do that.
But I suppose that you must have activated the "validate free orders" plugin of HikaShop to have them confirmed for HikariSerial to do its thing, right ?
In that case, why not use a new order status for the free orders (with the order confirmed status setting of the HikaShop configuration) so that HikaSerial could do its magic on both this status and the normal confirmed status, but have the invoice order statuses to not have that new order status ? That way, the free orders would still get the test license, but not the invoice number (and thus not the invoice).

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

  • Posts: 159
  • Thank you received: 2
9 years 2 months ago #241858

Hi Nicolas,
yes, you got it right. I thought about a new order status for free products, but can't find a way to do it. I set up a new order status called 'free'. How can I assign the free status to my free products? In the order configuration I found 'Unpaid order statuses'. There is no explanation about it in the help file.
Please point me into the right direction....
Thanks
Roger

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 2 months ago #241877

Hi,

As I said in my previous message, you can use the order confirmed status setting of the HikaShop configuration to set your "free" status and that way the validate free orders plugin will use that status for orders with a total amount of 0.

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

  • Posts: 159
  • Thank you received: 2
9 years 2 months ago #241980

Hi Nicolas,
sorry to bother you again, but I'm too stupid to understand it. Here are two screenshots. One shows all order status and the other the order configuration. Should I change 'Payment confirmed order status' to 'Free'? I can only put one status there.
I'm confused, because there are no settings in the "validate free orders" plugin to tell the system which status to use.
Sorry, but I just don't get it...
Roger

Attachments:

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 2 months ago #241994

Hi,

Yes, you need to set "free" in the "Payment confirmed order status" setting of the configuration, exactly.

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

  • Posts: 159
  • Thank you received: 2
9 years 2 months ago #242043

Thanks, it's working!
Best
Roger

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

Time to create page: 0.086 seconds
Powered by Kunena Forum