¡@

Home 

php Programming Glossary: mage

Magento - Retrieve products with a specific attribute value

http://stackoverflow.com/questions/1332742/magento-retrieve-products-with-a-specific-attribute-value

Retrieve products with a specific attribute value In my.. attribute value share improve this question Almost all Magento Models have a corresponding Collection object that can be.. a Product collection do the following collection Mage getModel 'catalog product' getCollection Products are a Magento..

Magento products by categories

http://stackoverflow.com/questions/272818/magento-products-by-categories

products by categories Does anyone know how I can get a.. to a specific category from within a view file in Magento php magento share improve this question You can use.. 123 a category id that you can get from admin category Mage getModel 'catalog category' load categoryId products Mage getModel..

Magento - Passing data between a controller and a block

http://stackoverflow.com/questions/4006183/magento-passing-data-between-a-controller-and-a-block

Passing data between a controller and a block Really quick.. the best way to pass data from a controller to a block in Magento. Incase it makes a difference I am loading the layout as.. have been using the registry as follows In the controller Mage register 'data' data In the block data Mage registry 'data'..

My Magento Extension Install Script Will Not Run

http://stackoverflow.com/questions/4717535/my-magento-extension-install-script-will-not-run

Magento Extension Install Script Will Not Run I am trying to create.. My install script is as follows installer this setup new Mage_Eav_Model_Entity_Setup 'core_setup' installer startSetup setup.. modules Those should match for the script to run. I think Magento is smart enough to run previous versions if it finds them..

Magento - load only configurable products

http://stackoverflow.com/questions/5280392/magento-load-only-configurable-products

load only configurable products I have the following code.. within the current category collectionConfigurable Mage getResourceModel 'catalog product_collection' addAttributeToFilter..

Adding attributes to customer entity

http://stackoverflow.com/questions/5961290/adding-attributes-to-customer-entity

attribute isn't saved to eav_entity_attribute table I'm on Magento CE 1.5.1.0 php magento custom attributes share improve.. renderer installer this installer startSetup setup new Mage_Eav_Model_Entity_Setup 'core_setup' entityTypeId setup getEntityTypeId.. 'your_attribute_code_here' '999' sort_order oAttribute Mage getSingleton 'eav config' getAttribute 'customer' 'your_attribute_code_here'..

Add column to Magento admin catolog > manage products

http://stackoverflow.com/questions/5990910/add-column-to-magento-admin-catolog-manage-products

column to Magento admin catolog manage products Hi I want to add a column.. public function addColumn Mage_Adminhtml_Block_Catalog_Product_Grid block block addColumnAfter.. block block addColumnAfter 'COLUMN_ID' array 'header' Mage helper 'module' __ 'COLUMN_ID' block sortColumnsByOrder if..

Magento - Quote/order product item attribute based on user input

http://stackoverflow.com/questions/9412074/magento-quote-order-product-item-attribute-based-on-user-input

Quote order product item attribute based on user input Summary.. custom data. php magento share improve this question Magento provides a capability for adding options that aren't product.. observer set the additional options on the product action Mage app getFrontController getAction if action getFullActionName..