Osclass Support Forums

Osclass plugin support => Make Offer Plugin => Topic started by: slicer on January 22, 2018, 02:43:41 PM

Title: Turn off Notification after approve-decline
Post by: slicer on January 22, 2018, 02:43:41 PM
Hello, while using STELA notifications for pending offers remains active, even if you've seen the offer, approved or declined already.
it is always on unless you delete the ad.

How can I fix it?

(https://i.imgur.com/dmOmJwj.jpg)
Title: Re: Turn off Notification after approve-decline
Post by: MB Themes on January 22, 2018, 02:50:17 PM
It's not checking if it was read or not, just showing if there are offers or not.
You can find it in functions.php

Code: [Select]
  if(function_exists('mo_show_offer_link')) {
    $your_items = ModelMO::newInstance()->getItemsWithOffersByUserId(osc_logged_user_id());
   .....