Jump to content

Сортировка выпадающим списком

Recommended Posts

prevratnik , вам же ответили - меняете на селект

{* Сортировка *}{if $products|count>0}<div class="sort">Сортировать по: 		<select onchange="location = this.value;">		<option value="{url sort=position page=null}"{if $sort=='position'} selected{/if}>Умолчанию</option>		<option value="{url sort=price page=null}"{if $sort=='price'} selected{/if}>Цене</option>		<option value="{url sort=name page=null}"{if $sort=='name'} selected{/if}>Имени</option>		</select></div>{/if}
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...