How Listing verification flow works

Hi,

It seems like the non verified listings appear after publishing.

Steps to reproduce

  1. Enable Listing Moderation.
  2. Create a listing.
  3. Do not tick verified listing box and publish.
  4. Check listings view page.

Actual result

Listing appear on the listings view pages.

Expected result

Id expect that unverified listing do not appear as this part of the code should prevent it:

// Set verified flag.
if ( $this->verified ) {
	$query->filter( [ 'verified' => true ] );
}

After quite some debugging, it seems that $this->verified is actually never set.

I tried to make sure nothing from my custom implementation interfere with that logic.

Could you confirm the bug and provide a hotfix if confirmed?

Thank you very much for the support!

Hi,

Publishing a listing means that it’s approved, once you publish it, the user will automatically receive an approval email. Deleting a listing means that it’s rejected, in this case, the user will receive a rejection email.

The “Verified Listing” checkbox is separate from the approval process. It’s used to mark listings as verified, indicating that they come from a trusted vendor and give them more visibility.

Hope I helped with your request.

Hi Kseniia,

I really thought that the verified flag was supposed to also block the listing from being display even after publishing, I kinda remember that it was acting this way before the last update but I guess I was wrong.

Thank you for the answer!