当我在Magento1.9.x.x中添加或编辑目录时,我得到了以下信息:“一个或多个缓存类型无效: Layouts。单击此处可转到Cache Management并刷新缓存类型。”
发布于 2015-11-06 12:51:02
这是默认的Magento行为。您可以使用“catalog_product_edit_action”这样的观察者事件,并在观察者模型方法中使用这一行代码:
Mage::app()->getCacheInstance()->cleanType('block_html');
return $this;https://stackoverflow.com/questions/33566355
复制相似问题