View Single Post
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

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?
Reply With Quote