Can someone assist with finding the code that deals with the catalogProductCreate (SOAP v2) request?

I thought I found the method here: app/code/core/Mage/Catalog/Model/Product/api.php

public function create($type, $set, $sku, $productData, $store = null)

But changing that file doesn't seem to do anything with the requests.

  • 2
    what about app\code\core\Mage\Catalog\Model\Product\Api\V2.php ? don't forget to override it in a local folder..
    – Anselme
    May 5 '15 at 15:52

As commented by @Anselme the file you are looking for is app/code/core/Mage/Catalog/Model/Product/Api/V2.php as you are using the V2 variant of the API.

In that file there's the method Mage_Catalog_Model_Product_Api_V2::create() similar to the V1 API:

public function create($type, $set, $sku, $productData, $store = null)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.