Skip to content

Instantly share code, notes, and snippets.

@pakimov
Last active January 6, 2017 11:13
Show Gist options
  • Save pakimov/a675c47b829cb04c6105d06590aa7eff to your computer and use it in GitHub Desktop.
Save pakimov/a675c47b829cb04c6105d06590aa7eff to your computer and use it in GitHub Desktop.
[[!mFilter2?
&class=`msProduct`
&element=`msProducts`
&parents=`[[*id]]`
&filters=`
ms|price:number,
ms|vendor:vendors,
msoption|color,
msoption|size,
ms|popular:boolean,
ms|old_price:boolean,
parent:categories,
createdon:year
`
&tplOuter=`tpl.mFilter.uk.outer`
&includeMSList=`price,new,favorite,popular,size,color`
&sortFilters=`ms_new,ms_favorite,ms_popular,ms_size,ms_color,ms_price`
&tpls=`tpl.msProducts.acme.row,tpl.msProducts.acme.blok`
&tplFilter.outer.ms|price=`tpl.mFilter2.filter.slider`
&tplFilter.row.ms|price=`tpl.mFilter2.filter.number`
&tplPageWrapper=`@INLINE <div class="pagination uk-margin-top"><ul class="uk-pagination">[[+prev]][[+pages]][[+next]]</ul></div>`
&tplPageActive=`@INLINE <li class="uk-active"><span>[[+pageNo]]</span></li>`
&tplPagePrevEmpty=`@INLINE <li class="uk-disabled"><span>&laquo;</span></li>`
&tplPageNextEmpty=`@INLINE <li class="uk-disabled"><span>&raquo;</span></li>`
&tplPageFirstEmpty=`@INLINE <li class="uk-disabled"><span>Первая</span></li>`
&tplPageLastEmpty=`@INLINE <li class="uk-disabled"><span>Последняя</span></li>`
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment