Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2006
    Location
    Denver CO
    Posts
    63
    Plugin Contributions
    0

    Default Email Friend Subject

    v1.3.9h

    The subject on emails sent through the Tell a Friend process show "Order Confirmation" as the subject line.

    The file /includes/languages/english/tell_a_friend.php shows this:
    define('EMAIL_TEXT_SUBJECT', 'Your friend %s has recommended this great product from %s');

    I copied that file to my /includes/languages/english/CUSTOM/tell_a_friend.php and made a change to the subject line (even though it already shows what the correct subject should be). No effect. I then changed some of the other info in the body of the email. Those changes took effect.

    After searching the forums, I used the Developer's Tool Kit and searched for _subject in "CONSTANT or Language File defines" and for Order Confirmation in the "Look-up in all files". Didn't see any other files that would impact on the subject line of Tell a Friend emails.

    Usually by the time I've finished typing out a question here, I have managed to find the answer for myself. Not so this time Help?

    Dorothy

  2. #2
    Join Date
    Aug 2006
    Location
    Denver CO
    Posts
    63
    Plugin Contributions
    0

    Default Re: Email Friend Subject

    site is whitewolfjewelry.com

    Dorothy

  3. #3
    Join Date
    Aug 2006
    Location
    Denver CO
    Posts
    63
    Plugin Contributions
    0

    Default Re: Email Friend Subject

    Kicking this back to the first page to see if someone can offer some insight.

    Dorothy

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Email Friend Subject

    If you go to your Tools ... Developers Tool Kit ... and in the bottom input box enter:
    EMAIL_TEXT_SUBJECT

    and select Catalog ... then click Search ...

    What do you see in the files for tell_a_friend.php

    What files do you see:
    Order Confirmation

    as the define definition?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Aug 2006
    Location
    Denver CO
    Posts
    63
    Plugin Contributions
    0

    Default Re: Email Friend Subject

    The "order confirmation" shows here:

    /includes/languages/english/checkout_process.php
    Line #22 : define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');

    /includes/languages/english/extra_definitions/checkout_process.php
    Line #22 : define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');

    /includes/languages/english/CUSTOM/checkout_process.php
    Line #22 : define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');

    The tell_a_friend files are:

    /includes/languages/english/tell_a_friend.php
    Line #28 : define('EMAIL_TEXT_SUBJECT', 'Your friend %s has recommended this great product from %s');

    /includes/languages/english/CUSTOM/tell_a_friend.php
    Line #28 : define('EMAIL_TEXT_SUBJECT', 'Your friend %s has recommended this great product from %s');

    /includes/modules/pages/tell_a_friend/header_php.php
    Line #81 : $email_subject = sprintf(EMAIL_TEXT_SUBJECT, $from_name, STORE_NAME);

    Thank you so much for your time, Ajeh.

    Dorothy

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Email Friend Subject

    This is probably overriding the settings:
    Code:
    /includes/languages/english/extra_definitions/checkout_process.php
    Line #22 : define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');
    that runs as if it were part of the english.php file so the one for specific purposes can never run as the constant EMAIL_TEXT_SUBJECT is already defined ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Aug 2006
    Location
    Denver CO
    Posts
    63
    Plugin Contributions
    0

    Default Re: Email Friend Subject

    I made a copy of the /includes/languages/english/extra_definitions/checkout_process.php file and removed these two lines:
    define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');
    define('EMAIL_TEXT_HEADER', 'Order Confirmation');

    I put the changed file in /includes/languages/english/extra_definitions/CUSTOM. The header and subject of the tell_a_friend emails now has the correct info. I ran a test order and the change doesn't seem to have caused any problems on the actual order confirmation emails.

    Thank you so much for your help. Coffee and a donut on its way :)

    Dorothy

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Email Friend Subject

    You are most welcome ... thanks for the details on how you tested the fix of these changes, always a help to others!

    And thanks for the Coffee and a donut!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Contact Us Email Subject Line not appearing in Email
    By Capfka in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Aug 2014, 10:43 AM
  2. Email Subject
    By blackwolf in forum General Questions
    Replies: 0
    Last Post: 5 Nov 2009, 08:13 PM
  3. Email Subject Line
    By CoolCarPartsOnline in forum Managing Customers and Orders
    Replies: 6
    Last Post: 26 Nov 2008, 01:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR