Submit Your Article Forum Rules

Results 1 to 9 of 9

Thread: Litecommerce email subject problems

Hybrid View

  1. #1
    Senior Member chowell's Avatar
    Join Date
    Oct 2003
    Posts
    245

    Question Litecommerce email subject problems

    A client of ours has recently tried to install Google Analytics on their Litecommerce storefront and has had a problem with the emails the store generates ever since.




    What's happening is the email subject is pulling .tpl code (from somewhere) and actually embedding it into the "new order" email.
    Here's a sample:
    Subject: <!-- start: order_created_admin/subject.tpl -->OUR CLIENT: Order receipt #7680! <!-- end: order_created_admin/subject.tpl -->
    I've gone into the .tpl files and removed the Analytics code that was added, but the subject of the emails are still incorrect.

    Has anyone seen this before and/or have advice for me on where to look for the fix?

  2. #2
    WebProWorld MVP wige's Avatar
    Join Date
    Jun 2006
    Posts
    3,138

    Re: Litecommerce email subject problems

    The Analytics code is probably being inserted into an area that is submitted via a form elsewhere on the site, basically positioned wrong or if you added this to a shopping cart library file, the file may be included into some other part of the storefront.

    If possible, set up a trap on each page of the checkout process (or whatever process triggers the error) that logs all of the form fields at each page. This should give you a starting point.
    The best way to learn anything, is to question everything.
    WigeDev - Freelance web and software development

  3. #3
    Senior Member chowell's Avatar
    Join Date
    Oct 2003
    Posts
    245

    Re: Litecommerce email subject problems

    Wige,
    Thanks for taking the time to reply, but I wouldn't have the first clue on how to do what you said

    I've already gone through the library files that I know were changed and removed the specific Analytics code. It just seems that there's another rogue file out there I haven't identified yet.

    The one we edited already was the invoice.tpl file though.

  4. #4
    WebProWorld MVP wige's Avatar
    Join Date
    Jun 2006
    Posts
    3,138

    Re: Litecommerce email subject problems

    What development software do you use for the website? (In other words, do you use Dreamweaver to edit before uploading?) Also, do you have telnet or command line access to the server?
    The best way to learn anything, is to question everything.
    WigeDev - Freelance web and software development

  5. #5
    Senior Member chowell's Avatar
    Join Date
    Oct 2003
    Posts
    245

    Re: Litecommerce email subject problems

    Wige,
    We can use DW to edit the files or use the web-based editing available from LiteCommerce. We usually copy the code from the web-based system into DW and then back.

    Do you have any idea which file(s) would need to be looked at for the Analytics coding?

  6. #6
    WebProWorld MVP wige's Avatar
    Join Date
    Jun 2006
    Posts
    3,138

    Re: Litecommerce email subject problems

    I would probably have to pick apart the LiteCommerce code to know that. If you download all of the source code into DW and do a search for part of the added text that shows up in the subject line, though, you should get a list of all files that have the code, and fix it that way.
    The best way to learn anything, is to question everything.
    WigeDev - Freelance web and software development

  7. #7
    Junior Member
    Join Date
    Sep 2007
    Posts
    2

    Re: Litecommerce email subject problems

    I'm having the same problem without Google Analytics. I've checked all the email templates with no luck. Did you ever find a solution?

    The store I am setting up isn't live yet, and this problem has been around since the begining...I'd like to not use support points if I can help it!

    tt

  8. #8
    Junior Member
    Join Date
    Dec 2006
    Posts
    21

    Re: Litecommerce email subject problems

    Quote Originally Posted by chowell View Post
    A client of ours has recently tried to install Google Analytics on their Litecommerce storefront and has had a problem with the emails the store generates ever since.




    What's happening is the email subject is pulling .tpl code (from somewhere) and actually embedding it into the "new order" email.
    Here's a sample:
    Subject: <!-- start: order_created_admin/subject.tpl -->OUR CLIENT: Order receipt #7680! <!-- end: order_created_admin/subject.tpl -->
    I've gone into the .tpl files and removed the Analytics code that was added, but the subject of the emails are still incorrect.

    Has anyone seen this before and/or have advice for me on where to look for the fix?

    To get rid of displaying templates information in e-mail subjects please try to edit etc/config.php in LiteCommerce installation and turn off 'verbose' settings.


    I hope it will help you. Please let me know the results.

  9. #9
    Junior Member
    Join Date
    Sep 2007
    Posts
    2

    Re: Litecommerce email subject problems

    Brilliant! It fixed it perfectly!

    Thanks for the tip -- I knew I had the debug mode on, but it never occured to me that it would affect the emails...silly me.

    I really appreciate your assistance!

    Best & Happy Holidays!
    tt

Similar Threads

  1. Email & the Campaign for Better use of Subject Lines
    By gelcreative in forum Internet Industry
    Replies: 2
    Last Post: 10-23-2007, 11:28 AM
  2. WebProWorld Email Marketing Problems?
    By jtracking in forum Marketing Strategies Discussion Forum
    Replies: 3
    Last Post: 09-24-2007, 03:47 AM
  3. dvdtvshows.com seeks email creative advice on subject line
    By dvdtvshows1 in forum Marketing Strategies Discussion Forum
    Replies: 4
    Last Post: 05-26-2005, 02:58 PM
  4. Hotmail/Rich Text Email problems
    By ADAM Web Design in forum Graphics & Design Discussion Forum
    Replies: 3
    Last Post: 05-12-2005, 05:48 PM
  5. Adding pre-filled subject title to email link -Dreamweaver
    By bmnobbs in forum Web Programming Discussion Forum
    Replies: 5
    Last Post: 09-20-2004, 06:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •