最好能够随机排序,避免同类产品显示过于单一。
内置了哪些排序方式
- Sort by Position
- Sort by Product Name
Sort by Position 是什么意思
Sort by Position 是指按照产品在 Magento 后台的排序位置来排列产品。这个位置可以在每个产品的编辑页面中设置。
In Magento 2, the “Sort by Position” feature allows store administrators to control the display order of products within a category. This is particularly useful for highlighting featured products or organizing items in a specific sequence to enhance user experience.
在 Magento 2 中,“Sort by Position” 功能允许商店管理员控制产品在类别中的显示顺序。这对于突出显示特色产品或以特定顺序组织项目以增强用户体验非常有用。
手动修改 position 值
后台 Catalog > categories
找到不同分类下的 Products in Category, 修改里面的 Position 值即可,值越小,位置越靠前。
通过程序批量修改
TODO
参考
- https://www.magetop.com/blog/how-to-set-up-sort-by-position-in-magento-2/ 设置方法,参考这个文档
微信关注我哦 👍
我是来自山东烟台的一名开发者,有感兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式