Your order e-mail
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Your order e-mail
php version 8.1
Windows 10
Aimeos version 2022.10.2.
Hello!
php artisan aimeos:jobs order/email/payment
Your order e-mail works well in English.
But the sums disappear in Hungarian language.
"ár:alapértelmezett" == "price:default"
in the email template file:
/// Price format with price value (%1$s) and currency (%2$s)
$pricefmt = $this->translate( 'controller/jobs', 'price:default' );
$pricefmt = ( $pricefmt === 'price:default' ? $this->translate( 'controller/jobs', '%1$s %2$s' ) : $pricefmt );
Do I need to write something to shop.php?
Windows 10
Aimeos version 2022.10.2.
Hello!
php artisan aimeos:jobs order/email/payment
Your order e-mail works well in English.
But the sums disappear in Hungarian language.
"ár:alapértelmezett" == "price:default"
in the email template file:
/// Price format with price value (%1$s) and currency (%2$s)
$pricefmt = $this->translate( 'controller/jobs', 'price:default' );
$pricefmt = ( $pricefmt === 'price:default' ? $this->translate( 'controller/jobs', '%1$s %2$s' ) : $pricefmt );
Do I need to write something to shop.php?
Re: Your order e-mail
The Hungarian translation for "price:default" was wrong. It shouldn't be translated because this is a code for different price formats. The translation has been fixed and you can update the packages using:
Code: Select all
composer req aimeos/ai-client-html:2022.10.x-dev
composer req aimeos/ai-controller-jobs:2022.10.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star