Saturday, April 7, 2012
Friday, April 6, 2012
Thursday, April 5, 2012
Monday, March 26, 2012
Sunday, March 25, 2012
Saturday, March 24, 2012
second database connection in Yii
/opt/lampp/htdocs/projectmanager/protected/config/main.php
now to use the second database conenction.. we'll put a function inside the controller
/opt/lampp/htdocs/projectmanager/protected/compents/Controller.php
inside the Controller class
class Controller extends CController
public function init()
{
$this->writeToLog('Object Initialization');
}
Friday, March 16, 2012
Magento Bulk Update Product Description MySQL
should be the same :)
check....
SELECT * FROM `magento_eav_attribute` where attribute_id = 66
btw i am using Magento Community Edition 1.6.2
UPDATE `magento_catalog_product_entity_text`
SET value = 'this guide only and not necessarily of the
exact size and may differ in features.'
WHERE attribute_id =66
Thursday, March 15, 2012
Magento get Product SKU and custom attributes in Product View
Template File: A:\xampp\htdocs\gs\app\design\frontend\default\grayscale\template\catalog\product\view\attributes.phtml
what i have done is in the Product View
i am only showing attributes not equal to 'NO' or greater than zero
and added $_product->getData('range'); to get the custom attributes
and $_product->getSku('sku'); to get the sku value
refer the code file app\code\core\Mage\Catalog\Model\Product.php there are more functions you can use there
Subscribe to:
Posts (Atom)


