开发者

Magento inheriting category settings

Is it somehow possible when i ad开发者_高级运维d a category in my magento store, it inherits the settings of the parent category?

// Roland


By default, no. However, you could probably write a module relatively easy which would observe an event (probably called catalog_category_before_save) and it would copy the data from the parent category before saving it. Some properties obviously must be unique so you'd have to predetermine which ones you want to copy.

See this wiki article for how to create modules that observe events: Event-Observer Method
See this pdf for a list of events: Magento Events Cheat Sheet

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜