Using the combination of OPC and the bootstrap template, I can not see the Terms and Conditions checkbox
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
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
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.
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
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
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 }
Bookmarks