Osclass Support Forums

Osclass plugin support => Make Offer Plugin => Topic started by: mwindey on July 20, 2021, 08:14:51 PM

Title: Make offer visible on all statuses
Post by: mwindey on July 20, 2021, 08:14:51 PM
I've been searching all day how to make offer visible for all statuses no matter if an advertiser chooses free - price field or check with seller.
If the checkbox is checked then the make offer link is visible on all statuses and if the checkbox is of it shows no make offer link.
It seems like it's logic itself, but how to put it into practice? Is this easy to change in plugin files?
Title: Re: Make offer visible on all statuses
Post by: mwindey on July 21, 2021, 08:00:54 PM
Solved by editing code in plugin make offer.
In index.php:
Find:
Code: [Select]
if(osc_item_price() !=0) {Change line to:
Code: [Select]
if(osc_item_price() !=1 || (osc_item_price() !=0))  {
Title: Re: Make offer visible on all statuses
Post by: MB Themes on July 22, 2021, 01:26:09 PM
@mwindey
For me make offer on listing that is "Free" does not make sense at all, as best option is already available - free.