Adding magento attribute with custom input renderer

Share
Posted on May 17th, 2013 | Posted by admin

This is example which will explain you, how to add new attribute with custom input render. You will be able to modify existing functionality, add javascript, some other option or change default input renderer by your wishes.

You probably will ask yourself, what is magento input renderer and I will explain. This is Magento php class which is in charge for “rendering” html form elements. In magento there are different classes for rendering, you can find them in next folder:/lib/Varien/Data/Form/Element. In this folder you will notice next classes for rendering: price, date, image and so on.
Let’s go with our example.
First of all, you should create magento setup file which will add new product attribute with custom frontend input render, example is below:

Magento Display static blocks with custom layout update

Share
Posted on April 9th, 2013 | Posted by admin

Magento Display static blocks with custom layout update

<reference name=”left”>

<block type=”cms/block” name=”Footer” before=”-”>

<action method=”setBlockId”><block_id>footer_links</block_id></action>

</block>

</reference>

How to Obtain Custom Attribute Values in Magento

Share
Posted on April 3rd, 2013 | Posted by admin

Today let’s talk about Magento and custom attributes. With Magento you can create as many custom attributes for your products as you like, and there are different attribute types such as:

  • Text Field
  • Text Area
  • Date
  • Yes/No
  • Multiple Select
  • Dropdown
  • Price
  • Gallery
  • Media Image
  • Fixed Product Tax

Magento – Custom background of the Theme (CSS, Html, etc.)

Share
Posted on March 13th, 2013 | Posted by admin

We are familiar with the Magento Custom Theme front the basic method: log back into the System-> Configuration-> General (Group) -> Design, Package, Theme Department may specify what you want Theme directory.

But the background Theme customization, you need in your module etc / config.xml specify configuration items, such as:

Magento Custom Product Type as Configurable Product

Share
Posted on February 2nd, 2013 | Posted by admin

If you have created a new product type and need to enable it to be included with configurable products you need to let Magento know that it should allow your product type to work with configurable products. To do this open your config xml and add the following xml.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<config>
<global>
<catalog>
<product>
<type>
<configurable translate="label" module="catalog">
<allow_product_types>
<custom_type_name/>
</allow_product_types>
</configurable>
</type>
</product>
</catalog>
</global>
</config>
Page 1 of 712345»...Last »