
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
首先在你自定义的Bloc创建Adminhtml
获取产品的指定属性集合$attribute = Mage::getModel('eav/config')->getAttribute('catalog_product', 'color');获取产品属性当前的值(用于获取前台)$type=$attribute->getFrontend()->getValue($_product);
以退货之后发送邮件给客服,
使用colleciton->getSelectSql()输出运行的SQL语句$collection = Mage::getModel('catalog/category')->getCollection();echo $collection->getSelectSql(true);$collection->getSelectSql()->__toString();magento获取
一般会在local.xml下:1、新增链接My AccountMy Account10Log InLog In100Log OutLog Out100wishlist_link2、自定义链接<!-- Add custom links. Pre
Many users encounter some weird Magento 500 Internal Server Errors (Error type 500). I will try to list the most common solutions. These errors are not always caused by the same reason. You should try
1、magento格式化价格$formattedPrice = Mage::helper('core')->currency($finalPrice, true, false);2、magento 获取stockqtyMage::getModel('cataloginventory/stock_item')->loadByProduct($simple)->getQty();3、get
SymptomsBlank page or white screen is shown in Magento Frontend, Backend or Magento Connect Manager. CauseIf you see a blank page / white screen opening your Store in browser, it indicatesthat
1、Get Base URL Mage::getBaseUrl() => Get base url path e.g. http://yourwebsite.com/Mage::getBaseUrl('media') => Get MEDIA folder path e.g. http://yourwebsite.com/media/Mage::getBaseUrl('js') => Ge
当订单的状态为complete 的时候,我们想去处理一些事情,可以通过observer来实现,使用"sales_order_save_commit_after" or "sales_order_invoice_pay" observer然后我们可以获取订单的状态(order status),根据订单的状态去实现你的需求,例子如下:config.xml中配置// for event sa







