We are doing custom Magento themes, Magento design, custom Magento extensions and creative services through Magento designers & developers for worldwide shop owners.

Last News

Magneto : Get Searchable Categories and Get Searchable SubCategories

searchbycat

if you want add option of search by categories this tutorial is quickly give you the 2 functions for send query to db and given all Searchable Categories and SubCategories : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 public function getSearchableCategories() { $rootCategory = Mage::getModel('catalog/category')->load(Mage::app()->getStore()->getRootCategoryId()); return $this->getSearchableSubCategories($rootCategory); } public function ... Read More »

Magento : active deactivate or Change payment method,on city county or region change

magento acive payment method filter

many people want active for example cash on delivery payment method just for specific country region or city. I will explain how develop this technique in page checkout for any onestepchekout in magento : 1 – First go to desin/forntend/youtheme-or-base-default/template/onepagecheckout-or-onestepchekout/onepagecheckout.phtml and change (by example if you want active or deactivate payment method by region ) every line inside javascript code ... Read More »

Magento: get controller name,get module name,get action name ,get route name?

magentomodulename

In Magento yyou can get controller name,get module name,get action name ,get route name inside BLock file , Template File , Controller File or any other class file : IN Blocks or Templates file (.phtml): get module name $this->getRequest()->getModuleName(); get Controller name $this->getRequest()->getControllerName(); get Action name $this->getRequest()->getActionName(); get Route name $this->getRequest()->getRouteName(); IN other class files get module name Mage::app()->getRequest()->getModuleName(); get ... Read More »

Magento : translate text inside cms page or static block without touching the core

translate cms block

For Translate Static block content you can use following directive in cms page or static block {{translate words="translate me"}} you are not finishing : For complete the work without touching the core by override the class Filter.php: A – Create file Filter.php in this path app/code/local/Mage/Core/Model/Email/Template/ (create all required folder) B – go app/code/core/Mage/Core/Model/Email/Template/ and open Filter.php file and copy ... Read More »

Magento : Get Base URL ,Get Skin URL ,Get Media URL ,Get Js URL,Get Store and Current Url

Magento : Get Base Url , Skin Url , Media Url , Js Url , Store Url and Current Url

many developers search quick tutorial for how getting segments url from any place inside magento . (Base , Skin , Media , Js , Store and Current Url ) , for phtml and cms (page or block) Url in phtml files 1. Base Url : Mage::getBaseUrl(); 2. Skin Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN); (a) Unsecure Skin Url : $this->getSkinUrl('images/image.png'); (b) Secure Skin ... Read More »

Play with Block and Template inside controller

upload

in many case you want create or modify block and template inside controller  : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 $this->loadLayout(); //change stucture of page to 1column $root = $this->getLayout()->getBlock('root'); $settemplate = "page/1column.phtml"; $root->setTemplate($settemplate); //add custom block and related to Block .php with custom template .phtml $block = ... Read More »

techniques of uploads files inside Magento

upload file inside magento

in many extensions developers need uploading file programmatically (images,css,js or others) from administration , or frontend side , in this tutorial i will give you the techniques of uploads files inside Magento : first : don’t forget to declare your from container with (‘enctype’ => ‘multipart/form-data’) with path example (YourPackage_YourModule_Block_Adminhtml_Edit_Form): 1 2 3 4 5 6 7 $form = new ... Read More »

MagentoLive Australia Early Bird Tickets Are approximately Sold !

australia magento live

Tickets for MagentoLive Australia are selling quickly and the Early Bird tickets are approximately sold out! That’s would be a very amazing place to : • Here you can know and realize Key Magento Executives and Industry Leaders • Link with eCommerce Experts • Get more deep and Ideas and Information if you interesting in knowing more: http://www.magentocommerce.com/blog#sthash.v6f7FBgB.dpuf Read More »