Results 1 to 10 of 2177

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    Quote Originally Posted by litepockets View Post
    Search for it in file: /includes/languages/english/checkout.php

    Replace with the text you want.

    Tip: Use Tools > Developers Tool Kit and search for specific strings to find file locations. Will save you a lot of time. For example, you might search for "shipped to the address at the left" (without quotes) under the search for all files, and select catalog (or admin/catalog). It will show you the file and line # of file where that string of text is present.
    Litepockets.... you are true legend... thanks mate!

    If i wanted to remove the addresses totally do you know how to do that also?

    thanks very much ;-)

  2. #2
    Join Date
    Apr 2008
    Location
    Covington, Washington, United States
    Posts
    205
    Plugin Contributions
    1

    Default Re: Fast and Easy Checkout for Zen Cart

    Hey Jay,

    Are you asking how to remove the whole fieldset? IE. not display the address or ability to edit it?

    If so, I would try commenting out the fieldsets "checkoutShipTo" and "checkoutBillTo" in /includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_stacked.php

    First backup the file, and do the following.

    Starting at line 168 (on latest revision of FEC) find:
    PHP Code:
    <fieldset class="checkout" id="checkoutShipTo">
          <legend><?php echo TABLE_HEADING_SHIPPING_ADDRESS?></legend>
          <?php if ($messageStack->size('checkout_shipping') > 0) echo $messageStack->output('checkout_shipping'); ?>  
          <div id="checkoutShipto" class="floatingBox back">
          <address class="checkoutAddress"><?php echo zen_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true' ''<br />'); ?></address>
          </div> 
          <div class="floatingBox important forward"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION?></div>
        <?php if ($displayAddressEdit) { ?>
        <script language="javascript" type="text/javascript"><!--
        var Browser = {
          Version: function() {
            var version = 999; // we assume a sane browser
            if (navigator.appVersion.indexOf("MSIE") != -1)
              // bah, IE again, lets downgrade version number
              version = parseFloat(navigator.appVersion.split("MSIE")[1]);
            return version;
          }
        };
        if (Browser.Version() < 8) {
            document.write('<?php echo '<a href="' $editShippingButtonLink '">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT) . '</a>'?>');
        } else {
            document.write('<?php echo '<div class="buttonRow">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT'id="changeCheckoutShippingAddr"') . '</div>';?>');
        }
        //--></script>
        <noscript><div class="buttonRow"><?php echo '<a href="' $editShippingButtonLink '">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT) . '</a>'?></div></noscript>
        <?php ?> 
          </fieldset>
    Change to:
    PHP Code:
    <!--<fieldset class="checkout" id="checkoutShipTo">
          <legend><?php //echo TABLE_HEADING_SHIPPING_ADDRESS; ?></legend>
          <?php //if ($messageStack->size('checkout_shipping') > 0) echo $messageStack->output('checkout_shipping'); ?>  
          <div id="checkoutShipto" class="floatingBox back">
          <address class="checkoutAddress"><?php //echo zen_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true, ' ', '<br />'); ?></address>
          </div> 
          <div class="floatingBox important forward"><?php //echo TEXT_CHOOSE_SHIPPING_DESTINATION; ?></div>
        <?php //if ($displayAddressEdit) { ?>
        <script language="javascript" type="text/javascript"><!--
        var Browser = {
          Version: function() {
            var version = 999; // we assume a sane browser
            if (navigator.appVersion.indexOf("MSIE") != -1)
              // bah, IE again, lets downgrade version number
              version = parseFloat(navigator.appVersion.split("MSIE")[1]);
            return version;
          }
        };
        if (Browser.Version() < 8) {
            document.write('<?php //echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?>');
        } else {
            document.write('<?php //echo '<div class="buttonRow">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT, 'id="changeCheckoutShippingAddr"') . '</div>';?>');
        }
        //-->
        <!--</script>
        <noscript><div class="buttonRow"><?php //echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?></div></noscript>
        <?php //} ?> 
          </fieldset>-->
    Then starting on line 355 find:
    PHP Code:
    <fieldset class="checkout" id="checkoutBillTo">
            <legend><?php echo TABLE_HEADING_BILLING_ADDRESS?></legend>
            <div id="checkoutBillto" class="floatingBox back">
              <address><?php echo zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], true' ''<br />'); ?></address>
            </div>
            
            <div class="floatingBox important forward"><?php echo TEXT_SELECTED_BILLING_DESTINATION?></div>
          <?php if (MAX_ADDRESS_BOOK_ENTRIES >= 2) { ?>
           <script language="javascript" type="text/javascript"><!--
            var Browser = {
              Version: function() {
                var version = 999; // we assume a sane browser
                if (navigator.appVersion.indexOf("MSIE") != -1)
                  // bah, IE again, lets downgrade version number
                  version = parseFloat(navigator.appVersion.split("MSIE")[1]);
                return version;
              }
            };
            if (Browser.Version() < 8) {
                document.write('<?php echo '<a href="' zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS'''SSL') . '">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT) . '</a>'?>');
            } else {
                document.write('<?php echo '<div class="buttonRow">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT'id="changeCheckoutPayAddr"') . '</div>';?>');
            }
            //--></script>
            <noscript><div class="buttonRow"><?php echo '<a href="' zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS'''SSL') . '">' zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESSBUTTON_CHANGE_ADDRESS_ALT) . '</a>'?></div></noscript>
          <?php ?>
            </fieldset>
    Change to:
    PHP Code:
    <!--<fieldset class="checkout" id="checkoutBillTo">
            <legend><?php //echo TABLE_HEADING_BILLING_ADDRESS; ?></legend>
            <div id="checkoutBillto" class="floatingBox back">
              <address><?php //echo zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], true, ' ', '<br />'); ?></address>
            </div>
            
            <div class="floatingBox important forward"><?php //echo TEXT_SELECTED_BILLING_DESTINATION; ?></div>
          <?php //if (MAX_ADDRESS_BOOK_ENTRIES >= 2) { ?>
           <script language="javascript" type="text/javascript"><!--
            var Browser = {
              Version: function() {
                var version = 999; // we assume a sane browser
                if (navigator.appVersion.indexOf("MSIE") != -1)
                  // bah, IE again, lets downgrade version number
                  version = parseFloat(navigator.appVersion.split("MSIE")[1]);
                return version;
              }
            };
            if (Browser.Version() < 8) {
                document.write('<?php //echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?>');
            } else {
                document.write('<?php //echo '<div class="buttonRow">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT, 'id="changeCheckoutPayAddr"') . '</div>';?>');
            }
            //--></script>
            <!--
            <noscript><div class="buttonRow"><?php //echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?></div></noscript>
          <?php //} ?>
            </fieldset>-->
    This is only a suggestion, haven't tested. Let me know if it doesn't work out for you.

  3. #3
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    thanks litepockets, so I need to change what you have put in orange is that right?

    Yes and I mean remove shipping billing address ;-)

  4. #4
    Join Date
    Apr 2008
    Location
    Covington, Washington, United States
    Posts
    205
    Plugin Contributions
    1

    Default Re: Fast and Easy Checkout for Zen Cart

    Hi Jay,

    Not just the orange, but all of the code in the blocks I provided. If you go from the line indicated, start selecting at the beginning of <fieldset.... all the way through the closing tag for that fieldset element (as shown in the code blocks above) than just replace with everything in the blocks I marked "change to:" . Make sure you do it for both sections (shipping and billing) both are included in the code changes above.

    I can't emphasize enough though, back up your files before doing any modification to the code. This is only commenting out code, not removing it, but always take the safe route

  5. #5
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    ok mate I will try this but going to do this tomorrow as feel as rough as a badgers ######, thanks for your help mate, very much appreciated

  6. #6
    Join Date
    Jan 2010
    Posts
    90
    Plugin Contributions
    0

    Default Re: Fast and Easy Checkout for Zen Cart

    Litepockets,

    yet again you are a true legend, it has got rid of the addresses and now just says delivery information and payment information, address will be done through paypal and if signed up through my shop on there.

    All the info you have given me should be used as a sticky imo... great help

  7. #7
    Join Date
    Apr 2008
    Location
    Covington, Washington, United States
    Posts
    205
    Plugin Contributions
    1

    Default Re: Fast and Easy Checkout for Zen Cart

    Glad I was able to help :)

 

 

Similar Threads

  1. Replies: 4
    Last Post: 25 Jan 2012, 07:37 PM
  2. Fast and Easy Checkout - Checkout Without Account not showing
    By Lee-oh in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 3 Feb 2010, 05:09 PM
  3. Go To Checkout Error - with Fast and Easy Checkout installed
    By RFree190 in forum General Questions
    Replies: 3
    Last Post: 10 Mar 2009, 07:08 AM
  4. checkout page not redirect (Fast and Easy Checkout module)
    By wowemall in forum Addon Templates
    Replies: 0
    Last Post: 27 Sep 2008, 02:36 PM
  5. Fast and Easy Checkout
    By cmes in forum General Questions
    Replies: 5
    Last Post: 15 Feb 2008, 04:07 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