Magento Front End Developer - Test Questions

Customize Specific Magento Pages

8. Customize the Look and Feel of Specific Magento Pages (12%)

Key Areas of Study

  • Understand the main Magento template files and what PHP calls and blocks are available.

Questions

8.1 How would you retrieve the customers' name in a transactional email template?
A. {{var customer.name}}
B. {{var customer_name}}
C. {{customer name}}
D. {{var getCustomerName()}}
8.2 How can a template be included in a CMS block?
A. {{block template="catalog/product/view.phtml"}}
B. {{block id="catalog/product/view.phtml"}}
C. {{block type="core/template" template="catalog/product/view.phtml"}}
D. {{block type="core/template" name="product.info" } }
8.3 How would you specify layout XML changes on a configurable product only?
A. <product_configurable></product_configurable>
B. <PRODUCT_TYPE_configurable></PRODUCT_TYPE_configurable>
C. <catalog_product_configurable></catalog_product_configurable>
D. <configurable_product></configurable_product>