Tag Archives: firstname. lastname

Show Customer Review on Product Page Magento

ShareTo display basic reviews on a product page, you want to add the following line to your catalog.xml within catalog_product_view. “<block type=”review/product_view_list” name=”product.info.product_additional_data” as=”reviews” template=”review/product/view/list.phtml”/>”   And Add below line   <?php echo $this->getChildHtml(‘reviews’) ?>   to your catalog/product/view.phtml template

How to get customer First Name, Last Name , Email Address or Details in magento

Share$customer = Mage::getSingleton(‘customer/session’)->getCustomer(); $email = $customer->getEmail(); // To get Email Id of a customer $firstname = $customer->getFirstname(); // To get Firstname of a customer $lastnam e= $customer->getLastname(); // To get Last name of a customer

%d bloggers like this: