Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default remove shipping costs

    Anyone know how to remove shipping costs from the checkout confirmation page? - my products are downloadable and that being included in the totals as £0.00 looks slightly non-sensical>>

    _thanks

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: remove shipping costs

    If you are seeing the checkout_shipping page when you only have Downloads in the shopping cart then you have them configured incorrectly ...

    Downloads are configured as:
    Product is Virtual: No, Shipping Address Required
    Always Free Shipping: No, Normal Shipping Rules
    Downloads know that they do not have shipping based on the filename on the attribute ...

    Once setup correctly, you can then change the language file on the shipping from:
    /includes/languages/english/modules/order_total/ot_shipping.php

    Line #25 : define('FREE_SHIPPING_TITLE', 'Free Shipping');
    to something that works better for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: remove shipping costs

    Thanks for the reply..>>

    If you are seeing the checkout_shipping page when you only have Downloads in the shopping cart then you have them configured incorrectly ...
    No.. I'm not ... I should say that I have the add on 'Fast and Easy Checkout' currently installed so when I'm taken to the one page checkout from the shopping cart the shipping costs (of £0.00) are included at the bottom - in the totals - which as I said is pointless.

    Do you know how to remove this line?

    _thanks

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: remove shipping costs

    I do not use that Add On ... so I really could not tell you what needs to be done ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: remove shipping costs

    I do not use that Add On ... so I really could not tell you what needs to be done ...
    It makes no difference regarding this - I only told you so that you would understand that I don't have a shipping page or even payment module page before - so however you would do it without the add-on will be the same with it ~ that's if you can help..

    _thanks

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: remove shipping costs

    Try this and see if it works ...

    Edit the module:
    /includes/modules/order_total/ot_shipping.php

    and replace the function process with:
    Code:
        function process() {
          global $order, $currencies;
    
    if ($order->info['shipping_cost'] == 0) {
      // do not show it
    } else {
      // show it
            $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']);
    }
        }
    This will make it not show in the checkout ... then change the language file for:
    Code:
    /includes/languages/english/modules/order_total/ot_shipping.php
    
    Line #25 : define('FREE_SHIPPING_TITLE', 'Free Shipping');
    to read how you want it to appear in the My Account ...

    I am guessing that this should work with your add on as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Shipping Module for different shipping methods/costs/countries/
    By ggiannetto in forum Addon Shipping Modules
    Replies: 0
    Last Post: 10 Nov 2013, 07:47 PM
  2. Table Shipping Limit Call for Shipping Costs
    By cshart in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 30 Apr 2009, 04:47 PM
  3. Shipping table not adding additional items shipping costs
    By jwishy in forum Built-in Shipping and Payment Modules
    Replies: 23
    Last Post: 17 Sep 2008, 06:57 AM
  4. Different shipping zones with percental shipping costs
    By Laques2000 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 24 Jan 2008, 03:02 PM
  5. Shipping table not adding additional items shipping costs???
    By jwishy in forum Addon Shipping Modules
    Replies: 0
    Last Post: 18 Aug 2006, 05:52 AM

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