Support Forums - Classified Ads Script Osclass

General osclass questions => General discussion => Topic started by: alex7070 on April 27, 2021, 12:48:12 PM

Title: How to remove "Not Specified" in ads where the price field is disabled?
Post by: alex7070 on April 27, 2021, 12:48:12 PM
Hello!
For example, there are some categories that are not related to the sale (for example, dating) in which the price field is disabled.

Moreover, on the main page, instead of the price, it is written "Not specified".  Is it possible to do that the words "Not specified" are not displayed for ads in the categories where the price is turned off?
Title: Re: How to remove "Not Specified" in ads where the price field is disabled?
Post by: MB Themes on April 27, 2021, 01:16:41 PM
@alex7070
Problem here is, that in listing loops osclass does not take all details about category, this would require to update in item model function extendData to include also category data.
Title: Re: How to remove "Not Specified" in ads where the price field is disabled?
Post by: alex7070 on April 27, 2021, 01:39:22 PM
Clear, thanks. Is it possible to fix this in the new version of osclass?
Title: Re: How to remove "Not Specified" in ads where the price field is disabled?
Post by: MB Themes on April 27, 2021, 01:40:06 PM
@alex7070
Yes I will be checking that.