Jump to content

Blocklayered default checkbox active


crbwi

Recommended Posts

Hello, see if you can help me

I have the module active blocklayered in 1.4 ps and I have some filters, but I need one in particular  clicked by default, in this case is Stock checkbox.

 

The only way I've found is a script that runs from Categories.tpl that is:

<script> $ (document). ready (function () {
$ ('# layered_quantity_1'). click ();
});
</ script>

 
I took it out the next post for version 1.5 ps


http://www.prestashop.com/forums/topic/249140-blocklayered-default-filter/?do=findComment&comment=1237376

 
Logically it should work, but the problem is that the X appears in the checkbox but does not update  javascript thus does indeed have to unclick and Reclick
 

Someone? Know how could I?

 

regards

 

excuse me my bad English

Link to comment
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...