Page 78 of 296 FirstFirst ... 2868767778798088128178 ... LastLast
Results 771 to 780 of 2956
  1. #771
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by rbarbour View Post
    Maybe I should stick to templates

    Fresh install from both GIT and ZC plugins. Can't confirm order, keep getting:

    HTML Code:
    Your order's details have changed. Please review the current values and re-submit.
    I'm guessing that you're using the ZCA Bootstrap Template ... did you create the (required) template-override file for the tpl_modules_opc_shopping_cart.php file?

  2. #772
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: One-Page Checkout [Support Thread]

    Using the combination of OPC and the bootstrap template, I can not see the Terms and Conditions checkbox

  3. #773
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Design75 View Post
    Using the combination of OPC and the bootstrap template, I can not see the Terms and Conditions checkbox
    Darn it; I thought that I'd added those Bootstrap classes to all the radio and checkbox inputs ... I apparently missed that one.

    GitHub issue created: https://github.com/lat9/one_page_checkout/issues/122

  4. #774
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I'm guessing that you're using the ZCA Bootstrap Template ... did you create the (required) template-override file for the tpl_modules_opc_shopping_cart.php file?
    Not funny Cindy

    I was altering the layout of tpl_modules_order_totals.php to try something but seems reversing the order of output throws OPC for a loop......

  5. #775
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by rbarbour View Post
    Not funny Cindy

    I was altering the layout of tpl_modules_order_totals.php to try something but seems reversing the order of output throws OPC for a loop......
    Tee-hee!

    The interoperability change that I made to OPC for the Bootstrap (and other templates that re-format the order totals) checks to see what type of "container" each title/value pair is in (div or non-div). If in a div, then the OPC changes assume that the first-child of that contain will contain the total's value; otherwise, the assumption is that the totals' values are in the second-child (the presumed 2nd <td>) within the container.

  6. #776
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    Tee-hee!

    The interoperability change that I made to OPC for the Bootstrap (and other templates that re-format the order totals) checks to see what type of "container" each title/value pair is in (div or non-div). If in a div, then the OPC changes assume that the first-child of that contain will contain the total's value; otherwise, the assumption is that the totals' values are in the second-child (the presumed 2nd <td>) within the container.
    Understood,

    My issue is: adding the (required) template-override file for the tpl_modules_opc_shopping_cart.php file works at initial visit to the page, however changing "say" the shipping method, the ajax update doesn't inherit the table styles "width", so it appears to be floating left.

  7. #777
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by rbarbour View Post
    Understood,

    My issue is: adding the (required) template-override file for the tpl_modules_opc_shopping_cart.php file works at initial visit to the page, however changing "say" the shipping method, the ajax update doesn't inherit the table styles "width", so it appears to be floating left.
    I'd noticed that, too. I think (but didn't go "deep" enough) that it's because the tpl_modules_order_totals.php update provided by the template uses a colspan="2" for the title, so the column-count (created by tpl_modules_opc_shopping_cart.php) gets out-of-sync.

  8. #778
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    I'd noticed that, too. I think (but didn't go "deep" enough) that it's because the tpl_modules_order_totals.php update provided by the template uses a colspan="2" for the title, so the column-count (created by tpl_modules_opc_shopping_cart.php) gets out-of-sync.
    I'm thinking that instead of the (required) template-override file for the tpl_modules_opc_shopping_cart.php file, adding a check to the template-override tpl_modules_order_totals.php file.

    This will allow for OPC to inherit the stock 'div' layout for use with the ZCA Bootstrap Template, I am not done with the template-overrides for the various OPC pages' formatting but you can see outcome here.

    http://www.zcadditions.com/bootstrap_pro2_tpl_demo

  9. #779
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by rbarbour View Post
    I'm thinking that instead of the (required) template-override file for the tpl_modules_opc_shopping_cart.php file, adding a check to the template-override tpl_modules_order_totals.php file.

    This will allow for OPC to inherit the stock 'div' layout for use with the ZCA Bootstrap Template, I am not done with the template-overrides for the various OPC pages' formatting but you can see outcome here.

    http://www.zcadditions.com/bootstrap_pro2_tpl_demo
    I see you talking about the template-override file for the tpl_modules_opc_shopping_cart.php multiple times, but I could not find it anywhere in the manual. Or am I missing a point here?

  10. #780
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by Design75 View Post
    I see you talking about the template-override file for the tpl_modules_opc_shopping_cart.php multiple times, but I could not find it anywhere in the manual. Or am I missing a point here?
    In the readme's Overview / Operation tab:

    v2.0.0 of One-Page Checkout has been validated with the ZCA Bootstrap Template, v1.0.4. Since that template uses a table-based layout for the order-totals' formatting, you'll need to make a template-override change to includes/templates/template_default/templates/tpl_modules_opc_shopping_cart.php, wrapping the order-totals' output with table tags:
    Code:
    if (MODULE_ORDER_TOTAL_INSTALLED) {
        $row_class = ($last_row_class == 'rowEven') ? 'rowOdd' : 'rowEven';
    //-bof-opc/bootstrap, added <table></table> since the order totals are displayed as table-rows.
    ?>     
            <tr class="<?php echo $row_class; ?>" id="cartOrderTotals">
                <td colspan="<?php echo (count($order->info['tax_groups']) > 1) ? 4 : 3; ?>" id="orderTotalDivs"><table width="100%"><?php $order_total_modules->process (); $order_total_modules->output(); ?></table></td>
            </tr>
    <?php
    //-eof-opc/bootstrap
    }

 

 

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

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