If you are searching for the professional web development, app development company in Vadodara then Cloudswift Solutions is the name on which you can trust. Visit our website for more information.
Friday, 17 August 2012
Magento get store config
$strFbLink = Mage::getStoreConfig('banner/socialnetworking/banner_facebook_url');
$strTwLink = Mage::getStoreConfig('banner/socialnetworking/banner_twitter_url');
$strLiLink = Mage::getStoreConfig('banner/socialnetworking/banner_linkedin_url');
Monday, 13 August 2012
Magento display date format
$strReviewDate = $_review->getCreatedAt();
$arrReviewDate = explode(' ',$strReviewDate);
$intReviewDate = strtotime($arrReviewDate[0]);
$dtReviewDate = date('d F, Y',$intReviewDate);
echo " - ".$dtReviewDate;
?>
$arrReviewDate = explode(' ',$strReviewDate);
$intReviewDate = strtotime($arrReviewDate[0]);
$dtReviewDate = date('d F, Y',$intReviewDate);
echo " - ".$dtReviewDate;
?>
Sunday, 12 August 2012
How to display manufacturer attributes on product listing page in magento?
Mage::getModel('catalog/product')->load($_product->getId())->getAttributeText('manufacturer');
Thursday, 9 August 2012
magento custom add to cart link
getLayout()->createBlock('catalog/product_list')->getAddToCartUrl($_product) ?>
Wednesday, 8 August 2012
How to display final price on listing page in magento?
$_coreHelper = $this->helper('core');
$_taxHelper = $this->helper("tax");
$_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true);
$_finalPriceFormated = $_coreHelper->currency($_finalPriceInclTax,true,false);
echo $_finalPriceFormated;
//echo $this->getPriceHtml($_product, true) ?>
$_taxHelper = $this->helper("tax");
$_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true);
$_finalPriceFormated = $_coreHelper->currency($_finalPriceInclTax,true,false);
echo $_finalPriceFormated;
//echo $this->getPriceHtml($_product, true) ?>
Tuesday, 7 August 2012
Magento solve enable cookies
http://ka.lpe.sh/2011/07/09/magento-cant-loginadd-items-in-chrome-and-ie/
Monday, 6 August 2012
Remove Price from Custom Options
catalog.xml
Comment following line
Comment following line
<reference name="content">
<remove name="product.clone_prices"/>
reference>
Subscribe to:
Posts (Atom)