ehappylucky05 Posted July 30, 2013 Share Posted July 30, 2013 (edited) Can someone tell me why there are 2 empty boxes that are missing on the third row of this page? http://www.hootiebrown.com/shopping/index.php?id_category=4&controller=category On page 2, and page 3, the last 2 boxes are empty, how come? http://www.hootiebrown.com/shopping/index.php?id_category=4&controller=category&p=2 http://www.hootiebrown.com/shopping/index.php?id_category=4&controller=category&p=3 I tried to delete, and re-add the products, still getting the same result. Please help Edited July 30, 2013 by ehappylucky05 (see edit history) Link to comment Share on other sites More sharing options...
Lu thranga Posted July 31, 2013 Share Posted July 31, 2013 (edited) Maybe you did not uploaded the product image or something set wrong in preferences > images (default image size different from your theme image size) Maybe regenerate thumbnails / clear smarty cache This is good page to read > http://www.prestasho...nt-want-commit/ Edited July 31, 2013 by thranga (see edit history) Link to comment Share on other sites More sharing options...
ehappylucky05 Posted July 31, 2013 Author Share Posted July 31, 2013 Maybe you did not uploaded the product image or something set wrong in preferences > images (default image size different from your theme image size) Maybe regenerate thumbnails / clear smarty cache This is good page to read > http://www.prestasho...nt-want-commit/ Thranga, Thanks for your message. I am pretty sure all the images are same size. I am new to this, so I have few more questions, hope you can help me with this: 1. how to check default image size and how to check theme image size? 2. How to regenerate thumbnails? 3. How to clear smarty cache? Link to comment Share on other sites More sharing options...
vekia Posted July 31, 2013 Share Posted July 31, 2013 1. go to the preferences > images (you've got there list of all defined images in your store - with information about size) 2. the same tab, scroll page down - you've got there "regenerate thumbnails" form where you have to select image type to "regenerate" 3. Open Prestashop admin panel and go to Advanced Parameters > Performance Set Force compile to Yes and save changes. Go to your front-office and refresh the store page. or For manual cache clear you need to access your Prestashop installation directory and delete the content of the following folders: cache/smarty/compile cache/smarty/cache img/tmp Link to comment Share on other sites More sharing options...
ehappylucky05 Posted July 31, 2013 Author Share Posted July 31, 2013 1. go to the preferences > images (you've got there list of all defined images in your store - with information about size) 2. the same tab, scroll page down - you've got there "regenerate thumbnails" form where you have to select image type to "regenerate" 3.Open Prestashop admin panel and go to Advanced Parameters > Performance Set Force compile to Yes and save changes. Go to your front-office and refresh the store page. or For manual cache clear you need to access your Prestashop installation directory and delete the content of the following folders: cache/smarty/compile cache/smarty/cache img/tmp vekia, Thanks for your help. I did what you said, and here is one more problem: 1. The last 2 boxes on the last row still empty when you are displaying 10 items per page (and the last box on the last row is empty when you display 20 items per page), do you know why? and how to fix this? Link to comment Share on other sites More sharing options...
vekia Posted July 31, 2013 Share Posted July 31, 2013 preferences > products what is your value of products per page? Link to comment Share on other sites More sharing options...
ehappylucky05 Posted July 31, 2013 Author Share Posted July 31, 2013 preferences > products what is your value of products per page? preferences > products what is your value of products per page? Vekia, I see what you meant. I understand now. Thanks. Link to comment Share on other sites More sharing options...
vekia Posted July 31, 2013 Share Posted July 31, 2013 let me know if this will work (when you change the product per page vallue) im curious Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 31, 2013 Share Posted July 31, 2013 It is still showing up as 10 products per page, even with 20 products per page I would think that there would still be a few empty spaces. Maybe 24 would fill up the whole page. Link to comment Share on other sites More sharing options...
stottycabanas Posted July 31, 2013 Share Posted July 31, 2013 I may be missing the point, but there is a drop down on your site where you can choose the number of products per page to display - 10, 20 or 50. This dropdown choice looks like it overrides the back office setting. You have 33 products, and you display 3 per row. So if you choose 10 per page, the first 3 pages will have 3 rows of 3 products followed by 1 row of 1 product. The fourth page will have 1 row with 3 products. If you choose 20, you get 1 page with 6 rows of 3 and 1 row of 2 and a second page with 4 rows of 3 and 1 row of 1. If you choose 50, you get 1 page with 11 rows of 3. This is what I would expect, so I'm unclear as to what the problem is. Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 31, 2013 Share Posted July 31, 2013 I think he is asking that the default view of his products show no Empty spaces or boxes. Link to comment Share on other sites More sharing options...
stottycabanas Posted July 31, 2013 Share Posted July 31, 2013 Ah - in which case the values in the drop down will need to be numbers divisible by 3 (not sure where you would do that), and it would be worth changing the back office value to 9 or 12, say. Alternatively re-jig things so that 5 products per line are displayed instead of 3. Link to comment Share on other sites More sharing options...
vekia Posted July 31, 2013 Share Posted July 31, 2013 that's right, but drop down only modify the view, in this case it is also necesary to change the value of nb of products per page in BO + 834 line in the classes/controller/frontcontroller.php there is something like: $nArray = (int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10 ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 10, 20, 50) : array(10, 20, 50); and this is the definition of the dropdown, just change these values Link to comment Share on other sites More sharing options...
Recommended Posts