Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Custom CSS in Order status email

    Something I figured would be easy is proving rather difficult so any help would be appreciated.

    I would like to add a bit of styling to the order status emails so that the updated status appears highlighted. So I amended the order status email adding a status class in the css and then adding the class to the div.
    This works in a HTML editor but when I upload it - nothing. If I check the source code of an order status email the additional css doesnt even appear.

    I assume I have to edit some other file but after a few hours scouring the forums I am none the wiser.

    Cheers
    Brinley

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Custom CSS in Order status email

    All changes made to the /email/email_template_XXXXXXX.html files take effect on the next HTML emails sent from the store.
    .

    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.

  3. #3
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Custom CSS in Order status email

    Hi Doc

    Yeah I am aware of that, I did the changes a while back and am just revisiting it so the source code of the recent emails I have should show the changes.

    Here's the amendment I made to the css
    .status {color: #323232;font-size: 16px; line-height: 62px; padding: 5px; margin: 10px 0; border: 1px #dbdbdb solid; background-color: #f6f5f3;}

    and I changed the div to
    <div class="status">$EMAIL_TEXT_STATUS_UPDATED</div>

    Obviously I'm missing still missing something somewhere.

    Cheers
    Brinley

  4. #4
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Custom CSS in Order status email

    Took a clean install email file for direct email and got it working so just have to figure out where I am going wrong in the status email.

 

 

Similar Threads

  1. v150 Customize order status email subject line to include status name
    By ShopVille in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Oct 2015, 09:24 PM
  2. v151 New Order Email Admin Update order status missing?
    By wrickspam in forum Managing Customers and Orders
    Replies: 1
    Last Post: 7 May 2014, 09:46 PM
  3. Custom sort order of our 22 status bins
    By sbbemn in forum Basic Configuration
    Replies: 1
    Last Post: 1 Sep 2011, 03:20 PM
  4. New email template for custom status
    By erko in forum General Questions
    Replies: 1
    Last Post: 15 Sep 2009, 11:25 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