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. Wordpress搜索结果顺序
- 2. 如何覆盖Plone中的搜索结果排序顺序
- 3. 排序Lucene搜索结果
- 4. Hibernate搜索结果排序
- 5. Joomla - 搜索结果页面的顺序
- 6. 更改Magento高级搜索页面中的属性排序
- 7. magento搜索结果以反向顺序显示
- 8. 更改magento中子类别的排序顺序
- 9. 更改Magento中的新产品Widget排序顺序
- 10. SQL搜索结果排名
- 11. Hibernate搜索结果排名
- 12. 搜索和排名结果
- 13. Windows:更改DLL的DLL搜索顺序
- 14. 的MongoDB:排序文本搜索结果
- 15. 更改Magento子类别的排序顺序
- 16. 需要按排序顺序排序在java中的名称
- 17. 搜索查看结果和排序列
- 18. 排序列表,搜索结果等
- 19. 按meta_key排序搜索结果
- 20. wordpress按日期排序搜索结果
- 21. 排序geonear搜索结果与mongoid
- 22. NPM搜索结果排序异常
- 23. 排序数据库结果后搜索
- 24. Searchlogic不能排序搜索结果
- 25. 排序MySQL搜索结果返回后
- 26. 的应用程序名称的iTunes搜索结果
- 27. Sitecore Lucene.net仅搜索“商品名称”并按排序排序
- 28. PostgreSQL的:按名称顺序多层次结构后排序
- 29. 排序错误Magento从字母顺序更改为数字排序
- 30. 按两个顺序排序SQL结果
你没有在那里分选方法中,选择工具栏? – 2011-06-10 09:26:40
我掩盖了它,我的厨师不想展示它。任何解决方案按产品名称进行默认排序 – Bizboss 2011-06-10 15:09:21