alessandrops Posted May 9, 2019 Share Posted May 9, 2019 Hi, Prestashop 1.7.5.2 Theme: Mega Trone Tools In product listing using grid view it shows 3 item per row, is it possible to switch to 4? Here it is my product-list.tpl: https://pastebin.com/MJQhFAix Best regards, ekaribu Link to comment Share on other sites More sharing options...
CedCommerce Team Posted May 9, 2019 Share Posted May 9, 2019 48 minutes ago, ekaribu said: Hi, Prestashop 1.7.5.2 Theme: Mega Trone Tools In product listing using grid view it shows 3 item per row, is it possible to switch to 4? Here it is my product-list.tpl: https://pastebin.com/MJQhFAix Best regards, ekaribu Hi, Can you check in this file catalog/_partials/products.tpl. 1 Link to comment Share on other sites More sharing options...
alessandrops Posted May 9, 2019 Author Share Posted May 9, 2019 (edited) 24 minutes ago, CedCommerce Team said: Hi, Can you check in this file catalog/_partials/products.tpl. Here it is: https://pastebin.com/T7DMGMmh This is pagination.tpl: https://pastebin.com/6TMzQWfE ekaribu Edited May 9, 2019 by ekaribu (see edit history) Link to comment Share on other sites More sharing options...
CedCommerce Team Posted May 9, 2019 Share Posted May 9, 2019 1 hour ago, ekaribu said: Here it is: https://pastebin.com/T7DMGMmh This is pagination.tpl: https://pastebin.com/6TMzQWfE cid There is nothing in these files too .may be theme developer has some settings to set count of product in a list. You can contact theme developer or contact us we will do that Link to comment Share on other sites More sharing options...
joseantgv Posted May 9, 2019 Share Posted May 9, 2019 Could you paste your store URL? Link to comment Share on other sites More sharing options...
alessandrops Posted May 9, 2019 Author Share Posted May 9, 2019 1 hour ago, joseantgv said: Could you paste your store URL? Sure, that's www.ekaribu.com Link to comment Share on other sites More sharing options...
joseantgv Posted May 9, 2019 Share Posted May 9, 2019 1 hour ago, ekaribu said: Sure, that's www.ekaribu.com It's in maintenance Link to comment Share on other sites More sharing options...
alessandrops Posted May 9, 2019 Author Share Posted May 9, 2019 1 minute ago, joseantgv said: It's in maintenance Try now Link to comment Share on other sites More sharing options...
joseantgv Posted May 10, 2019 Share Posted May 10, 2019 Could you paste file catalog/_partials/miniatures/product.tpl? Link to comment Share on other sites More sharing options...
alessandrops Posted May 10, 2019 Author Share Posted May 10, 2019 Here it is: https://pastebin.com/BxdkBbxN Path is: themes/PRS01/templates/catalog/_partials/miniatures/product.tpl cid Link to comment Share on other sites More sharing options...
joseantgv Posted May 10, 2019 Share Posted May 10, 2019 Source code prints <article class="product-miniature js-product-miniature col-sm-4" data-id-product="633" data-id-product-attribute="0" itemscope itemtype="http://schema.org/Product"> but DOM is modified at script /themes/PRS01/assets/js/custom.js to <article class="product-miniature js-product-miniature product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12" data-id-product="633" data-id-product-attribute="0" itemscope="" itemtype="http://schema.org/Product"> var cols_count = $('#right-column, #left-column').length; if (cols_count == 2) { $('#content .products .product-miniature, #content-wrapper .products .product-miniature').attr('class', 'product-miniature js-product-miniature product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12'); } else if (cols_count == 1) { $('#content .products .product-miniature, #content-wrapper .products .product-miniature').attr('class', 'product-miniature js-product-miniature product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12'); } else { $('#content .products .product-miniature, #content-wrapper .products .product-miniature').attr('class', 'product-miniature js-product-miniature product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12'); } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now