5
A
回答
7
將&order=name
添加到您的查詢字符串中。爲了做到這一點去/app/design/frontend/{your-interface}/{your-theme}/template/catalogsearch/advanced/form.phtml
和剛剛閉幕</form>
標記前新增
<input type="hidden" name="order" value="name"/>
。
21
在你的主題(例如/app/design/frontend/{your-interface}/{your-theme}/layout/
)創建一個文件local.xml
具有以下內容:
<?xml version="1.0" encoding="UTF-8"?>
<layout>
<catalogsearch_result_index>
<reference name="search_result_list">
<action method="setDefaultDirection"><param>asc</param></action>
<action method="setSortBy"><param>name</param></action>
</reference>
</catalogsearch_result_index>
<catalogsearch_advanced_result>
<reference name="search_result_list">
<action method="setDefaultDirection"><param>asc</param></action>
<action method="setSortBy"><param>name</param></action>
</reference>
</catalogsearch_advanced_result>
</layout>
相關問題
- 1. Magento搜索結果以錯誤的順序排列
- 2. Wordpress搜索結果順序
- 3. 如何覆蓋Plone中的搜索結果排序順序
- 4. SQL搜索結果按搜索的順序排列
- 5. 排序Lucene搜索結果
- 6. Hibernate搜索結果排序
- 7. 排名/稱重搜索結果
- 8. 按字母順序排序搜索結果
- 9. 搜索結果使用Sitecore 7 ContentSearch API排序順序?
- 10. Magento的通過量篩選搜索結果順序提前
- 11. Joomla - 搜索結果頁面的順序
- 12. 更改Magento高級搜索頁面中的屬性排序
- 13. magento搜索結果以反向順序顯示
- 14. 更改magento中子類別的排序順序
- 15. 更改Magento中的新產品Widget排序順序
- 16. H2全文搜索順序結果
- 17. Windows:更改DLL的DLL搜索順序
- 18. gcc更改庫的搜索順序
- 19. Google搜索在搜索結果中按順序排列關鍵詞
- 20. SQL搜索結果排名
- 21. 搜索和排名結果
- 22. Hibernate搜索結果排名
- 23. 的MongoDB:排序文本搜索結果
- 24. Magento的排序順序
- 25. Magento 1.3.2.4 - 高級搜索結果價格排序錯誤
- 26. 更改結果中顯示的列的順序,而不更改選擇順序
- 27. Magento - 搜索結果
- 28. Magento搜索結果
- 29. 排序名稱的字母順序
- 30. 需要按排序順序排序在java中的名稱
你沒有在那裏分選方法中,選擇工具欄? – 2011-06-10 09:26:40
我掩蓋了它,我的廚師不想展示它。任何解決方案按產品名稱進行默認排序 – Bizboss 2011-06-10 15:09:21