Omar_one Posted March 31, 2016 Share Posted March 31, 2016 Hello, how i can change quantity of products to show in row to two product . .i know its show in list view but it show just products per row please see the attachment Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Omar_one Posted April 2, 2016 Author Share Posted April 2, 2016 hi, can i have 2 product on row in product list (view : list, not grid) thank you in advance BR omar as in attached file Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
dinopacha Posted April 2, 2016 Share Posted April 2, 2016 @@Omar_one When you Want to use more then 1 product as shown in your image You have to use the grid. List view is made for 1 product. Link to comment Share on other sites More sharing options...
dinopacha Posted April 2, 2016 Share Posted April 2, 2016 @@Omar_one You can change the grid layout for two images in catalog/includes/modules/product_listing.php Look for: $prod_list_contents .= '<div class="item list-group-item col-sm-4">'; Now you can change the col-sm-4 to col-sm-6 Link to comment Share on other sites More sharing options...
Omar_one Posted April 2, 2016 Author Share Posted April 2, 2016 @Mention thank you for you answer .. is it possible to change the view list layout for two images (product) beside each other?.. or changing the grid view layout for product column ? i managed to add product description in the grid view for product column. thank you BR Omar Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
dinopacha Posted April 2, 2016 Share Posted April 2, 2016 @@Omar_one Why do you want to use list view if you can have 2 images with text beside each other in grid. You can change the layout of the grid. See my other answer.. Link to comment Share on other sites More sharing options...
Omar_one Posted April 2, 2016 Author Share Posted April 2, 2016 @Mention thank you for you help :thumbsup: ,,i meant by change the layout change layout or the style inside the column, example the product image on the left not on top http://imgur.com/vqw50W4 Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
dinopacha Posted April 2, 2016 Share Posted April 2, 2016 Oh ok, You can do that all with css. Link to comment Share on other sites More sharing options...
Omar_one Posted April 2, 2016 Author Share Posted April 2, 2016 @Mention i have been looking in stylesheet.css file, i don't know if its the right place to look, i think some code in product _listing, I think in my old product _listing.php (Oscommerce 2.2) is some code for this : $colcount = 2; $list_box_contents = array(); for ($t = 0; $t < $colcount; $t++) for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { do you think this would help? thank you Omar Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.