Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: What's the best way to duplicate the "storepickup" shipping module?

    Sorry ... the correct filename is:
    tpl_checkout_shipping_default.php

    silly .. silly ... me ...
    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: v1.5.5]
    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!

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

    Default Re: What's the best way to duplicate the "storepickup" shipping module?

    You have typos in your code ...

    In the file tpl_checkout_shipping_default.php you need to use:
    Code:
    <?php
                if ( ($n > 1) || ($n2 > 1) ) {
    ?>
    <div class="important forward"><?php echo ($quotes[$i]['methods'][$j]['cost'] == 0 ? 'HERE!' : $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0)))); ?></div>
    <?php
                } else {
    ?>
    <div class="important forward"><?php echo ($quotes[$i]['methods'][$j]['cost'] == 0 ? 'HERE!' : $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) ) . zen_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></div>
    <?php
                }
    ?>
    In the ot_shipping.php you need to be using:
    Code:
        function process() {
          global $order, $currencies;
    
            $this->output[] = array('title' => $order->info['shipping_method'] . ':',
                                    'text' => ($order->info['shipping_cost'] == 0.00 ? 'I am Free!' : $currencies->format($order->info['shipping_cost'], true, $order->info['currency'], $order->info['currency_value'])),
                                    'value' => $order->info['shipping_cost']);
        }
    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: v1.5.5]
    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. #23
    Join Date
    Dec 2005
    Posts
    58
    Plugin Contributions
    0

    Default Re: What's the best way to duplicate the "storepickup" shipping module?

    That was it! Thank you so much Linda for all your help, and most of all for all your patience! You Rock!

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

    Default Re: What's the best way to duplicate the "storepickup" shipping module?

    Thanks for the update that you got this working ...

    Remember us when you are rich and famous!!
    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: v1.5.5]
    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. #25
    Join Date
    Dec 2005
    Posts
    58
    Plugin Contributions
    0

    Default Re: What's the best way to duplicate the "storepickup" shipping module?

    I do have one more question tho...

    Why is it not wise to make file changes on the control panel or using word?

    I can see how word may change formats or some sort of syntax,
    but I don't quiet understand why making changes on the control panel is not a good thing to do.

    Just wondering.

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

    Default Re: What's the best way to duplicate the "storepickup" shipping module?

    Often times, the files become corrupted ... it is best to use a good TEXT editor and FTP the files to your site ...
    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: v1.5.5]
    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!

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v154 How can I change the text in shipping estimator from "Best Way" to something else?
    By Zappa Aviaries in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 Feb 2015, 05:10 AM
  2. How do I change "Table Rate (Best Way)" to "Ground Shipping"?
    By John Vieth in forum General Questions
    Replies: 4
    Last Post: 1 Jul 2010, 10:37 PM
  3. Changing the term "best way" in shipping
    By genxnomad in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 18 May 2010, 07:15 PM
  4. How to disable "payment at storepickup" when the customer has the goods delivered?
    By Philibel in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 1 Feb 2009, 04:50 PM
  5. How do I Change the "Best Way" in Shipping Method?
    By zcnb in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Aug 2008, 10:21 PM

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