Step by step Bootstrap 3 tutorials 0

Understanding Bootstrap 4 Modal

Bootstrap Modal: This dialog box/popup window which will be displayed on top of the current page in the form of Window disabling the background window. Once you click on the...

Step by step Bootstrap 3 tutorials 0

Bootstrap collapse

Bootstrap Collapse: With this JS functionality in Bootstrap you can hide or show content which will open only when you click on the element. This can also be used as...

Magento Step by Step tutorials 0

How to Get media url, js url, store url and home url in Magento?

To Get Media Url Syntax:- $mediaUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA); OR $mediaUrl = Mage::getBaseUrl(‘media’); To Get Js Url Syntax:- $jsUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS); To Get Store Url Syntax:- $storeUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); To Get...

Magento Step by Step tutorials 0

How to get Current Customer Group id in Magento.?

With the following code one can easily get the specific Current customer group id with logged in or session information. Mage::getSingleton(‘customer/session’)->getCustomerGroupId(); is used to get current customer group id details...

Step by step Bootstrap 3 tutorials 0

How to use Bootstrap 4 Dropdown?

Bootstrap Dropdown:These are toggle based pre-defined way of building menus in Bootstrap with lots of options to choose from. Dropdown are one of the main components of Bootstrap being part...

Magento Step by Step tutorials 0

How to get current customer id in Magento.?

To get the Current customer id in Magento you can use the following code to get the desired result. if(Mage::getSingleton(‘customer/session’)->isLoggedIn()) { $customerData = Mage::getSingleton(‘customer/session’)->getCustomer(); echo $customerData->getId(); }