• Best Magento

    Marketplace Extension

  • Most Reliable

    & Dedicated Support

  • Most Reasonable

    & Flexible Price

How to get logged in vendor object.

Logged in vendor object will be stored in session vendors/session. Let use following code to retrieve the vendor object.

  1. <?php
  2. $vendor = Mage::getSingleton('vendors/session')->getVendor(); /*VES_Vendors_Model_Vendor*/