Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试自定义 Magento 中的评论模块。
目标是
1.将一些社交小部件,如facebook like、twitter、google plus、pinterest 等放在评论中。所以客户可以在他们的社交媒体账户上分享他们的评论。
2.过滤掉评论中不恰当的词。
3.自动批准评论。
覆盖核心审查模块或在magento中创建观察者更好吗?
最好有一个观察者(当然,如果可能的话)。这样,您就有更高的机会在未来的升级中进行所有工作。它还降低了扩展冲突的可能性。这是在 Magento 中尝试更改某些内容时应牢记的顺序。
local