Blog: Extra-ordinary

Magento training in bangladesh

Course Time plan : 3 month. Course total class : 15 Each class 2hrs Course fee : BDT  20,000.00 1. Basics General OOP and MVC concepts Event-driven architecture Magento module-based architecture Magento directory structure/naming conventions/code pools/namespaces/module structure Configuration XML Factory and functional class groups Class overrides Event observer 2. Request Flow Application initialization Front controller URL rewrites Request routing Modules …

Continue Reading

Solving the “Customer Login” title in all pages in Magento

I’m one of those that wanted to add a login form on the sidebar of my Magento. This was really easy, I just add the following line to <reference name=”header”> <block type=”customer/form_login” name=”mini_login” template=”customer/form/mini.login.phtml” /> </reference> But after that, every page on my magento store showed the title page as “Customer Login”. This happened to me in Magento EE 1.10 …

Continue Reading

All hotel list in Bangladesh

Ruposhi Bangla Hotel The renowned international five-star hotel in Bangladesh, Ruposhi Bangla Hotel (former Dhaka Sheraton Hotel) is in the most prestigious location of Dhaka city, capital of Bangladesh. http://www.ruposhibanglahotel.com Hotel Lake Castle An Ocean of hospitality situated by the side of a lake with greeneries. Come and enjoy the comfort and hospitality from a group of highly experienced professionals. …

Continue Reading

Chittagong Buddhist Monastery

The most ancient Chittagong Buddhist Monastery was founded by the former members of Bangladesh Buddhist Association known as Chittagong Buddhist Association in 1889 on a piece of land in Nandan Kanan of Chittagong city. The Chittagong Buddhsit Association started its activities for regeneration of Theravada Buddhism in this part of the World known presently as Bangladesh. The founder President and …

Continue Reading

History of CTG Buddhists in Bangladesh

Bangladesh is the country of multi-religion, race and population. Beside Hindu-Muslim community Buddhists are a small community in this country and the number of this population is about above 1 million. The history and heritage has enriched and differentiated Bangladesh. So, Buddhists are an important community for this country. From 7th to 12 century, this Indian Sub-Continent was in a …

Continue Reading

History of Chittagong

Chittagong has been a seaport since ancient times. The region was home to the ancient Bengali Buddhist Samatata and Harikela states.It later fell under of the rule of the Gupta Empire, the Pala Empire and the Vesali kingdom of Arakan till the 7th century. Arabs traded with the port from the 9th century AD. An account by historian Lama Taranath …

Continue Reading

How to redirect product page after logout in Magento?

It is very simple. Please goto logout.phtml file. If absent in your theme please copy from base and paste in your theme. <div> <h1><?php echo Mage::helper(‘customer’)->__(‘You are now logged out’) ?></h1> </div> <p><?php echo Mage::helper(‘customer’)->__(‘You have logged out and will be redirected to our homepage in 5 seconds.’) ?></p> <script type=”text/javascript”> //<!CDATA setTimeout(function(){ location.href = ‘<?php echo $this->getUrl() ?>’},5000); //> …

Continue Reading

How to get customer group Id and group name in Magento?

It is very simple in Magento. Please follow my below code. $login = Mage::getSingleton( ‘customer/session’ )->isLoggedIn(); //Check if User is Logged In if($login) { $groupId = Mage::getSingleton(‘customer/session’)->getCustomerGroupId(); //Get Customers Group ID echo “Group ID ::  “.$groupId; $group = Mage::getModel(‘customer/customer_group’)->load($groupId); echo “Group Name :: “.$group->getName(); } Hope it will help you.

Continue Reading

How to show programmatically category and subcategory from Admin site in Magento?

To show pro grammatically you can display all category and subcategory. Some times it is very important for coder. please check below code. You can show your category and subcategory own way. $root_category = Mage::getModel(‘catalog/category’)->load(3); // Put your root category ID here. $subcategories = $root_category->getChildren(); foreach(explode(‘,’,$subcategories) as $subcategory) { $category = Mage::getModel(‘catalog/category’)->load($subcategory); echo ‘Cat 1–<a href=”‘.$category->getURL() .’” />’.$category->getName().$category->getId().'</a><br/>’; $parentCategoryId = …

Continue Reading