Jump to content

Add a list or grid view option


Recommended Posts

Hi ,

I am looking to add an option to the product list .

What i want is to be able to choose different views for the products , next to the sort by i want a button to say Grid view or List view so the customer has the option of how they can view my products


If you guys can help please :)

Link to comment
Share on other sites

  • 2 weeks later...

Iv tried adding jquery to the product-list page.ive added the 2 necessary buttons,and it works..It switches the view correctly.
but the thing is that,i lose the view when i change page on the pagination.

I guess thats not the correct way to do it then..

no one ever needed that function? :S

Link to comment
Share on other sites

Its the product-list.tpl that displays information about the products..

Can i know from where the information comes from?

i mean,from which php page?

I tried looking outside the theme directory to find product.php or something.
only to find this : require(dirname(__FILE__).'/config/config.inc.php');
ControllerFactory::getController('ProductController')->run();

Link to comment
Share on other sites

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...