Summer 2023 promotion. Get 30% OFF for any extensions with code SUMMER2023

  • Best Magento

    Marketplace Extension

  • Most Reliable

    & Dedicated Support

  • Most Reasonable

    & Flexible Price

How to get vendor url?

You can get a vendor URL by using this code:

  1. $vendorId = 1;
  2. $vendor = Mage::getModel('vendors/vendor')->load($vendorId);
  3. $urlKey = 'contacts';
  4. echo Mage::helper('vendorspage')->getUrl($vendor,$urlKey);
  5. // Result:
  6. // http://www.yourwebsite.com/vendor_identifier/contacts