Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default Issue with order confirmation emails

    Hello!
    I haven't officially opened my web shop yet, I'm trying to sort out all the images and text messages etc. I just did a test order and got the confirmation email and it really looks bad! Almost everywhere I get the "technical terms" for the headers instead of for instance "Delivery adress" or "Billing address". I really did believe that these parts are there in the shop from the beginning, without me having to do a lot of changes, but maybe not....

    Can you help me out and let me know which file to edit etc?

    Thanks for all help!

    Click image for larger version. 

Name:	emailissue.jpg 
Views:	154 
Size:	41.9 KB 
ID:	15758

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Issue with order confirmation emails

    One or more of your language files is missing or corrupted. Use the Admin - Tools - Developers Tool Kit to search for one of those strings to find the file.

    https://www.zen-cart.com/content.php...rcase-words%29

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Issue with order confirmation emails

    Quote Originally Posted by stevesh View Post
    One or more of your language files is missing or corrupted. Use the Admin - Tools - Developers Tool Kit to search for one of those strings to find the file.

    https://www.zen-cart.com/content.php...rcase-words%29
    Problem with that process??? If the file(s) are missing or corrupt, there will be nothing to find...

    Now do that with an intact operational cart? Golden... :)

    More than likely the file affected is: includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/checkout_process.php

    The base version of the file should be: includes/languages/english/checkout_process.php and is what is used if one does not exist in the directory(ies) above. If you are going to modify the file, the recommendation is to copy it to the above path and then edit the new copy rather than the base version.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default Re: Issue with order confirmation emails

    Thanks for your reply!
    My Swedish checkout_process.php looks Ok to me.
    However, I did find the text below, in /includes/classes/order.php

    Click image for larger version. 

Name:	order.JPG 
Views:	82 
Size:	134.4 KB 
ID:	15761

    To me it looks like the text on the right side is the basic text that i see in the order confirmation.
    I feel that it instead should be links to values that automatically put the right headers etc there....

    i don't know what to change though.
    Do you think it should look like this or should I try and change something?

    Thanks again for all help, you're gold!

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,937
    Plugin Contributions
    96

    Default Re: Issue with order confirmation emails

    You don't need to add any "code", per se. Like mc12345678 and stevesh have indicated, you've got some missing constants in a language file.

    Check each of your /includes/languages/<language> folders; it appears that you've missing the language file named checkout_process.php (you can copy the version from the /english folder to make any language-specific changes).

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: Issue with order confirmation emails

    Quote Originally Posted by carlman View Post
    Thanks for your reply!
    My Swedish checkout_process.php looks Ok to me.
    However, I did find the text below, in /includes/classes/order.php

    To me it looks like the text on the right side is the basic text that i see in the order confirmation.
    I feel that it instead should be links to values that automatically put the right headers etc there....

    i don't know what to change though.
    Do you think it should look like this or should I try and change something?

    Thanks again for all help, you're gold!
    i would not change the order classes file for this problem.

    as MC stated, the base file is here:

    includes/languages/english/checkout_process.php

    i would start there. now assuming you have your language correctly set to swedish (Admin > Localization > Languages), the location of the file would change to:

    includes/languages/swedish/checkout_process.php

    and if you wanted to make changes , the recommendation is to move them to within your template directory.

    when you say:

    Swedish checkout_process.php looks Ok to me.

    please post an image of that file, because that should be where the base definition for these variables are.

    good luck!
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Issue with order confirmation emails

    You should have these 2 files (taken from recent download of this pack):

    admin/includes/languages/swedish/orders.php

    PHP Code:
    <?php 
    /** 
     * @package admin 
     * @copyright Copyright 2003-2007 Zen Cart Development Team 
     * @copyright Portions Copyright 2003 osCommerce 
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 
     * @version $Id: orders.php 6214 2007-04-17 02:24:25Z ajeh $ 
     */ 
     /* 
     * Zen Cart version 1.5.0 - 
     * @Swedish Translation 2011 - Signs FrilansReklam, www.frilansreklam.se 
     * @Swedish support - www.zencart.nu - Svenska Zen Cart 
     */ 
    define('HEADING_TITLE''Order'); 
    define('HEADING_TITLE_SEARCH''Order ID:'); 
    define('HEADING_TITLE_STATUS''Status:'); 
    define('HEADING_TITLE_SEARCH_DETAIL_ORDERS_PRODUCTS''S&ouml;k p&aring; Produkt Namn eller <strong>ID:XX</strong> eller Artikelnr '); 
    define('TEXT_INFO_SEARCH_DETAIL_FILTER_ORDERS_PRODUCTS''S&ouml;k Filter: '); 
    define('TABLE_HEADING_PAYMENT_METHOD''Betalning<br />Frakt'); 
    define('TABLE_HEADING_ORDERS_ID','ID'); 
     
    define('TEXT_BILLING_SHIPPING_MISMATCH','Betalnings- och leveransadresserna &auml;r inte samma '); 
     
    define('TABLE_HEADING_COMMENTS''Kommentarer'); 
    define('TABLE_HEADING_CUSTOMERS''Kunder'); 
    define('TABLE_HEADING_ORDER_TOTAL''Order Total'); 
    define('TABLE_HEADING_DATE_PURCHASED''Orderdatum'); 
    define('TABLE_HEADING_STATUS''Status'); 
    define('TABLE_HEADING_TYPE''Order Typ'); 
    define('TABLE_HEADING_ACTION''&Aring;tg&auml;rd'); 
    define('TABLE_HEADING_QUANTITY''Antal.'); 
    define('TABLE_HEADING_PRODUCTS_MODEL''Artikelnr'); 
    define('TABLE_HEADING_PRODUCTS''Produkter'); 
    define('TABLE_HEADING_TAX''Moms'); 
    define('TABLE_HEADING_TOTAL''Total'); 
    define('TABLE_HEADING_PRICE_EXCLUDING_TAX''Pris (exkl)'); 
    define('TABLE_HEADING_PRICE_INCLUDING_TAX''Pris (inkl)'); 
    define('TABLE_HEADING_TOTAL_EXCLUDING_TAX''Total (exkl)'); 
    define('TABLE_HEADING_TOTAL_INCLUDING_TAX''Total (inkl)'); 
     
    define('TABLE_HEADING_CUSTOMER_NOTIFIED''Kund meddelad'); 
    define('TABLE_HEADING_DATE_ADDED''Datum inlagd'); 
     
    define('ENTRY_CUSTOMER''Kund:'); 
    define('ENTRY_SOLD_TO''S&Aring;LD TILL:'); 
    define('ENTRY_DELIVERY_TO''Leverans till:'); 
    define('ENTRY_SHIP_TO''FRAKT TILL:'); 
    define('ENTRY_SHIPPING_ADDRESS''Leveransadress:'); 
    define('ENTRY_BILLING_ADDRESS''Faktureringsadress:'); 
    define('ENTRY_PAYMENT_METHOD''Betalningsmetod:'); 
    define('ENTRY_CREDIT_CARD_TYPE''Kreditkorts typ:'); 
    define('ENTRY_CREDIT_CARD_OWNER''Kreditkorts &auml;gare:'); 
    define('ENTRY_CREDIT_CARD_NUMBER''Kreditkorts nummer:'); 
    define('ENTRY_CREDIT_CARD_CVV''Kreditkorts CVV Nummer:'); 
    define('ENTRY_CREDIT_CARD_EXPIRES''Kreditkort giltligt till:'); 
    define('ENTRY_SUB_TOTAL''Delsumma:'); 
    define('ENTRY_TAX''Moms:'); 
    define('ENTRY_SHIPPING''Frakt:'); 
    define('ENTRY_TOTAL''Total:'); 
    define('ENTRY_DATE_PURCHASED''Orderdatum:'); 
    define('ENTRY_STATUS''Status:'); 
    define('ENTRY_DATE_LAST_UPDATED''Senast uppdaterad:'); 
    define('ENTRY_NOTIFY_CUSTOMER''Meddela kund:'); 
    define('ENTRY_NOTIFY_COMMENTS''Bifoga kommentarer:'); 
    define('ENTRY_PRINTABLE''Skriv ut order'); 
     
    define('TEXT_INFO_HEADING_DELETE_ORDER''Radera Order'); 
    define('TEXT_INFO_DELETE_INTRO''&Auml;r du s&auml;ker p&aring; att du vill radera denna order?'); 
    define('TEXT_INFO_RESTOCK_PRODUCT_QUANTITY''F&ouml;rnya produktkvantiteten'); 
    define('TEXT_DATE_ORDER_CREATED''Datum Inlagd:'); 
    define('TEXT_DATE_ORDER_LAST_MODIFIED''Senast &auml;ndrad:'); 
    define('TEXT_INFO_PAYMENT_METHOD''Betalnings metod:'); 
    define('TEXT_PAID''Betald'); 
    define('TEXT_UNPAID''Obetald'); 
     
    define('TEXT_ALL_ORDERS''Alla Ordrar'); 
    define('TEXT_NO_ORDER_HISTORY''Ingen Order Historik Finns'); 
     
    define('EMAIL_SEPARATOR''------------------------------------------------------'); 
    define('EMAIL_TEXT_SUBJECT''Order Uppdatering'); 
    define('EMAIL_TEXT_ORDER_NUMBER''Ordernummer:'); 
    define('EMAIL_TEXT_INVOICE_URL''Detaljerad order:'); 
    define('EMAIL_TEXT_DATE_ORDERED''Orderdatum:'); 
    define('EMAIL_TEXT_COMMENTS_UPDATE''<em>Kommentarer för din order är: </em>'); 
    define('EMAIL_TEXT_STATUS_UPDATED''Din order har uppdaterats till följande status:' "\n"); 
    define('EMAIL_TEXT_STATUS_LABEL''<strong>Ny status:</strong> %s' "\n\n"); 
    define('EMAIL_TEXT_STATUS_PLEASE_REPLY''Vänligen svara på detta epostmeddelande om du har några fr&aring;gor.' "\n"); 
     
    define('ERROR_ORDER_DOES_NOT_EXIST''FEL: Ordern finns inte.'); 
    define('SUCCESS_ORDER_UPDATED''LYCKAT: Ordern har blivit uppdaterad.'); 
    define('WARNING_ORDER_NOT_UPDATED''Varning: Ingen &auml;ndring har valt. Ordern uppdaterades inte.'); 
     
    define('ENTRY_ORDER_ID','Ordernummer '); 
    define('TEXT_INFO_ATTRIBUTE_FREE''&nbsp;-&nbsp;<span class="alert">GRATIS</span>'); 
     
    define('TEXT_DOWNLOAD_TITLE''Order Nerladdnings Status'); 
    define('TEXT_DOWNLOAD_STATUS''Status'); 
    define('TEXT_DOWNLOAD_FILENAME''Filnamn'); 
    define('TEXT_DOWNLOAD_MAX_DAYS''Dagar'); 
    define('TEXT_DOWNLOAD_MAX_COUNT''Sammanr&auml;kning'); 
     
    define('TEXT_DOWNLOAD_AVAILABLE''Tillg&auml;nglig'); 
    define('TEXT_DOWNLOAD_EXPIRED''Avslutad'); 
    define('TEXT_DOWNLOAD_MISSING''Finns inte p&aring; servern'); 
     
    define('IMAGE_ICON_STATUS_CURRENT''Status - Tillg&auml;nglig'); 
    define('IMAGE_ICON_STATUS_EXPIRED''Status - Avslutad'); 
    define('IMAGE_ICON_STATUS_MISSING''Status - Saknas'); 
     
    define('SUCCESS_ORDER_UPDATED_DOWNLOAD_ON''Nerladdningen har aktiverats'); 
    define('SUCCESS_ORDER_UPDATED_DOWNLOAD_OFF''Nerladdningen har inaktiverats'); 
    define('TEXT_MORE''... mer'); 
     
    define('TEXT_INFO_IP_ADDRESS''IP Adress: '); 
    define('TEXT_DELETE_CVV_FROM_DATABASE','Radera CVV fr&aring;n databasen'); 
    define('TEXT_DELETE_CVV_REPLACEMENT','Raderad'); 
    define('TEXT_MASK_CC_NUMBER','Maskera detta nummer'); 
     
    define('TEXT_INFO_EXPIRED_DATE''Giltlig till:<br />'); 
    define('TEXT_INFO_EXPIRED_COUNT''nedr&auml;knat antal:<br />'); 
     
    define('TABLE_HEADING_CUSTOMER_COMMENTS''Kund<br />Kommentar'); 
    define('TEXT_COMMENTS_YES''Kund kommentar - JA'); 
    define('TEXT_COMMENTS_NO''Kund kommentar - NEJ'); 
     
    define('SELECT_ORDER_LIST''G&aring; till order'); 
    define('BUTTON_TO_LIST''Orderlista'); 
    define('TEXT_WHOIS_LOOKUP''Who-Is s&ouml;kning'); 
    ?>

    includes/languages/swedish/checkout_process.php

    PHP Code:
    <?php 
    // 
    // +----------------------------------------------------------------------+ 
    // |zen-cart Open Source E-commerce                                       | 
    // +----------------------------------------------------------------------+ 
    // | Copyright (c) 2003 The zen-cart developers                           | 
    // |                                                                      | 
    // | http://www.zen-cart.com/index.php                                    | 
    // |                                                                      | 
    // | Portions Copyright (c) 2003 osCommerce                               | 
    // +----------------------------------------------------------------------+ 
    // | This source file is subject to version 2.0 of the GPL license,       | 
    // | that is bundled with this package in the file LICENSE, and is        | 
    // | available through the world-wide-web at the following url:           | 
    // | http://www.zen-cart.com/license/2_0.txt.                             | 
    // | If you did not receive a copy of the zen-cart license and are unable | 
    // | to obtain it through the world-wide-web, please send a note to       | 
    // | [email protected] so we can mail you a copy immediately.          | 
    // +----------------------------------------------------------------------+ 
    // $Id: checkout_process.php 1969 2005-09-13 06:57:21Z drbyte $ 
    // 
     /* 
     * Zen Cart version 1.5.0 - 
     * @Swedish Translation 2011 - Signs FrilansReklam, www.frilansreklam.se 
     * @Swedish support - www.zencart.nu - Svenska Zen Cart 
     */ 
     
    define('EMAIL_TEXT_SUBJECT''Order Bekräftelse'); 
    define('EMAIL_TEXT_HEADER''Order Bekräftelse'); 
    define('EMAIL_TEXT_FROM',' från ');  //added to the EMAIL_TEXT_HEADER, above on text-only emails 
    define('EMAIL_THANKS_FOR_SHOPPING','Tack för att Ni handlat hos oss!'); 
    define('EMAIL_DETAILS_FOLLOW','Följande är information från din order.'); 
    define('EMAIL_TEXT_ORDER_NUMBER''Ordernummer:'); 
    define('EMAIL_TEXT_INVOICE_URL''Detaljerad faktura:'); 
    define('EMAIL_TEXT_INVOICE_URL_CLICK''Klicka här för detaljerad faktura'); 
    define('EMAIL_TEXT_DATE_ORDERED''Orderdatum:'); 
    define('EMAIL_TEXT_PRODUCTS''Produkter'); 
    define('EMAIL_TEXT_SUBTOTAL''Delsumma:'); 
    define('EMAIL_TEXT_TAX''Moms:        '); 
    define('EMAIL_TEXT_SHIPPING''Frakt: '); 
    define('EMAIL_TEXT_TOTAL''Total:    '); 
    define('EMAIL_TEXT_DELIVERY_ADDRESS''Leveransadress'); 
    define('EMAIL_TEXT_BILLING_ADDRESS''Faktureringsadress'); 
    define('EMAIL_TEXT_PAYMENT_METHOD''Betalningsmetod'); 
     
    define('EMAIL_SEPARATOR''------------------------------------------------------'); 
    define('TEXT_EMAIL_VIA''via'); 
     
    // suggest not using # vs No as some spamm protection block emails with these subjects 
    define('EMAIL_ORDER_NUMBER_SUBJECT'' Nr: '); 
    define('HEADING_ADDRESS_INFORMATION','Adress Information'); 
    define('HEADING_SHIPPING_METHOD','Frakt metod'); 
    ?>

 

 

Similar Threads

  1. v137 Problem with display of Order Confirmation emails
    By djbeatnik in forum General Questions
    Replies: 8
    Last Post: 4 Dec 2015, 07:09 AM
  2. v154 Order confirmation emails and Contact Us emails not being received
    By jcrewe in forum General Questions
    Replies: 5
    Last Post: 22 Mar 2015, 06:36 PM
  3. v153 Additional Order Confirmation & Order Update emails
    By dchquilling in forum General Questions
    Replies: 2
    Last Post: 13 Oct 2014, 05:04 PM
  4. Help: Not receiving [NEW ORDER] Order Confirmation Emails!
    By RocketFoot in forum General Questions
    Replies: 1
    Last Post: 15 Feb 2011, 05:55 PM
  5. Replies: 8
    Last Post: 16 Jan 2010, 09:07 PM

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