Magento Themes and Magento Extensions

Get all attributes from an attribute set in magento.

Share
Posted on March 31st, 2013 | Posted by admin

Get all attributes from an attribute set in magento.

$entityTypeId = Mage::getModel(‘eav/entity’)
->setType(‘catalog_product’)
->getTypeId();
$attributeSetName = ‘Default’; //Edit with your required Attribute Set Name
$attributeSetId = Mage::getModel(‘eav/entity_attribute_set’)
->getCollection()
->setEntityTypeFilter($entityTypeId)

Shipping An Order From Magento In Five Simple Steps

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

Magento is such a brilliant e-commerce platform that it lets online store owners to ship products to multiple addresses from a single order. This software offers great features which the online store merchants had been waiting for since years.If you are an online store owner and facing problems in shipping an order from magento, here’s the solution for you.When order is created and invoiced, you must ship it to customer for its status to become complete. This is a very important step unless order contains only virtual products like downloadable goods or other items that do not need to be shipped to customer.The Invoiced order can be shipped by clicking on ‘Ship’ button on top left side of order edit form. New shipment form will appear.

Pass data from controller to view in magento

Share
Posted on December 16th, 2012 | Posted by admin

It’s may be very easy for Zend framework user But, I find some magento developer fighting to pass data from controller to view.
In magento you have to create a empty model(if your mod don’t have a varient object model) which extends to varient object. Magento use magic getter magic setter so you can pass value by setAnyname() and getAnyname() thus functions will be auto defines by Zend like many other framework do.

Magento – How to run Query from magento root file?

Share
Posted on November 16th, 2012 | Posted by admin

In magento some time you need to truncate some tables or you need to find some details using sql query
If you don’t have the database access credentials only ftp access then create the .php file and write some query into that which you want to execute one sample is as below

here I am truncating the table called ‘catalog_product_flat_1′


<?php
/***********************
* Scan Magento local.xml file for connection information
***********************/

if (file_exists('./app/etc/local.xml')) {

$xml = simplexml_load_file('./app/etc/local.xml');

View product in frontend from Magento admin

Share
Posted on February 27th, 2012 | Posted by admin

When you are editing some product in Magento admin and want to check it out in frontend of your Magento project, how do you find this particular product? Do you search for it, navigate to it using product url key or just browse to it? Well, however you do it, I’m going to give you the easiest way to get to your desired product in the frontend – view product link.

magento themes

Page 1 of 212»