VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: nordmograph on May 28, 2016, 00:32:30 AM

Title: Backend product list empty in multivendor
Post by: nordmograph on May 28, 2016, 00:32:30 AM
Hello

In multivendor mode , products are ususally added by vendors , more than the main vendor and the backend product list behaviour shows an empty list if no vendor is selected, instead of showing every products.
Multivendor shop admins miss it as it was a nice view to see latest added products regardless of the vendor.
Title: Re: Backend product list empty in multivendor
Post by: Milbo on May 28, 2016, 22:21:43 PM
Quote from: nordmograph on May 28, 2016, 00:32:30 AM
instead of showing every products.
This is a security thing, to prevent that all products are visible using id=0

Quote from: nordmograph on May 28, 2016, 00:32:30 AM
Multivendor shop admins miss it as it was a nice view to see latest added products regardless of the vendor.
This is an interesting point, let me see if we can add a nice vmAccess to allow that.
Title: Re: Backend product list empty in multivendor
Post by: Shimon Hirschhorn on May 29, 2016, 00:00:34 AM
I also need this feature.  The new functionality makes product find very difficult for me to use.

I use multi-vendor to calculate shipping from different vendors that drop ship the products.
I don't always remember who the vendor is for a particular product and it was much easier to leave the vendor dropdown unselected so I could find the product.

Is it possible to add this as a setting in multi-vendor mode ?

Thanks
Title: Re: Backend product list empty in multivendor
Post by: Milbo on May 30, 2016, 10:51:39 AM
I just checked the whole thing and dont see the problem anylonger. An Admin can set the list to "no vendor" and see all products, when your admin cannot do that, then he is a shopmanager and not admin. Then he needs the right to "manage vendors".
Title: Re: Backend product list empty in multivendor
Post by: nordmograph on May 30, 2016, 11:10:09 AM
Thanks Max,
Sorry , I must be missing something.
There is no 'no vendor' option in the product filter list. Do you mean the default 'Please Select' option ?
Also I'm testing with a super admin account which also is the main vendor, and has the permissions to 'manage vendors'.
List keeps empty untill I select a specific vendor.
Title: Re: Backend product list empty in multivendor
Post by: Milbo on May 30, 2016, 13:25:15 PM
hmmm, maybe a joomla3 problem. In our case it works and of course "Please Select" is equal to "no specific vendor"
Title: Re: Backend product list empty in multivendor
Post by: Shimon Hirschhorn on May 30, 2016, 13:41:40 PM
I am currently running Joomla 3.4.8 and VM 3.0.14 and setting the vendor dropdown to "Please Select" returns products all products (no specific vendor)

Last week I had upgraded to J3.5.1 and VM 3.0.16.  In that case vendor dropdown set to "Please Select" returns no products.  None at all. I have several products with virtuemart_vendor_id = 1 (default vendor) and I even have some bad data with vendor_id = 0.  None of these were returned.

The manufacturer dropdown still filters as it did before.  Manufacturer drop down set to "Please Select" returns products from all manufacturers. 

Thanks
Title: Re: Backend product list empty in multivendor
Post by: Milbo on May 30, 2016, 14:59:57 PM
I think I found it, please test this version http://dev.virtuemart.net/attachments/download/1005/com_virtuemart.3.0.17_extract_first.zip
Title: Re: Backend product list empty in multivendor
Post by: nordmograph on May 30, 2016, 16:37:01 PM
Yes it works except that whatever you set , it sets the list to pre select main vendor (or current vendor ?) even if the list is correctly filtered showing all (Please Select case) or another vendor's products. Quite confusing.
Title: Re: Backend product list empty in multivendor
Post by: Milbo on May 30, 2016, 19:30:32 PM
Thx, I think I found it. I mixed up myself isSuperVendor and getVendorId. The file is vor the product view in BE
Title: Re: Backend product list empty in multivendor
Post by: nordmograph on May 31, 2016, 09:25:38 AM
With this view.html.php file, behavior is the same as initialy reported: 'Please Select' option returns nothing.
Title: Re: Backend product list empty in multivendor
Post by: nordmograph on May 31, 2016, 13:45:15 PM
I now confirm the latest file sent on skype works perfectly as expected. Thanks !
Title: Re: Backend product list empty in multivendor
Post by: Shimon Hirschhorn on May 31, 2016, 22:16:12 PM
Great!

Do you know when you plan to put it into a release ?
Title: Re: Backend product list empty in multivendor
Post by: jenkinhill on May 31, 2016, 23:43:06 PM
http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: Backend product list empty in multivendor
Post by: nordmograph on October 26, 2016, 09:32:30 AM
This issue is back

Quote from: nordmograph on May 30, 2016, 16:37:01 PM
Yes it works except that whatever you set , it sets the list to pre select main vendor (or current vendor ?) even if the list is correctly filtered showing all (Please Select case) or another vendor's products. Quite confusing.

Also as a filter exists,  a vendor column in the results would be great