想在商品分类页面上增加产品属性搜索,类似价格区间。需要在哪里调整。
这个需要使用mongodb存储,mysql存储产品不支持
添加分类的属性过滤,参看:http://www.fecmall.com/doc/fecshop-guide/instructions/cn-2.0/guide-fecmall_admin_category.html (需要mongodb存储)
如果添加产品属性,参看:http://www.fecmall.com/doc/fecshop-guide/instructions/cn-2.0/guide-fecmall_admin_product_attribute_group.html
其他:http://www.fecmall.com/doc/fecshop-guide/develop/cn-2.0/guide-fecshop-2-use-mongo.html
mongodb数据库初始化 ./yii mongodb-migrate --interactive=0 --migrationPath=@fecshop/migrations/mongodb 遇到这个问题
http://www.fecmall.com/doc/fecshop-guide/develop/cn-2.0/guide-fecshop-2-use-mongo.html
之前升级有报错,重新弄之后可以了
MongoDB中商品id是如何编码的呢
@gumee #5楼 id是mongodb的id,是类似于md5的字符串序列,和mysql是不同的,您自己研究一下吧