Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    May 2009
    Location
    WA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Broke Html order confirmation emails - only showing code

    Quote Originally Posted by stevesh View Post
    Please post the contents of that email file here as code or text rather than a screenshot, so I can paste it into my test site's file and possibly reproduce the problem.
    Here is the email:

    $EMAIL_SUBJECT
    _html_ _head_ _meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /_ _base href="http://www.gothfox.com/" /_ _style type="text/css"_ body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;} a:link {color:#0066cc;} a:hover {background-color:#eeeecc; color:#0066cc;} a:visited {color:#0066cc;} .holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;} .header {font-size:10px; padding:0px; width:550px;} .content {font-size:10px; padding:5px; width:550px;} .footer {border-top:1px solid #9a9a9a; font-size:9px; text-align:center; width:550px;} .extra-info {background-color:#cccc99; border:1px dashed #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;} .content-line {padding:5px; font-size:10px;} .content-line-title {font-weight:bold; font-size:11px; padding-top:3px;} .order-detail-area {background-color:#CCCC99; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .product-details {font-size:10px;} .product-details-num {font-size:10px; font-weight:bold;} .order-totals-text {font-size:10px; font-weight:bold;} .order-totals-num {font-size:10px; } .comments {background-color:#FF6699; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .address-block {background-color:#E4E8F3; border:1px solid #9a9a9a; margin-top:3px;} .address {font-size:10px;} .payment-detail, .payment-footer {font-size:10px;} .extra-info {background-color:#cccc99; border:1px solid #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;} .extra-info-bold {font-weight:bold;} .disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;} .disclaimer1 {color:#666666; padding:5px;} .disclaimer1 a:link {color:#666666;} .disclaimer1 a:visited {color:#666666;} .disclaimer2 {color:#666666; padding:5px;} .copyright {border-bottom:0px solid #9a9a9a; padding:5px;} _/style_ _/head_ _body_ _div class="holder"_ _!-- Header Section --_ _div class="header"_ _img src="email/header.jpg" alt="logo" /_ _/div_ _!-- Content Section --_ _div class="content"_ _div class="content-line"_ TransID: 93Y38719WK644613L_br /_ _br /_ Order Confirmation _br /__br /_ Thandiwe Gibson,_br /_ Thanks for shopping with us today!_br /_ The following are the details of your order._br /__br /_ Order Number: 2653_br /_ Date Ordered: Friday 21 November, 2014_br /_ _a href="https://www.gothfox.com/index.php?main_page=account_history_info&order_id=2653"_Click here for a Detailed Invoice_/a_ _/div_ _div class="content-line"__strong_Products_/strong__/div_ _div class="order-detail-area"__table class="product-details" border="0" width="100%" cellspacing="0" cellpadding="2"__tr_ _td class="product-details" align="right" valign="top" width="30"_1 x_/td_ _td class="product-details" valign="top"_Faux Deer Antlers - Standard _nobr__small__em_ _/em__/small__/nobr__/td_ _td class="product-details-num" valign="top" align="right"_$20.00_/td__/tr_ _tr_ _td class="product-details" align="right" valign="top" width="30"_1 x_/td_ _td class="product-details" valign="top"_Ram Horns - Black and Silver _nobr__small__em_ _br /_ Glitter Option Yes_br /_ Ram Horn Base Fur White_/em__/small__/nobr__/td_ _td class="product-details-num" valign="top" align="right"_$40.00_/td__/tr_ _tr_ _td class="product-details" align="right" valign="top" width="30"_1 x_/td_ _td class="product-details" valign="top"_Spike Roe Deer Antlers _nobr__small__em_ _/em__/small__/nobr__/td_ _td class="product-details-num" valign="top" align="right"_$15.00_/td__/tr_ _/table__/div_ _div class="order-detail-area"__table border="0" width="100%" cellspacing="0" cellpadding="2"_ _tr__td class="order-totals-text" align="right" width="100%"_ _/td_ _td class="order-totals-num" align="right" nowrap="nowrap"_---------_/td_ _/tr_ _tr__td class="order-totals-text" align="right" width="100%"_Sub-Total:_/td_ _td class="order-totals-num" align="right" nowrap="nowrap"_$75.00_/td_ _/tr_ _tr__td class="order-totals-text" align="right" width="100%"_United States Postal Service (Priority Mail™):_/td_ _td class="order-totals-num" align="right" nowrap="nowrap"_$6.60_/td_ _/tr_ _tr__td class="order-totals-text" align="right" width="100%"_Total:_/td_ _td class="order-totals-num" align="right" nowrap="nowrap"_$81.60_/td_ _/tr_ _/table__/div_ _div class="comments"__/div_ _div class="content-line"__strong_Address Information_/strong__/div_ _div class="address-block"_ _table border="0" width="100%" cellspacing="0" cellpadding="2"_ _tr_ _td valign="top" width="50%"_ _table border="0" width="100%" cellspacing="0" cellpadding="2"_ _tr_ _td class="content-line-title"__strong_Delivery Address_/strong__/td_ _/tr_ _tr_ _td class="address"_Thandiwe Gibson_br /_3830 NE 33rd Ave_br /_Portland, OR 97212_br /_United States_/td_ _/tr_ _tr_ _td class="content-line-title"__strong_Shipping Method_/strong__/td_ _/tr_ _tr_ _td class="content-line"_United States Postal Service (Priority Mail™)_/td_ _/tr_ _/table_ _/td_ _td valign="top" width="50%"_ _table border="0" width="100%" cellspacing="0" cellpadding="2"_ _tr_ _td class="content-line-title"_Billing Address_/td_ _/tr_ _tr_ _td class="address"_Andrea T Curtis-Gibson_br /_210 E McLoughlinn Blvd_br /_Suite 201_br /_Vancouver, WA 98663_br /_United States_/td_ _/tr_ _tr_ _td class="content-line-title"__strong_Payment Method_/strong__/td_ _/tr_ _tr_ _td class="payment-detail"_Credit Card_/td_ _/tr_ _tr_ _td class="payment-footer"_Visa XX8653 _/td_ _/tr_ _/table_ _/td_ _/tr_ _/table_ _/div_ _/div_ _!-- Footer Section --_ _div class="footer"_ _div class="copyright"_Copyright (c) 2014 _a href="http://www.gothfox.com/index.php?main_page=index&zenid=105fedc38ac2139ac1aa14ecc8dcb4e0" target="_blank"_Gothfox Designs_/a_. Powered by _a href="http://www.zen-cart.com" target="_blank"_Zen Cart_/a__/div_ _/div_ _/div_ _div class="disclaimer"_ _div class="disclaimer1"_This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to _a href="mailto:[email protected]"[email protected] _/a_ _/div_ _div class="disclaimer2"_This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected._/div_ _/div_ _table class="extra-info"__tr__td class="extra-info-bold" colspan="2"__strong_Office Use Only:_/strong__/td__/tr__tr__td class="extra-info-bold"__strong_From:_/strong__/td__td__/td__/tr__tr__td class="extra-info-bold"__strong_Email:_/strong__/td__td__/td__/tr__tr__td class="extra-info-bold"__strong_Login Name:_/strong__/td__td_Thandiwe Gibson_/td__/tr__tr__td class="extra-info-bold"__strong_Login Email:_/strong__/[email protected]_/td__/tr__tr__td class="extra-info-bold"__strong_Telephone:_/strong__/td__td_503 467 6172_/td__/tr__tr__td class="extra-info-bold"__strong_IP Address:_/strong__/td__td_70.96.40.193 - 70.96.40.193_/td__/tr__tr__td class="extra-info-bold"__strong_Host Address:_/strong__/td__td_70.96.40.193_/td__/tr__tr__td class="extra-info-bold"__strong_Date and Time:_/strong__/td__td_Fri Nov 21 2014 0:49:41 EST_/td__/tr__/table_ _/body_ _/html_
    Copyright (c) 2014 Zen Cart. Powered by Zen Cart
    This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to [email protected]
    This e-mail is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.

  2. #12
    Join Date
    May 2009
    Location
    WA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Broke Html order confirmation emails - only showing code

    Here is email_template_checkout.html

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=$CHARSET" />
    <base href="$BASE_HREF" />

    <style type="text/css">
    body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;}
    a:link {color:#0066cc;}
    a:hover {background-color:#eeeecc; color:#0066cc;}
    a:visited {color:#0066cc;}
    .holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;}
    .header {font-size:10px; padding:0px; width:550px;}
    .content {font-size:10px; padding:5px; width:550px;}
    .footer {border-top:1px solid #9a9a9a; font-size:9px; text-align:center; width:550px;}
    .extra-info {background-color:#cccc99; border:1px dashed #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;}
    .content-line {padding:5px; font-size:10px;}
    .content-line-title {font-weight:bold; font-size:11px; padding-top:3px;}
    .order-detail-area {background-color:#CCCC99; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; }
    .product-details {font-size:10px;}
    .product-details-num {font-size:10px; font-weight:bold;}
    .order-totals-text {font-size:10px; font-weight:bold;}
    .order-totals-num {font-size:10px; }
    .comments {background-color:#FF6699; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; }
    .address-block {background-color:#E4E8F3; border:1px solid #9a9a9a; margin-top:3px;}
    .address {font-size:10px;}
    .payment-detail, .payment-footer {font-size:10px;}
    .extra-info {background-color:#cccc99; border:1px solid #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;}
    .extra-info-bold {font-weight:bold;}
    .disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;}
    .disclaimer1 {color:#666666; padding:5px;}
    .disclaimer1 a:link {color:#666666;}
    .disclaimer1 a:visited {color:#666666;}
    .disclaimer2 {color:#666666; padding:5px;}
    .copyright {border-bottom:0px solid #9a9a9a; padding:5px;}

    </style>
    </head>

    <body>
    <div class="holder">

    <!-- Header Section -->
    <div class="header">
    <img src="email/header.jpg" alt="logo" />
    </div>


    <!-- Content Section -->
    <div class="content">
    <div class="content-line">
    $EMAIL_TEXT_HEADER <br /><br />
    $EMAIL_FIRST_NAME $EMAIL_LAST_NAME,<br />
    $EMAIL_THANKS_FOR_SHOPPING<br />
    $EMAIL_DETAILS_FOLLOW<br /><br />

    $INTRO_ORDER_NUM_TITLE $INTRO_ORDER_NUMBER<br />
    $INTRO_DATE_TITLE $INTRO_DATE_ORDERED<br />
    <a href="$INTRO_URL_VALUE">$INTRO_URL_TEXT</a>
    </div>
    <div class="content-line"><strong>$PRODUCTS_TITLE</strong></div>
    <div class="order-detail-area">$PRODUCTS_DETAIL</div>
    <div class="order-detail-area">$ORDER_TOTALS</div>

    <div class="comments">$ORDER_COMMENTS</div>

    <div class="content-line"><strong>$HEADING_ADDRESS_INFORMATION</strong></div>
    <div class="address-block">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
    <td valign="top" width="50%">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
    <td class="content-line-title"><strong>$ADDRESS_DELIVERY_TITLE</strong></td>
    </tr>
    <tr>
    <td class="address">$ADDRESS_DELIVERY_DETAIL</td>
    </tr>

    <tr>
    <td class="content-line-title"><strong>$SHIPPING_METHOD_TITLE</strong></td>
    </tr>
    <tr>
    <td class="content-line">$SHIPPING_METHOD_DETAIL</td>
    </tr>
    </table>
    </td>
    <td valign="top" width="50%">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
    <td class="content-line-title">$ADDRESS_BILLING_TITLE</td>
    </tr>
    <tr>
    <td class="address">$ADDRESS_BILLING_DETAIL</td>
    </tr>
    <tr>
    <td class="content-line-title"><strong>$PAYMENT_METHOD_TITLE</strong></td>
    </tr>
    <tr>
    <td class="payment-detail">$PAYMENT_METHOD_DETAIL</td>
    </tr>
    <tr>
    <td class="payment-footer">$PAYMENT_METHOD_FOOTER</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </div>
    </div>

    <!-- Footer Section -->
    <div class="footer">
    <div class="copyright">$EMAIL_FOOTER_COPYRIGHT</div>
    </div>

    </div>
    <div class="disclaimer">
    <div class="disclaimer1">$EMAIL_DISCLAIMER</div>
    <div class="disclaimer2">$EMAIL_SPAM_DISCLAIMER</div>
    </div>
    $EXTRA_INFO
    </body>
    </html>

  3. #13
    Join Date
    May 2009
    Location
    WA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Broke Html order confirmation emails - only showing code

    And this is what email archive manager preview gives me:

    body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;} a:link {color:#0066cc;} a:hover {background-color:#eeeecc; color:#0066cc;} a:visited {color:#0066cc;} .holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;} .header {font-size:10px; padding:0px; width:550px;} .content {font-size:10px; padding:5px; width:550px;} .footer {border-top:1px solid #9a9a9a; font-size:9px; text-align:center; width:550px;} .extra-info {background-color:#cccc99; border:1px dashed #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;} .content-line {padding:5px; font-size:10px;} .content-line-title {font-weight:bold; font-size:11px; padding-top:3px;} .order-detail-area {background-color:#CCCC99; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .product-details {font-size:10px;} .product-details-num {font-size:10px; font-weight:bold;} .order-totals-text {font-size:10px; font-weight:bold;} .order-totals-num {font-size:10px; } .comments {background-color:#FF6699; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .address-block {background-color:#E4E8F3; border:1px solid #9a9a9a; margin-top:3px;} .address {font-size:10px;} .payment-detail, .payment-footer {font-size:10px;} .extra-info {background-color:#cccc99; border:1px solid #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;} .extra-info-bold {font-weight:bold;} .disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;} .disclaimer1 {color:#666666; padding:5px;} .disclaimer1 a:link {color:#666666;} .disclaimer1 a:visited {color:#666666;} .disclaimer2 {color:#666666; padding:5px;} .copyright {border-bottom:0px solid #9a9a9a; padding:5px;}

  4. #14
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Broke Html order confirmation emails - only showing code

    Your post says you're using v1.5.0 (which is from 2011).
    Which files in /includes/classes/ and /includes/functions/ are not currently identical to original v150 code, and why?
    .

    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.

  5. #15
    Join Date
    May 2009
    Location
    WA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Broke Html order confirmation emails - only showing code

    I looked at /includes/classes/order.php and I did not change anything but I uploaded the original from my computer just in case.

    I have not touched anything in /includes/functions/

  6. #16
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Broke Html order confirmation emails - only showing code

    Okay, then it's time to inspect all files on your site to study and understand every alteration in order to determine which change has suddenly broken things.
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues

    And, once that study is done, it's worth upgrading to a modern version too. Fortunately what you learn from that study is directly applicable to upgrading too.
    .

    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.

  7. #17
    Join Date
    May 2009
    Location
    WA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Broke Html order confirmation emails - only showing code

    I've had the line break problem before many years ago and its due to me being on a Mac.
    WinMerge is PC only do you have any Mac programs suggestions?

    I'm also planning on upgrading but when I imported my data base it was not the correct php version so I need to do some research to see what I can do about it.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Broke Html order confirmation emails - only showing code

    FWIW I've used a Mac for the past 6 years and rarely have line-ending issues nowadays.

    There are a number of text-file-comparison tools for Mac. I've listed some of the more common ones here: http://www.zen-cart.com/wiki/index.php/Useful_Tools
    .

    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.

  9. #19
    Join Date
    May 2009
    Location
    WA
    Posts
    65
    Plugin Contributions
    0

    Default Re: Broke Html order confirmation emails - only showing code

    Thanks for the link! I just downloaded the sublime text editor the other day and it's very nice.

    I'll update and let everyone know what happened if/when I figure it out.

    I just talked to one of my customers and thankfully she got the basic text order confirmation. I think all my customers are getting the text version not sure why. I doubt anyone signs up for text versions. I went through and looked at a few customer settings and they all chose HTML for some unknown reason.

  10. #20
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Broke Html order confirmation emails - only showing code

    Quote Originally Posted by gfdesigns View Post
    I doubt anyone signs up for text versions. I went through and looked at a few customer settings and they all chose HTML for some unknown reason.
    Is it because you've got your store defaults set to sign them up for HTML by default?

    For the time-being, if you want to force text-only messages (ie: for this week until you can sort it out after this week's sales), set MIME HTML to off in Admin->Configuration->Email Options.
    .

    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.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. 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
  2. v139h Remove/Hide Discount Coupon Code from Order Confirmation Emails
    By emovendo in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 31 Jul 2012, 07:49 PM
  3. How to Hide Discount Code from order confirmation emails ?
    By Rony in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 9
    Last Post: 20 Sep 2010, 10:25 PM
  4. Text emails showing &eacute; html code in body
    By roystik in forum General Questions
    Replies: 1
    Last Post: 11 Feb 2010, 09:48 PM
  5. Replies: 0
    Last Post: 4 Sep 2008, 02:04 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