开发者

Magento inheriting category settings

开发者 https://www.devze.com 2022-12-08 07:52 出处:网络
Is it somehow possible when i ad开发者_高级运维d a category in my magento store, it inherits the settings of the parent category?

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

精彩评论

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