Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/sbboke.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:409) in /www/wwwroot/sbboke.com/wp-content/themes/pacify/content-single.php on line 5

magento 添加产品FAQ(上)

最近有个需求,要在产品页添加FAQ,要求每个产品添加该产品的FAQ。对于该需求,我打算利用magento的产品属性( Attributes )来实现该功能

先看看我实现后的效果吧,下面是前台显示:

下面是后台产品编辑页显示:

下面直接开干

第一步,创建属性,位置
Catalog -> Attributes -> Attributes

第二步,先创建属性组, 然后把创建完的属性归类到属性组下,可通过在属性组页面里,从右边拖拉到左边属性组里 位置
Catalog -> Attributes -> Manage Attribute Sets

以上操作完成后,刷新索引和缓存,就可以在产品编辑里看到FAQ的选项和内容了

相关文章

0 0 投票数
文章评分
订阅评论
提醒
0 评论
内联反馈
查看所有评论