Print Page | Close Window

Change email subject "New Order in your store"

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1925
Printed Date: 23-April-2025 at 10:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change email subject "New Order in your store"
Posted By: john123
Subject: Change email subject "New Order in your store"
Date Posted: 20-August-2008 at 4:27pm

Hi,
I found a link discussing how to change the email subject of "New Order in your store".  I tried following the instructions but the string in the pages is nowhere to be found.  Can someone help with this?

Link found discussing this topic:

http://www.earlyimpact.com/faqs/e-commerce_shopping_cart_questions.asp?faqid=119 - http://www.earlyimpact.com/faqs/e-commerce_shopping_cart_questions.asp?faqid=119

John




Replies:
Posted By: Hamish
Date Posted: 21-August-2008 at 4:15pm
Hi John,
   That string is in variable  english_StoreEmail_9 within includes/languages.asp - so you can change the text from there.
FYI it is used in pc/gwreturn.asp just after the include of adminNewOrderEmail.asp


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: john123
Date Posted: 22-August-2008 at 1:43am
Thanks Hamish.


Posted By: john123
Date Posted: 22-August-2008 at 7:29pm
Hi Hamsih,
 
I made the change but for some reason it appends the order number in the title as well.  I did not want the order number in the subject.  Any idea what is wrong?
 
John
 
Code:
dictLanguage.Add "english_storeEmail_9", "Purchase Receipt" 'Same
 
email Output:
Purchase Receipt21


Posted By: Hamish
Date Posted: 23-August-2008 at 2:55am
Hi John,
    This email goes to the Store Admin ONLY.
Nothing is "wrong" per se as it's designed to add the order number as it's useful info for the admin - our clients find it useful .
However, if you wish to remove the order number, find this line in pc/gwreturn.asp


    strNewOrderSubject=dictLanguage.Item(Session("language")&"_storeEmail_9")&(scpre + int(pIdOrder))


and remove :-

&(scpre + int(pIdOrder))


Don't forget to keep track of any code changes so that you can re-instate them when you carry out upgrades (see my sig).


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: john123
Date Posted: 23-August-2008 at 8:42am
Hi Hamish,
 
What about the the order confrimation email that goes to the customer once an order is placed.  I want to modify the subject of the email.  When I tried making changes to it, I was only able to change part of the subject.
 
John
 


Posted By: Hamish
Date Posted: 25-August-2008 at 4:21am
Hi John,
    It's very similar - In this case the variable is english_sendmail_1
It appears TWICE in gwreturn.asp

          pcv_strSubject = dictLanguage.Item(Session("language")&"_storeEmail_2") & " - " & dictLanguage.Item(Session("language")&"_sendMail_1") & (scpre + int(pIdOrder))


Notice that the subject is made from three parts :-
Variables storeEmail_2  sendMail_1 & the order number.
The second variation uses storeEmail_1 instead of storeEmail_2

   Hamish 


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net