View Single Post
  #1  
Old 09-10-2018, 06:19 AM
 
amarquis amarquis is offline
 

Advanced Member
  
Join Date: Apr 2018
Posts: 70
 

Default List vendor products from another vendor account

I am on Multivendor 5.3.5.5

If I do the following, in the admin area:

PHP Code:
$products = \XLite\Core\Database::getRepo('XLite\Model\Product')->findAll(); 

when logged in with an Administrator account, all products are listed.

If I do the same, logged in with a vendor account, only the current vendor products are listed.

How would I go about listing ALL products from a vendor account, including other vendors' products?
__________________
5.3.5.8
Reply With Quote