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

downloadable product-please specify product link(s)
 
metalMilita
Member
 
Total Posts:  53
Joined:  2008-11-03
sweden
 

hey!!

I upgraded my magento from ver 1.0.19870.6 to 1.2.1.1.And upgraded my design templates by http://www.magentocommerce.com/wiki/upgrading_magento_themes_for_the_latest_releases this wiki file.

So I copy new files from magento template to my template(ex.bundle,downloadable).

And my problem is while adding downloadable product to shopping cart.I get ‘please specfy product link(s)’ message and it isn’t added.
I really dont know why.Do I need to configure some xml files for downloadable product type?? Or something else to do??
Please help…

 
Magento Community Magento Community
Magento Community
Magento Community
 
metalMilita
Member
 
Total Posts:  53
Joined:  2008-11-03
sweden
 

No one have any idea :(
Please help I have to use my own template.Please show me a way to upgrade it and to add downloadable product attribute…
Please..

 
Magento Community Magento Community
Magento Community
Magento Community
 
josephthieryorg
Jr. Member
 
Total Posts:  5
Joined:  2010-10-06
 

Hi, I bumped in the same problem. I found one topic where they give that solution

According to this thread: http://www.magentocommerce.com/bug-tracking/issue?issue=10864

The solutions which worked for us is the following:

In magento_root/app/code/core/mege/downloadable/model/product/type.php

First backup the original copy, then, open that file and go to line 326, or look to: Check if product can be bought, then replace that chapter with the following:

/**
* Check if product can be bought
*
* @param Mage_Catalog_Model_Product $product
* @return Mage_Bundle_Model_Product_Type
* @throws Mage_Core_Exception
*/
public function checkProductBuyState($product = null)
{
parent::checkProductBuyState($product);
$product = $this->getProduct($product);
$option = $product->getCustomOption(’info_buyRequest’);
if ($option instanceof Mage_Sales_Model_Quote_Item_Option) {
$buyRequest = new Varien_Object(unserialize($option->getValue()));
if (!$buyRequest->hasLinks() && $this->getProduct($product)->getLinksPurchasedSeparately()) {
Mage::throwException(
Mage::helper(’downloadable’)->__(’Please specify product link(s).’)
);
}
}
return $this;
}

Save, restart your http, or reboot your server, then enjoy!

It’s worked for us in v.1.5 in downloadable, configurable, and downloadable/configurable products.

Regards,

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