duanhongxian6982 2013-08-24 17:49
浏览 35
已采纳

Magento中Mage_Catalog_Model_Product的函数getDownloadableData和setDownloadableData在哪里实现

I want to modify the Downloadable Information / Links of a product programmability.

I am able to create a downloadable product. But I can't find how to edit the links.

I think the fonction setDownloadableData / getDownloadableData could help me.

But, i can't find them in the Magento source (1.7.0.2).

with

grep -r "setDownloadableData" magento/*

I can only see the call to the function. Not the implementation. ...

    /magento/app/code/core/Mage/Downloadable/Model/Link/Api.php
$product->setDownloadableData($downloadable);
    /magento/app/code/core/Mage/Downloadable/Model/Observer.php
$product->setDownloadableData($downloadable);
  • 写回答

2条回答 默认 最新

  • douyi5157 2013-08-24 20:16
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥50 power BI 从Mysql服务器导入数据,但连接进去后显示表无数据