Skip to main content
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
Source Link

i want do this How do I change the default value of the "position" category attribute?How do I change the default value of the "position" category attribute? But i noob in magento, i try search in google how do it, but in all guides standart models stay in Mage folder, but my model in vendor

mag.ru\vendor\magento\module-catalog\Model\ResourceModel\Product.php

need rewrite this method _saveCategories

what i need write into config.xml and what name in MyModule folder i need create?

P.S. sry for bad eng

i want do this How do I change the default value of the "position" category attribute? But i noob in magento, i try search in google how do it, but in all guides standart models stay in Mage folder, but my model in vendor

mag.ru\vendor\magento\module-catalog\Model\ResourceModel\Product.php

need rewrite this method _saveCategories

what i need write into config.xml and what name in MyModule folder i need create?

P.S. sry for bad eng

i want do this How do I change the default value of the "position" category attribute? But i noob in magento, i try search in google how do it, but in all guides standart models stay in Mage folder, but my model in vendor

mag.ru\vendor\magento\module-catalog\Model\ResourceModel\Product.php

need rewrite this method _saveCategories

what i need write into config.xml and what name in MyModule folder i need create?

P.S. sry for bad eng

Source Link

Rewrite model from vendor

i want do this How do I change the default value of the "position" category attribute? But i noob in magento, i try search in google how do it, but in all guides standart models stay in Mage folder, but my model in vendor

mag.ru\vendor\magento\module-catalog\Model\ResourceModel\Product.php

need rewrite this method _saveCategories

what i need write into config.xml and what name in MyModule folder i need create?

P.S. sry for bad eng