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 » 06 Aug 2020, 13:20

Hm, in my case at least I can find all my custom classes there.

From where did you set up your own aimeos extension. From the skeleton offered here https://aimeos.org/extensions/ via the "Create own extension" button?

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

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

Post by daniel » 06 Aug 2020, 13:42

no, i have an extension for other things and put the aimeos stuff there...

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

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

Post by boettner » 06 Aug 2020, 13:46

So please create one via the builder and compare everything to your implementation. Be sure to select the TYPO3 v10 variant.

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

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

Post by boettner » 06 Aug 2020, 13:49


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

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

Post by daniel » 06 Aug 2020, 13:51

ok, i will check this.

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

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

Post by daniel » 06 Aug 2020, 14:35

i created a new typo3 extension (https://aimeos.org/extensions/ > TYPO3 2020.x extension) , put all my shop changes (templates, Email Decorator etc.) in this extension. Shop works fine, but in autoload_classmap.php my class is still not present... I think in my previous extension everything was ok...

the classes path for classes in autoload is i think "Classes", like in composer.json set (i add the autoload part in ext_emconf.php because i do not use composer).
So i do not have an Classes folder in my ext, in the autoload_psr4.php file is the entry:
'Aimeos\\Aimeos\\' => array($typo3InstallDir . 'typo3conf/ext/mynewext/Classes'),

Do i have to generate a class file in folder "Classes"?

Sorry, i'm not a backend developer... I really appreciate your help! thanks a lot

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

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

Post by boettner » 07 Aug 2020, 07:59

No worries, I hope I am able to help you.

The loading order is also relevant. Be sure to include your extension, meaning the TypoScript template, at the last position.

If your classes don´t load even after dumping the autoload definition and clearing caches uninstalling and reinstalling sometimes helps. See here the background information on the TYPO3 class loading mechanism:
https://docs.typo3.org/m/typo3/referenc ... Index.html

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, 08:06

Hi, thanks, but why are the other decorator-classes are also not in the autoload? and they are working, i made a test adding a decorator class which is per default in the shop...

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:27

I can´t really say why. In my setup all classes get referenced. Did you compare the composer.json in your custom extension to the skeleton of the Aimeos extension builder?

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:33

Hi, i do not use composer...
Is it possible to overwrite the files "typo3conf/ext/aimeos/Resources/Private/Extensions/ai-client-html/controller/jobs/src/Controller/Jobs/Order/Email/Payment/Standard.php" and "typo3conf/ext/aimeos/Resources/Private/Extensions/ai-client-html/client/html/src/Client/Html/Email/Payment/Standard.php"
If possible i can implement my email there...

Post Reply