On the listing Details page, in the vendor view block where in the footer it shows the number of listings the vendor has I get an incorrect number. Instead of number of listing, which the vendor acutally has, i get the number of all the listings.
Most likely, your vendors have the same user, namely the administrator, so the same number of listings are displayed. We recommend creating a different user for each vendor.
The vendors do not have the same user.
I use different users for testing, and i’ve checked the database, the post_author has different user id, all beloging to users i registered for testing, not the admin user.
Can you please give me the php filename where the number of listings in the vendor block footer is calculated, i will debug the code myself.
I noticed that as soon as i click to view the listing of another vendor the database updates the hp_listing_count to maximum listings
So all the users will eventually have maximum listing.
Where in the code does this updates occur?
I see. Yes, this is a small bug and has already been added to our backlog, we will try to fix it as soon as possible. As a workaround, you can disable caching, but please note that this will affect the performance of the site, or we can provide a CSS snippet to hide this count (if you use other attributes in the primary area).