Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Grid / List not working


Recommended Posts

@@burt or anyone who can assist.

 

When clicking on grid/list view buttons, the visitor is returned to the index page. This store has been modded but not sure if any tweaking has been done to product listing module.

 

Please advise of what I need to check. Thanks for reading.

Link to comment
Share on other sites

  • 2 weeks later...

@@burt or anyone who can assist.

 

When clicking on grid/list view buttons, the visitor is returned to the index page. This store has been modded but not sure if any tweaking has been done to product listing module.

 

Please advise of what I need to check. Thanks for reading.

@@discxpress

 

You are missing, or have removed

<script src="ext/jquery/jquery-1.11.1.min.js"></script>

from template top, try putting it back, and see if the grid list function works then.

Link to comment
Share on other sites

  • 2 years later...

Just a note for others who may have this issue at some point.

I had 

<?php echo $oscTemplate->getBlocks('footer_scripts'); ?>

missing from template_bottom.php

Not sure why but that fixed it for me, the joy of having used GIT when developing helped me find the difference

Link to comment
Share on other sites

The most likely reason that fixed it for you, is that the script is set to be called in footer_scripts.  The other option is for it to be called in header, but it's better to delay any script you can to footer.  Some scripts need to be in header though, or the page doesn't load correctly.

I'm not really a dog.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...