please visit link1 , in listing page 4 images are displaying.

enter image description here

we needed "pre-order" feature [ user can buy out-of-stock Products ]

so we wrote custom module , after listing page looks like link2

enter image description here

module-list.phtml is overriding theme-list.phtml

we want to re-override module-list.phtml by the theme list.phtml

i can delete module-list.phtml , but after that list.phtml will not visible


there is some problem with links when visit 1st time. please copy below url in browser tabs urls :


  • 1
    when visit your link it shows 404 for first time. second time same link shows page properly. can you please explain your question more in details. – Ashish Madankar M2 Professiona May 6 '16 at 6:49
  • what is the value you set system->configuration->catalog->catalog->frontend->Products per Page on Grid Default Value – Magento 2 May 6 '16 at 10:55
  • @Kothari we set "4" as value. – Baby in Magento May 6 '16 at 10:57
  • In your phtml change this <?php $_columnCount = $this->getColumnCount(); ?> into <?php $_columnCount = 4; ?> – Magento 2 May 6 '16 at 11:01
  • @Kothari it didt worked for me – Baby in Magento May 6 '16 at 11:06

in your .phtml try this

In your phtml change this <?php $_columnCount = $this->getColumnCount(); ?> into <?php $_columnCount = 4; ?>

also adjust your css based on width

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.