Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Posts
    33
    Plugin Contributions
    0

    Default How do I remove Free Shipping: $0.00 from email?

    Hi
    I am currently working on a site where all products are virtual. I have managed to remove all reference to shipping on the site but I can't figure out how to get rid of the Free Shipping: $0.00 that shows in the order confirmation email. I have tried with and without the free shipping module activated without any luck.

    The site is being used as a course booking site so there is no need for shipping at all.

    Any help greatly appreciated.

    Thanks

  2. #2
    Join Date
    Jan 2009
    Posts
    33
    Plugin Contributions
    0

    Default Re: How do I remove Free Shipping: $0.00 from email?

    I think I have it worked out. I was looking at this thread http://www.zen-cart.com/showthread.p...-product-total and at the bottom of the first page it has this bit of code
    Code:
    function process() {
          global $order, $currencies;
         if ($_SESSION['shipping'] == 'free_free') {
            $this->output[] = array('value' => $order->info['shipping_cost']);
                                    }
         else {
             $this->output[] = array('title' => $order->info['shipping_method'] . ':',
                                    'text' => $currencies->format($order->info['shipping_cost'], true, $order->info['currency'], $order->info['currency_value']),
                                    'value' => $order->info['shipping_cost']);
                                    }
        }
    but I wasn't sure where to put it. I have replaced this code in ot_shipping.php
    Code:
    function process() {
          global $order, $currencies;
    
            $this->output[] = array('title' => $order->info['shipping_method'] . ':',
                                    'text' => $currencies->format($order->info['shipping_cost'], true, $order->info['currency'], $order->info['currency_value']),
                                    'value' => $order->info['shipping_cost']);
        }
    with the one above and it seems to be working. So hope this will be a bit clearer to someone else trying the same thing.

    Thanks

 

 

Similar Threads

  1. v154 Remove Free Shipping Image From All Pages But Product Page?
    By traytray in forum General Questions
    Replies: 3
    Last Post: 1 Jul 2015, 01:18 PM
  2. How Do I Remove Extra Lines from Order Confirmation Email?
    By powrwrap in forum General Questions
    Replies: 7
    Last Post: 22 May 2011, 11:09 PM
  3. Can I Remove the Free Shipping Label from Product Listings?
    By ongat in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 28 Feb 2011, 04:52 PM
  4. How do I remove zencart logo from email?
    By Zaki in forum General Questions
    Replies: 11
    Last Post: 5 Jun 2009, 04:04 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