[TYPO3-commerce] send commerce shopping cart via email with powermail ext.

Ingo Schmitt is at marketing-factory.de
Fri Jan 29 16:15:46 CET 2010


Hi Jordan,

I don't know how powermail is including the content, but I assume a user_int could be the problem:

- Commerce stores the basket in the FE_user object, to access the basket an fe_user must be instantiated and I don't know if powermails creates such a user. Maybe you could check it with the powermail developers?


Regards

Ingo 
> Hi,
> 
> I'm trying to send a user's shopping cart with the 'powermail extension'. Things are working as expected, except for the rendering of the shopping cart when it's sent via email - I just get a <!--INT_SCRIPT.d6c3471f6438d9fdf5c6600dabfd4808--> happening in the source code of the email.
> 
> I've looked into the src code, and the powermail ext is rendering my TS code with the 'cObjGetSingle()' function and apparently, it doesn't like the USER_INT object or COA_INT objects. Instead, according to this form linked below, you need to use the USER or COA object;
> 
> http://www.typo3forum.net/forum/powermail/37138-kein-dynamictyposcript-sender-recipient.html
> 
> Here's my TS code;
> ----------------
> lib.minibasket = COA
> lib.minibasket {
>   20 < plugin.tx_commerce_pi2
>   20.defaultCode >
>   20.defaultCode = QUICKVIEW
>   20.templateFile = {$templatePathCommerce}basket.tmpl
> }
> 
> plugin.tx_powermail_pi1.dynamicTyposcript {
>   products < lib.minibasket
> }
> ----------------
> 
> I thought I was ok because I was using a COA object, but when I dumped the TS I found out that plugin.tx_commerce_pi2 is a USER_INT object. I tried changing it to USER object but this didn't output anything;
> 
> ----------------
> lib.minibasket = COA
> lib.minibasket {
>   20 < plugin.tx_commerce_pi2
>   20 = USER # tried to just overwrite to a USER
>   20.defaultCode >
>   20.defaultCode = QUICKVIEW
>   20.templateFile = {$templatePathCommerce}basket.tmpl
> }
> 
> plugin.tx_powermail_pi1.dynamicTyposcript {
>   products < lib.minibasket
> }
> ----------------
> 
> Any ideas on how to make this work?
> Thanks,
> Jordan
> 
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
> 
> 


Mit freundlichen Gruessen
Ingo Schmitt

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Stephanienstrasse 36               *          Tel.: +49 211-361176-63
D-40211 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-project-commerce mailing list