ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Change email subject "New Order in your store"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change email subject "New Order in your store"

 Post Reply Post Reply
Author
Message
john123 View Drop Down
Newbie
Newbie


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post Topic: Change email subject "New Order in your store"
    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

John

Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
john123 View Drop Down
Newbie
Newbie


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post Posted: 22-August-2008 at 1:43am
Thanks Hamish.
Back to Top
john123 View Drop Down
Newbie
Newbie


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post 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).
Back to Top
john123 View Drop Down
Newbie
Newbie


Joined: 09-January-2008
Location: Canada
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote john123 Quote  Post ReplyReply Direct Link To This Post 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
 
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post 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 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.