• Best Magento

    Marketplace Extension

  • Most Reliable

    & Dedicated Support

  • Most Reasonable

    & Flexible Price

How to put seller information to product page?

Edit this file: app/design/frontend/THEME_PACKAGE/THEME_NAMEtemplate/catalog/product/view.phtml. Replace THEME_PACKAGE and THEME_NAME by your theme info.

Add this code to that file where you want to display seller information.

  1. <?php $_vendor = Mage::getModel('vendors/vendor')->load($_product->getVendorId());?>
  2. <img src="<?php echo Mage::getBaseUrl('media').$_vendor->getLogo()?>" /><br />
  3. <label>Title:</label><?php echo $_vendor->getTitle()?><br />
  4. <label>Company:</label><?php echo $_vendor->getCompany()?><br />
  5. <label>Telephone:</label><?php echo $_vendor->getTelephone()?><br />
  6. <label>Address:</label><?php echo $_vendor->getAddress()?><br />
  7. <label>City:</label><?php echo $_vendor->getCity()?><br />