| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
List vendor products from another vendor account | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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:
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 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: List vendor products from another vendor account
Why would you want to do this? It completely defeats the purpose of multivendor
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
Re: List vendor products from another vendor account
I am not asking whether you like the idea or not. This is my use case. I need a view, somewhere in the admin area, where a specific vendor role, can list (display) products from other vendors. Full stop. Can it be done? And if yes, how?
__________________
5.3.5.8 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: List vendor products from another vendor account
Sure it can be done. Look in the vendor module and override where it restricts the return of search results.
It could be in the model it could be in the conditions send by the view you are looking at. This is not a simple "go here and change this" answer
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
Re: List vendor products from another vendor account
As I am using QueryBuilder to retrieve the products, the simple "go here and change this" answer in my case was to decorate \XLite\Model\Repo\Product and set $enableVendorCondition to FALSE.
__________________
5.3.5.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|