
In this tutorial, we will create a custom model that uses a different name than the Module name. The Module tree will look like as shown in below:
|
1 2 3 4 5 6 7 8 9 10 11 12 |
-Pixafy/ -Block/ -controllers/ -Model/ -Resource/ -Custommodel/ -Collection.php -Custommodel.php -Custommodel.php -etc/ -config.xml -sql/ |
When building a Magento site, it sometimes becomes apparent that the three default image positions aren’t enough to get by; some sites will need additional positions. Thankfully, Magento allows for this by being able to add an additional image position using the Attributes feature. (more…)