Magento create category with soap v2

后端 未结 1 1468
囚心锁ツ
囚心锁ツ 2021-02-11 00:37

I want to crate categories in Magento with a webservice request (soap v2). I use Magento 1.4.2.0 and as I said the v2 of magentos soap api.

If I send the request I get t

相关标签:
1条回答
  • 2021-02-11 01:14

    You have 4 ways.

    First - Change app/code/core/Mage/Catalog/etc/wsdl.xml after line 188 add

    <element name="include_in_menu" type="xsd:int" minOccurs="0" />
    

    Second - Change logic of Api Model app/code/core/Mage/Catalog/Model/Category/Api/V2.php in code add this attribute to the new object.

    Third - Report bug to the magento and wait until it resolved (near 1-2 month)

    Fourth - And least create you extension where you just override app/code/core/Mage/Catalog/etc/wsdl.xml add your paramters to the WSDL file, change API model in your extensions for additional parameters.

    My proposal use 4th way.

    0 讨论(0)
提交回复
热议问题