Search found 128 matches

by columbo
15 Jan 2024, 14:00
Forum: Laravel package
Topic: Payment mail to multiple BCC recipients
Replies: 2
Views: 3887

Payment mail to multiple BCC recipients

Hi, how can we add multiple bcc addresses to payment mail? According to https://aimeos.org/docs/2023.x/config/controller-jobs/order-email/#bcc-email_1 it should work with an list of email addresses tried this: controller/jobs/order/email/payment/bcc-email = ['mail1@mail.com', 'mail2@mail.com', 'mail...
by columbo
18 Dec 2023, 07:53
Forum: Laravel package
Topic: Bulk text translation with DeepL?
Replies: 5
Views: 6168

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...
by columbo
11 Dec 2023, 17:16
Forum: Laravel package
Topic: add from order-history with deactivated products -> error
Replies: 3
Views: 2210

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...
by columbo
08 Dec 2023, 12:54
Forum: Laravel package
Topic: add from order-history with deactivated products -> error
Replies: 3
Views: 2210

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...
by columbo
07 Dec 2023, 14:51
Forum: Laravel package
Topic: Bulk text translation with DeepL?
Replies: 5
Views: 6168

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!
by columbo
27 Nov 2023, 21:55
Forum: Laravel package
Topic: How to set mail from-name?
Replies: 6
Views: 3499

Re: How to set mail from-name?

great - it works perfectly
thank you
by columbo
26 Nov 2023, 10:18
Forum: Laravel package
Topic: How to set mail from-name?
Replies: 6
Views: 3499

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...
by columbo
22 Nov 2023, 22:16
Forum: Laravel package
Topic: How to set mail from-name?
Replies: 6
Views: 3499

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:
Screenshot 2023-11-22 230057.png
Screenshot 2023-11-22 230057.png (8.84 KiB) Viewed 3228 times
by columbo
20 Nov 2023, 21:46
Forum: Laravel package
Topic: How to display custom media in basket view?
Replies: 4
Views: 3887

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...
by columbo
16 Nov 2023, 11:08
Forum: Laravel package
Topic: How to display custom media in basket view?
Replies: 4
Views: 3887

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" ... ...