Separate mails for shop owner and customer - no bcc

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: Separate mails for shop owner and customer - no bcc

Post by boettner » 10 Aug 2020, 14:42

I asked for composer.json because I am not sure from where autoloader sources get collected. It won‘t hurt if you keep them identical.

According to the aimeos docs you can also extend controllers. Maybe reread what is documented there. But anyway I would and will follow the advice I have been given above to use a Decorator.

I suppose that the problem is related to autoloading and that your Controller would also not being loaded. I hope that aimeos will step in the discussion here and give additional advice as this is usually helpful and would shorten the way for both of us.

daniel
Posts: 28
Joined: 27 Jul 2020, 13:22

Re: Separate mails for shop owner and customer - no bcc

Post by daniel » 10 Aug 2020, 14:48

The composer.json of the generated extension has:

Code: Select all

"autoload": {
		"classmap": ["Classes"],
		"psr-4": {
			"Aimeos\\Aimeos\\": "Classes"
		}
	}
in my extension i have

Code: Select all

array (
    'psr-4' => 
    array (
      'Namespace\\myextension\\' => 'Classes',
    ),
  ),
in the ext_emconf.php

daniel
Posts: 28
Joined: 27 Jul 2020, 13:22

Re: Separate mails for shop owner and customer - no bcc

Post by daniel » 10 Aug 2020, 15:07

i think i do not have the skills to implement this. a good tutorial how implementing a decorator for emails would be nice...

boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: Separate mails for shop owner and customer - no bcc

Post by boettner » 10 Aug 2020, 15:23

I will be happy to offer you my solution but it may take around three weeks as there are other priorities at the moment and I guess you need your solution earlier.

I will post it here and have already offer to feed it back into the core for the future.

daniel
Posts: 28
Joined: 27 Jul 2020, 13:22

Re: Separate mails for shop owner and customer - no bcc

Post by daniel » 20 Sep 2020, 19:23

Hi,
Do you have a solution now? Would be nice to see how you implement this.

boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: Separate mails for shop owner and customer - no bcc

Post by boettner » 21 Sep 2020, 06:24

Hi, not yet.

We have gone live with the Aimeos v20 update just last week. Depending on my customers priorities I will have to see what is next. I see a possibility that I may not even have to implement it at all because we will definitely set up an order data export to SAP which will then take care of all order processing and customer communication.

Anyway if I have a solution on this I will post it here. Beyond this I am also happy to help if I can, so you can also PM me any time.

Post Reply