-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi there,
I have a multi-language website (default language: czech, secondary: english) and I followed this cookbook recipe to add custom invoice numbers to orders: https://merx.wagnerwagner.de/cookbooks/custom-invoice-numbers.
In czech everything works as expected, but every time order is submitted in english, order.en.txt is created with following content:
Note:
----
Invoicedate: 2024-03-12T23:11:34+00:00
----
Invoicenumber: 202400001While in order.cs.txt the Invoicenumber is missing.
I tried specifying locale like this, but that didn't work either.
$orderPage->update([
'invoiceNumber' => (string) $invoice_number,
], 'cs');Am I missing something or is this a bug related to #62?
Metadata
Metadata
Assignees
Labels
No labels