Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2012
    Posts
    65
    Plugin Contributions
    0

    Default How do I remove map links from orders so they print better?

    I set up a new site with 1.5.6c

    When I go to print the orders the addresses take up almost an entire page instead of printing neatly in a row. Normally, 99% of my orders will print on one page. With 1.5.6c it takes two pages, which is going to be quite irritationg. I think the weird formatting is caused by the three mapping links, such as "Map Customer Address"

    What file creates the order pages? I want to go in and delete these links and try to formatt the page so it prints like they do on older versions.

    Thanks,



    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here.
    And, remove this comment before actually posting!]

  2. #2
    Join Date
    Oct 2012
    Posts
    65
    Plugin Contributions
    0

    Default Re: How do I remove map links from orders so they print better?

    Actually, I found the file. Orders.php in the admin folder. I deleted the map links. That takes out a few extra lines when I print it, but it still prints The three addresses one at a time going down the page, instead of printing them neatly row.

  3. #3
    Join Date
    Jan 2004
    Posts
    65,475
    Blog Entries
    7
    Plugin Contributions
    237

    Default Re: How do I remove map links from orders so they print better?

    Normally those links don't print.
    And the addresses show in columns across the page, not stacked vertically.

    Perhaps you're missing some admin CSS?

    Additionally, if you add class="noprint" to various HTML elements on the page then they won't print either. You'll see those already present on many parts of that page.
    Of course, you'll need the admin CSS working properly for that to work too.

    Also, there's the Invoice button which will show a very printer-friendly version of the order, suitable for printing to give to the customer.
    .

    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.

  4. #4
    Join Date
    Oct 2012
    Posts
    65
    Plugin Contributions
    0

    Default Re: How do I remove map links from orders so they print better?

    Thanks for your help


    Quote Originally Posted by DrByte View Post
    Normally those links don't print.
    And the addresses show in columns across the page, not stacked vertically.

    Perhaps you're missing some admin CSS?

    Additionally, if you add class="noprint" to various HTML elements on the page then they won't print either. You'll see those already present on many parts of that page.
    Of course, you'll need the admin CSS working properly for that to work too.

    Also, there's the Invoice button which will show a very printer-friendly version of the order, suitable for printing to give to the customer.

 

 

Similar Threads

  1. How to remove address book from site map?
    By OrcaSoul in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Feb 2010, 08:26 PM
  2. How do - Remove pages from site map
    By wachtn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Jul 2009, 09:13 PM
  3. How do i remove links from Site Map page?
    By Agent_KGB in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Feb 2009, 09:06 PM
  4. How to remove Site map links
    By jthomo in forum Customization from the Admin
    Replies: 1
    Last Post: 4 Jul 2008, 03:30 PM
  5. Remove links from the site map
    By jthomo in forum Customization from the Admin
    Replies: 8
    Last Post: 14 Sep 2007, 01:19 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