Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > eCommerce > eCommerce Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

eCommerce Discussion Forum Ask questions about web hosting, merchant services and ecommerce issues. Topics include shopping carts, security, payment strategies, storefront partnerships, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2007, 08:09 PM
WebProWorld Pro
 

Join Date: Oct 2003
Location: Phoenix, AZ
Posts: 183
chowell RepRank 1
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?
Reply With Quote
  #2 (permalink)  
Old 08-23-2007, 12:41 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,853
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default 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.
Reply With Quote
  #3 (permalink)  
Old 08-23-2007, 05:01 PM
WebProWorld Pro
 

Join Date: Oct 2003
Location: Phoenix, AZ
Posts: 183
chowell RepRank 1
Default 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.
Reply With Quote
  #4 (permalink)  
Old 08-23-2007, 05:51 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,853
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default 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.
Reply With Quote
  #5 (permalink)  
Old 08-28-2007, 03:20 PM
WebProWorld Pro
 

Join Date: Oct 2003
Location: Phoenix, AZ
Posts: 183
chowell RepRank 1
Default 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?
Reply With Quote
  #6 (permalink)  
Old 08-28-2007, 04:46 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,853
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default 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.
Reply With Quote
  #7 (permalink)  
Old 09-21-2007, 10:06 PM
WebProWorld New Member
 

Join Date: Sep 2007
Posts: 2
ttuttle15 RepRank 0
Default 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
Reply With Quote
  #8 (permalink)  
Old 10-04-2007, 09:15 AM
WebProWorld New Member
 

Join Date: Dec 2006
Posts: 22
SG14 RepRank 0
Default 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.
Reply With Quote
  #9 (permalink)  
Old 12-16-2007, 01:49 PM
WebProWorld New Member
 

Join Date: Sep 2007
Posts: 2
ttuttle15 RepRank 0
Default 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
Reply With Quote
Reply

  WebProWorld > eCommerce > eCommerce Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
dvdtvshows.com seeks email creative advice on subject line dvdtvshows1 Marketing Strategies Discussion Forum 4 05-26-2005 03:58 PM
Hotmail/Rich Text Email problems ADAM Web Design Graphics & Design Discussion Forum 3 05-12-2005 06:48 PM
Adding pre-filled subject title to email link -Dreamweaver bmnobbs Web Programming Discussion Forum 5 09-20-2004 07:09 AM
litecommerce + SEO = ? taeon eCommerce Discussion Forum 2 07-29-2004 06:03 PM
X-cart vs Litecommerce... flo b eCommerce Discussion Forum 7 05-12-2004 10:25 AM


Search Engine Optimization by vBSEO 3.2.0