Magento Comunity Edition (CE) vs Enterprise Edition (EE)
This is work in progress. If you find any inaccurate or missing information, please let me know.
Read MoreArchives
Date August 24, 2014 Author By Razvan Mocanu Category Magento Generalities
This is work in progress. If you find any inaccurate or missing information, please let me know.
Read MoreDate August 10, 2014 Author By Razvan Mocanu Category Solution Specialist
Magento eCommerce Online merchandising – Basic steps of setting up a new online store This is the second bullet in the Magento Certified Solution Specialist Exam Study Guide, chapter 1.1. Online merchandising. The Basic steps of settin up a new online store refer to: Platform selection Hosting Deployment Maintenance Platform selection. Chose osCommerce! I’m joking, […]
Read MoreDate August 10, 2014 Author By Razvan Mocanu Category Solution Specialist
Magento eCommerce Online merchandising – Marketing strategies This is the first bullet in the Magento Certified Solution Specialist Exam Study Guide, chapter 1.1. Online merchandising. The Marketing strategies refer to: Omnichannel Multichannel Affiliate marketing Social marketing Email marketing For an easier understanding, let’s first see what Multichannel is. Well, multichannel is exactly this, the […]
Read MoreDate August 10, 2014 Author By Razvan Mocanu Category Solution Specialist
Magento Certified Solution Specialist Exam consists in about 60 multiple choice questions. The available time to complete the exam is 90 minutes. The exam is based on Magento Community Edition v.1.8 and Magento Enterprise Edition v.1.13. The questions are from four different areas: eCommerce, about 13% of the questions Magento architecture, about 27% of the […]
Read MoreDate July 31, 2014 Author By Razvan Mocanu Category Magento how to
To get the country name in the current language from the country ID just do this: $country_name=Mage::app()->getLocale()->getCountryTranslation($country_code); $country_name will contain the full name of the country translated to the current locale language.
Read MoreDate July 3, 2014 Author By Razvan Mocanu Category Magento how to
Here is how to insert a template into another template: echo $this->getLayout()->createBlock(‘core/template’)->setTemplate(‘path/to/template.phtml’)->toHtml();
Read MoreDate June 29, 2014 Author By Razvan Mocanu Category Magento how to
Here is how to get the images for a specified product. The image path will point to a resized image of the specified size. $_images = Mage::getModel(‘catalog/product’)->load($_product->getId())->getMediaGalleryImages(); if($_images) { foreach($_images as $_image){ $pathToImage = $this->helper(‘catalog/image’)->init($_product, ‘thumbnail’, $_image->getFile())->resize(200); //200 is the size of $imageLabel = $_image->getLabel(); // construct array to collect data or […]
Read MoreDate June 29, 2014 Author By Razvan Mocanu Category Magento how to
I couldn’t find a easier solution yet. This is what I use to find out if a product is on sale in order to add a corresponding tag: <?php $specialPrice = Mage::getModel(‘catalog/product’)->load($_product->getId())->getSpecialPrice(); $specialPriceFromDate = Mage::getModel(‘catalog/product’)->load($_product->getId())->getSpecialFromDate(); $specialPriceToDate = Mage::getModel(‘catalog/product’)->load($_product->getId())->getSpecialToDate(); $rightNow = time(); if($specialPrice && ($rightNow >= strtotime( $specialPriceFromDate) && $rightNow <= strtotime($specialPriceToDate) || $rightNow >= strtotime( […]
Read MoreDate June 29, 2014 Author By Razvan Mocanu Category Magento how to
If you need to add a new tag to a product you need to find out whatever the product is set as new or not. Here is the method I use: <?php if (date(“Y-m-d”) >= substr($_product->getNewsFromDate(), 0, 10) && date(“Y-m-d”) <= substr($_product->getNewsToDate(), 0, 10)) : ?> <!– replace the line below with the […]
Read MoreDate June 28, 2014 Author By Razvan Mocanu Category Magento how to
If you need to get the value of a system setting, here is how to do it: Mage::getStoreConfig(‘full_path/to_the/setting’) For example: Mage::getStoreConfig(‘customer/create_account/email_domain’) These settings are stored in core_config_data table and the full path is in the path column.
Read More