Contact Email:
info@jminfotech.org
jminfotech contact jminfotech gplus jminfotech skype jminfotech phone jminfotech yahoo jminfotech facebook jminfotech twitter
Blog

How to get URLS in Magento

Posted at : 24-July-2014   /   0 Comment(s)

Magento Mage Core, Admin Static Blocks, or Phtml edits are usually includes getting url path such images, javascript, base url, media and store url. There are different ways to retrieve mentioned URL paths depending on where section you’re editing.

Read more…»

Magento Product Attributes

Posted at : 24-July-2014   /   0 Comment(s)

Get Custom Attributes Value in Frontend.
1. Suppose our custom attribute code is “test_attr” and of type Text Field or Text Area .
<?php
$product = Mage::getModel("catalog/product")->load($product_id);
echo $product->getTestAttr();
?>
I use getTestAttr() because my attribute code is “test_attr”, Use uppercase after underscore or begining of character, like for “testattr” method should be getTestattr() for “test_attr” method should be getTestAttr()

Read more…»