Search found 127 matches
- 18 Dec 2023, 07:53
- Forum: Laravel package
- Topic: Bulk text translation with DeepL?
- Replies: 5
- Views: 6149
Re: Bulk text translation with DeepL?
Hi, I'm trying to translate all product texts with type = 'name' from DE to EN and ES via DeepL API. Selecting the 'name' texts and calling the API works $productManager = \Aimeos\MShop::create( $this->context(), 'product' ); $filter = $productManager->filter(); $cursor = $productManager->cursor( $f...
- 11 Dec 2023, 17:16
- Forum: Laravel package
- Topic: add from order-history with deactivated products -> error
- Replies: 3
- Views: 2202
Re: add from order-history with deactivated products -> error
tried to create a PR but not sure if done right. addProducts() function with try/catch: protected function addProducts( \Aimeos\Base\View\Iface $view ) { $context = $this->context(); $domains = ['attribute', 'catalog', 'media', 'price', 'product', 'text', 'locale/site']; $basketCntl = \Aimeos\Contro...
- 08 Dec 2023, 12:54
- Forum: Laravel package
- Topic: add from order-history with deactivated products -> error
- Replies: 3
- Views: 2202
add from order-history with deactivated products -> error
Hi, all products are listed in the order history as available, even if they have been deactivated in the meantime. customer adds a "history-basket" to his current basket history-basket contains at least one deactivated product -> Error Eintrag mit ID "1234" in "product.id&qu...
- 07 Dec 2023, 14:51
- Forum: Laravel package
- Topic: Bulk text translation with DeepL?
- Replies: 5
- Views: 6149
Re: Bulk text translation with DeepL?
What would be the best way to create a script for the mass translation of product texts? Load the relevant texts from the DB table (SQL) -> call DeepL-API -> write translation to the DB? Which table should be considered? Is there another method or function of Aimeos that can be used? Thank you!
- 27 Nov 2023, 21:55
- Forum: Laravel package
- Topic: How to set mail from-name?
- Replies: 6
- Views: 3489
Re: How to set mail from-name?
great - it works perfectly
thank you
thank you
- 26 Nov 2023, 10:18
- Forum: Laravel package
- Topic: How to set mail from-name?
- Replies: 6
- Views: 3489
Re: How to set mail from-name?
ok - What is your suggestion to fix this? Copying, overwriting from() (/vendor/aimeos/ai-laravel/src/Base/Mail/Message) and adding MAIL_FROM_NAME works, but do you have a better suggestion? public function from( string $email, string $name = null ) : Iface { if( $email ) { //$this->message->from( $e...
- 22 Nov 2023, 22:16
- Forum: Laravel package
- Topic: How to set mail from-name?
- Replies: 6
- Views: 3489
Re: How to set mail from-name?
I have double checked my settings and everything seems to be fine.
in .env MAIL_FROM_NAME='My company' is set, also in mail.php
FROM-NAME is still missing in payment mail source:
in .env MAIL_FROM_NAME='My company' is set, also in mail.php
FROM-NAME is still missing in payment mail source:
- 20 Nov 2023, 21:46
- Forum: Laravel package
- Topic: How to display custom media in basket view?
- Replies: 4
- Views: 3871
Re: How to display custom media in basket view?
for the sake of completeness - there was a third mistake in return parameter: wrong: \Aimeos\MShop\Order\Item\Base\Product\Iface -> correct: \Aimeos\MShop\Order\Item\Product\Iface this code it is working fine: public function boot() { \Aimeos\MShop\Order\Item\Product\Standard::macro( 'copyFrom', fun...
- 16 Nov 2023, 11:08
- Forum: Laravel package
- Topic: How to display custom media in basket view?
- Replies: 4
- Views: 3871
Re: How to display custom media in basket view?
as the file has changed with the new version 2023.10 I think copyFrom() in file /aimeos-core/src/MShop/Order/Item/Product/Standard.php is the right one. As suggested, I tried with macro in /app/ProvidersApp/ServiceProvider.php and changed the image form "default" to "custom" ... ...
- 06 Nov 2023, 16:51
- Forum: Laravel package
- Topic: How to set mail from-name?
- Replies: 6
- Views: 3489
How to set mail from-name?
Hi, I'm trying to set the mail "from-name" eg. for the payment mail already set the correct name: 1. in .env MAIL_FROM_NAME 2. in config/mail.php: 'from' => [ 'name' => '...', ], 3. and in config/shop.php 'email' => [ 'from-name' => '...', ], but this had no effect - why? what is missing o...