Created
January 23, 2016 08:20
-
-
Save vgrish/d43830119d6ee91ed00e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[!mFilter2? | |
&parents=`7` | |
&element=`msProducts` | |
&tpl=`_tpl.msProducts.row` | |
&filters=` | |
parent:categories | |
,ms|price:number | |
` | |
&tplFilter.outer.ms|price=`tpl.mFilter2.filter.slider` | |
&tplFilter.row.ms|price=`tpl.mFilter2.filter.number` | |
&tplOuter=`_tpl.mFilter2.outer` | |
&leftJoin=`{ | |
"440x586_0": {"class":"msProductFile", "on": "440x586_0.product_id = msProduct.id AND 440x586_0.path LIKE '%/440x586/' AND 440x586_0.rank=0"} | |
,"440x586_1": {"class":"msProductFile", "on": "440x586_1.product_id = msProduct.id AND 440x586_1.path LIKE '%/440x586/' AND 440x586_1.rank=1"} | |
}` | |
&select=`{ | |
"msProduct":"*" | |
,"440x586_0":"440x586_0.url as 440x586_0" | |
,"440x586_1":"440x586_1.url as 440x586_1" | |
}` | |
&showLog=`0` | |
]] | |
[[!+page.nav]] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment