Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Trying to add a product with custom options using url -> not working, Call to a member function getSku() on a non-object
 
jberculo
Jr. Member
 
Total Posts:  9
Joined:  2009-02-09
 

Hi all,

I am trying to add a product with some custom options using a url. Other products (without options) are working, but this particular product has issues.

I use the following url:

http://mydomain.com/checkout/cart/add?product=416&options;[28]=6&options;[27]=5&options;[26]=4&options;[25]=3&options;[24]=2&options;[23]=1

It returns wit an error:

Fatal error: Call to a member function getSku() on a non-object in /var/www/html/php526/vkwebshop/app/code/core/Mage/Catalog/Model/Product/Option/Type/Select.php on line 221

Could this be related to this problem, and if so, does anyone know a solution? http://www.magentocommerce.com/boards/viewthread/37336/P45/

I am using Magento 1.3.2.4, no caching enabled.

Regards,
Joost.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top