Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Mar 2018
    Location
    Cornwall
    Posts
    26
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    This OPC is just the thing EXCEPT!!
    I dont want the price elements on the product listing - no problem doing that but the
    " Total: £0.00" which is now appearing below is messy.
    I just cant seem to get rid of it without killing the "Confirm order" link

    So the code bit that is relevant in tpl_modules_opc_shopping_cart.php is

    // end for loopthru all products

    if (MODULE_ORDER_TOTAL_INSTALLED) {
    $row_class = ($last_row_class == 'rowEven') ? 'rowOdd' : 'rowEven';
    ?>
    <tr class="<?php echo $row_class; ?>" id="cartOrderTotals">

    <td colspan="<?php echo (count ($order->info['tax_groups']) > 1) ? 4 : 3; ?>" id="orderTotalDivs"><?php $order_total_modules->process (); $order_total_modules->output (); ?></td>
    </tr>
    <?php
    }
    ?>
    </table>
    </fieldset>
    </div>
    <div class="clearBoth"></div>
    <!--eof shopping-cart block --
    >
    [/I]

    The above works fine apart from the unwanted line.

    Then if I delete for instance " $order_total_modules->process (); "
    then the "Total" line disappears BUT the Confirm Order link doesnt work
    Am I looking in the wrong place or am I misunderstanding the logic ?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @shayne, I'm not clear on what you are attempting to do. Are you trying to remove the individual product pricing from the "shopping-cart" table's display or are you just trying to "not display" the overall order's total value?

  3. #3
    Join Date
    Mar 2018
    Location
    Cornwall
    Posts
    26
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I have removed the table pricing I just am left with the Table total which I want to remove.
    Attached Images Attached Images  

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    @shane, you can update your /includes/templates/YOUR_TEMPLATE/css/checkout_one.css to "hide" that output. Since you've been making changes there, without a link to the site (you can send via PM, if you choose), I can't be more specific.

  5. #5
    Join Date
    Mar 2018
    Location
    Cornwall
    Posts
    26
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Thank you very much for that . I think that gets me what I need. I am soooooo old that I cant get used to using this "newfangled" CSS stuff! It takes more than decades for me to acclimatise!

    But before I actually apply it I am adding in my "delivery datepicker cludge" so I am just putting aside smaller matters until I see what I break with that - since i will need to insert a Delivery Date Note somewhere in the same area.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Sorry about misspelling your name/moniker, @shayne! FWIW, I've found the https://www.w3schools.com site a great help for any CSS or HTML (and now jQuery) questions.

    Once you "get rolling with it", I think you'll find that CSS is a fairly well laid-out 'language'!

  7. #7
    Join Date
    Mar 2018
    Location
    Cornwall
    Posts
    26
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Well not CSS at all - I forgot that OPC uses template_default a lot.
    Removed most of tpl_modules_order_totals.php from there - fixed my issue !
    But thanks for your interest - may I explain that I retired long long ago just as CSS was starting to appear so never really bothered with it.
    I may be the only guy left whose first experience of a program crash meant I had dropped the tray holding the punched cards !

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 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