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