Jump to content
solucionsweb

Force list view in product list

Recommended Posts

I would like the default view of the product list to be the list view, I have found a very rudimentary solution by adding in the custom js

$ (document) .ready (function () {
$ ('# list'). trigger ("click");
});

But it is not a satisfactory solution, since, since the page does not load the page again, it does not make the list, someone knows that part of the code in a 1.7.5.2 prestashop that uses a template that is not the default must be modified to that the default view is the list view?

Thank you

Share this post


Link to post
Share on other sites

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More