0
votes

i'm trying to get products custom options list using magento API SOAP v1.

I have two magento store, 1.8 and 1.5 On my 1.8 store, everything working normal. But when i try to magento 1.5 product custom option cannot be displayed.

Error : Ivalid api path.

I use the same code, only changed for apiuser and apikey.

My code based on this link : http://www.magentocommerce.com/api/soap/catalog/catalogProductCustomOption/product_custom_option.list.html

How can fix i this? Thanks

2

2 Answers

0
votes

In your magento 1.5 version the product_custom_option is not available on xml Layout.

0
votes

Solved.

All i do is copying/overwriting file from 1.8 to 1.5.

Overwite app\code\core\Mage\Catalog\etc\api.xml and app\code\core\Mage\Catalog\etc\wsdl.xml v1.5 with v1.8 And add to v1.5 app\code\core\Mage\Catalog\Model\Product\Option\Api.php

The easiest way to do this by upgrading magento version.

Hope this help