Love this plugin for iPads! however.....
In come cases "CheckBoxTextBoxIcon06V1.0.0" (CBTBI) and "column_layout_grid_2_3_1" (CLG) don't play well together.
I suspect it may a simple matter of layout formatting.
On a clean test install (default classic template) of CLG merged with CBTBI everything is cool until you enable Display Cart Quantity and/or the add to cart/remove from cart buttons.
I could not determine what part (if any) of the code in tpl_modules_product_listing(dot)php controls the layout of that portion of the new code in CBTBI.
Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product; 3=on with Adj per Product)
3
Display Multiple Products Qty Box Status and Set Button Location 0
Display Check Box and Text Box for Checkout 0
Display Check Box for Checkout 0
Display Cart Quantity (0 - None, 1 - Greater than 0, 2 - Always)
(1 or 2)
Display Product Description 150
Product Listing - Layout Style columns
Product Listing - Columns Per Row 4
Product Listing - Layout Style - Customer Control 0
Product Listing - Show Sorter for Columns Layout 0
The product to the right of the product you enable with the above mentioned features (And any following products) get shoved down the page
If you change the file tpl_modules_product_listing(dot)php provided by CGL back to the original (classic) tpl_modules_product_listing(dot)php the layout is correct.
What happens when you use the original tpl_modules_product_listing(dot)php file is the system picks up the tabular (Tables version) form of the layout and therefore there are no div's to deal with.
However it still does the column layout which puzzles me.
Attachment 13654
This is the additional code in the tpl_modules_product_listing(dot)php file by CGL to load the columnar layout.
<?php
/**
* load the list_box_content template to display the products
*/
if ($product_listing_layout_style == 'columns') {
if (PRODUCT_LISTING_GRID_SORT) {
echo "\n" . '<div id="gridSorter">' . PRODUCT_LISTING_GRID_SORT_TEXT . '<ul>';
for ($col=0;$col<sizeof($grid_sort);$col++) {
if ($grid_sort[$col]['text']) echo '<li class="item">' . $grid_sort[$col]['text'] . '</li>';
}
echo '</ul></div>' . "\n";
}
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
} else {// (PRODUCT_LISTING_LAYOUT_STYLE == 'rows')
require($template->get_template_dir('tpl_tabular_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_tabular_display.php');
}
?>
Bookmarks