Dirty Butter Posted August 14, 2011 Share Posted August 14, 2011 I would like the product name to show in the Subject and Body of several of the email templates. Can someone suggest how to do that? Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted August 14, 2011 Share Posted August 14, 2011 I would suggest that the best way to do this would be to find a developer that would modify the code. Perhaps a enquire about this product. The addthis module has an email option if you had not noticed which will send the details of the product. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 14, 2011 Author Share Posted August 14, 2011 The addthis module has an email option if you had not noticed which will send the details of the product. Thanks for your patient and prompt replies, Henna Boy. I use AddThis, but what I want is the item name in the email's Subject sent to me and to the buyer after a sale. The $product.name is available now as a Macro on the Order Confirmed email, but I couldn't get it to work in the subject. Quote Link to comment Share on other sites More sharing options...
Guest hennaboy Posted August 14, 2011 Share Posted August 14, 2011 Ah right im with you now....ill have a look see if it can be done. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 14, 2011 Author Share Posted August 14, 2011 Thank you for any advice you can give, Hennaboy!!! It's really appreciated! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 28, 2011 Author Share Posted August 28, 2011 The addthis module has an email option if you had not noticed which will send the details of the product. Thanks for your patient and prompt replies, Henna Boy. I use AddThis, but what I want is the item name in the email's Subject sent to me and to the buyer after a sale. The $product.name is available now as a Macro on the Order Confirmed email, but I couldn't get it to work in the subject. Does anyone have any ideas about how to get $product.name to show in the subject line of emails to the customer and admin?? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 29, 2011 Author Share Posted August 29, 2011 I stumbled on the way to make this work. {foreach from=$PRODUCTS item=product} {/foreach} {foreach from=$TAXES item=tax} {/foreach} {$product.name} added to the Subject makes it show up in the emails. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 29, 2011 Author Share Posted August 29, 2011 I stumbled on the way to make this work. {foreach from=$PRODUCTS item=product} {/foreach} {foreach from=$TAXES item=tax} {/foreach} {$product.name} added to the Subject makes it show up in the emails. I celebrated too soon. This worked for all the needed emails EXCEPT Order Complete and Order Cancelled. If it worked for the other emails, I don't see why it won't work for these 2. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 26, 2011 Author Share Posted October 26, 2011 I was able to add the {product.name} choice to the arrays for Order Complete and Order Cancelled in admin/sources/documents.email.inc.php. But I still can't get them to show in the emails. So there's another step I'm leaving out somewhere. Any ideas anyone?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.