Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Add text to order confirmation emails

    I'm having no luck at all doing this. I want to add some text in brackets at

    Shipping:

    so I have

    Shipping(text here):

    Where do I do this for text and html emails?

  2. #2
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Add text to order confirmation emails

    I have added this to checkout_process.php:

    define('EMAIL_TEXT_SHIPPING', 'Shipping(text here): ');

    and the addition does not appear in text email.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Add text to order confirmation emails

    Search in Tools > Developers Toolkit under Language Files for Shipping: or Shipping (check "case sensitive" to limit irrelevant results). One of those will be the define that creates the present output.

  4. #4
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Add text to order confirmation emails

    Yes. I've been doing that for some hours now. No change to any page has any effect. Just doesn't do it:-

    english.php
    checkout_shipping.php
    checkout_process.php
    email_template_checkout.html
    order.php

    amongst others.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Add text to order confirmation emails

    The word "shipping" can show up in several ways, including being descriptive text coming from a shipping module and thus be part of a subtotal. In that case it has nothing to do with emails at all (the email is just echoing what's been put together much earlier).

    So, for what you're referring to, is this "Shipping:" part of a subtotal? Or is it merely a section title?
    Is this for text-only emails? Or HTML-specific emails?

    Perhaps you can show an example of what you're getting now?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Add text to order confirmation emails

    Overall, I want to insert text which makes it clear that shipping is not free everywhere. So, even though I can state clearly here and there that shipping is only free within Australia, and that charges apply for delivery outside Australia, when, for example, an invoice or order confirmation includes something like 'FREE SHIPPING!' or 'Shipping: $0.00' invites clever people to appeal to that to claim free shipping.

    In this instance, what I am working to do is wherever 'Shipping:$0.00' appears - invoice, order, email, whatever - it reads 'Shipping(free in Australia only):0.00'. Odd I know, but that seems to be the best I can hope for. Eve though it's odd, it removes the ambivalence. If I can do that, I can move on to the next point at which the problem arises. But for now, I cannot bring this about on the order confirmation email - a language file? - order (even manually editing order), or invoice.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Add text to order confirmation emails

    Wherever the shipping price is displayed, its text comes from the selected shipping method chosen by the customer during checkout. Those options come from each separate shipping module's language file. (Or if the module isn't multi-lingual-friendly then it's hard-coded directly in the shipping module itself.)

    Perhaps update whichever shipping module you're using to offer free shipping to have the extra explanatory text in it.
    That way anywhere the 0.00 shipping is displayed it'll also include your explanatory note.

    And/or add something in the existing footer disclaimer text to address the matter.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Add model number to order confirmation emails
    By flax in forum General Questions
    Replies: 1
    Last Post: 12 Mar 2015, 02:55 PM
  2. v139h Add text to Order Confirmation emails (Text email only)
    By gsh68 in forum General Questions
    Replies: 6
    Last Post: 19 Sep 2012, 10:47 AM
  3. Text based emails - Order Confirmation and Updates
    By matchlock in forum General Questions
    Replies: 6
    Last Post: 21 Sep 2011, 06:19 AM
  4. Add a line to the order confirmation emails.
    By MoonCow in forum General Questions
    Replies: 4
    Last Post: 15 Jul 2009, 02:04 PM
  5. plain text order confirmation emails
    By tbrides in forum Basic Configuration
    Replies: 2
    Last Post: 5 Sep 2007, 01:33 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