Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2011
    Location
    South Africa
    Posts
    14
    Plugin Contributions
    0

    help question Removing the totals on the order confirmation page

    Hi,

    I am using version 1.3.9h of Zen Cart. I have a question regarding the step 3 of 3 the order confirmation page. I did go through the forum to see if my question was answered in a previous post, but only found other questions people asked regarding the order confirmation page.

    I just want to remove the total summary at the bottom of the order confirmation page as we send our clients a official company quotation regarding the order. So basically we just use the cart system as a order request system. Should the client accept the quotation the pay us via EFT or direct bank deposit and once payment clears we ship the goods.

    That is why I want to remove the order total are on the order confirmation page if possible.
    I have attached a image to give you a better idea.

    Many thanks,
    Jacques
    Attached Images Attached Images  

  2. #2
    Join Date
    Apr 2011
    Location
    South Africa
    Posts
    14
    Plugin Contributions
    0

    help question Re: Removing the totals on the order confirmation page

    Hi again,

    I still have the problem as stated above and while waiting for a reply have done the following.

    I think the file that needs editing is the checkout_process.php which is located in includes/languages/english/YOUR_TEMPLATE/

    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                                       |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers                           |
    // |                                                                      |
    // | http://www.zen-cart.com/index.php                                    |
    // |                                                                      |
    // | Portions Copyright (c) 2003 osCommerce                               |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,       |
    // | that is bundled with this package in the file LICENSE, and is        |
    // | available through the world-wide-web at the following url:           |
    // | http://www.zen-cart.com/license/2_0.txt.                             |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to       |
    // | [email protected] so we can mail you a copy immediately.          |
    // +----------------------------------------------------------------------+
    // $Id: checkout_process.php 1969 2005-09-13 06:57:21Z drbyte $
    //
    
    define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');
    define('EMAIL_TEXT_HEADER', 'Order Confirmation');
    define('EMAIL_TEXT_FROM',' from ');  //added to the EMAIL_TEXT_HEADER, above on text-only emails
    define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!');
    define('EMAIL_DETAILS_FOLLOW','The following are the details of your order.');
    define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
    define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
    //define('EMAIL_TEXT_INVOICE_URL_CLICK', 'Click here for a Detailed Invoice');
    define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
    define('EMAIL_TEXT_PRODUCTS', 'Products');
    //define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');
    //define('EMAIL_TEXT_TAX', 'VAT:        ');
    //define('EMAIL_TEXT_SHIPPING', 'Shipping: ');
    //define('EMAIL_TEXT_TOTAL', 'Total:    ');
    define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');
    define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');
    define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');
    
    define('EMAIL_SEPARATOR', '------------------------------------------------------');
    define('TEXT_EMAIL_VIA', 'via');
    
    // suggest not using # vs No as some spamm protection block emails with these subjects
    define('EMAIL_ORDER_NUMBER_SUBJECT', ' No: ');
    define('HEADING_ADDRESS_INFORMATION','Address Information');
    define('HEADING_SHIPPING_METHOD','Shipping Method');
    ?>
    I have added // infront of the lines I thought needed to be disabled to solve my problem but it didnt work.

    So then I went to the tpl_checkout_confirmation_default.php line 168 - 171
    Removed the code:
    Code:
    <div id="orderTotals"><?php $order_total_modules->output(); ?></div>
    <?php
      }
    ?>
    And it still didnt work so I replaced to code to its original state.Is there maybe something i could add the the code above to aid me in my problem as I am still a PHP newbie and just have knowledge of html and css.

    This is the last thing I need to resolve then we can launch our site.

    If anyone could help me or just give me a tip it ould be greatly appreciated.

    Thanks for your time,
    Jacques

  3. #3
    Join Date
    Apr 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Removing the totals on the order confirmation page

    Go to:

    /includes/templates/template_default/templates/tpl_shopping_cart_default.php

    and remove the desired elements. For example, below is the shopping cart code with Unit and Total prices removed.

    <table border="0" width="100%" cellspacing="0" cellpadding="0" id="cartContentsDisplay">
    <tr class="tableHeading">
    <th scope="col" id="scQuantityHeading"><?php echo TABLE_HEADING_QUANTITY; ?></th>
    <th scope="col" id="scUpdateQuantity">&nbsp;</th>
    <th scope="col" id="scProductsHeading"><?php echo TABLE_HEADING_PRODUCTS; ?></th>
    <th scope="col" id="scUnitHeading"></th>
    <th scope="col" id="scTotalHeading"></th>
    <th scope="col" id="scRemoveHeading">&nbsp;</th>
    </tr>
    <!-- Loop through all products /-->

    Further down, you will see the section for subtotal if you would like to remove that section. Remove the code starting with <div and ending with </div> with subtotal in between.

  4. #4
    Join Date
    Apr 2011
    Location
    South Africa
    Posts
    14
    Plugin Contributions
    0

    Default Re: Removing the totals on the order confirmation page

    Hi,

    Thanks for the reply I have tried your solution but it doesn't work it just changes the shopping cart area once you've added the item to your cart before you go to step 1 of 3 of the checkout process.

    Thanks again for your time appreciate it.

  5. #5
    Join Date
    Apr 2011
    Location
    South Africa
    Posts
    14
    Plugin Contributions
    0

    Default Re: Removing the totals on the order confirmation page

    Yay!! Solved my own problem.

    For others to benefit the way I did it was by downloading the "No Prices Template by stevesh" because i only wanted my order confirmation page's totals to be gone I only uploaded the tpl_checkout_confirmation_default.php from the add-on to the template folder inside my template.

    Then did a dummy sale on my site and Viola the totals was gone.

    Special thanks to stevesh for the contribution which saved my life now I can go ahead and get to launching this store.


    Regards,
    Jakesza

 

 

Similar Threads

  1. How do I add Order Details to the Order Confirmation page?
    By bigstore in forum General Questions
    Replies: 2
    Last Post: 28 Feb 2012, 04:25 PM
  2. v150 How do I customize the order totals section of the order confirmation email?
    By brannon125 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Feb 2012, 10:30 AM
  3. is this correct in the listing of the order modules in order totals?
    By willie bee in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 7 May 2011, 04:24 AM
  4. How do I remove the edit buttons from the order confirmation page?
    By Platinum Place in forum Basic Configuration
    Replies: 5
    Last Post: 25 Oct 2010, 04:46 PM
  5. How do I Edit Order of Order Totals in Order Confirmation Email?
    By toussi in forum Managing Customers and Orders
    Replies: 1
    Last Post: 20 Mar 2009, 08:05 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