How do I display custom fields with no values?

This topic contains 5 replies, has 3 voices, and was last updated by  John Els 5 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #462226

    John Els
    Expired Member
    Post count: 65

    Hi,

    I have handful of custom fields for my listings. I have assigned them all to display on the More Info tab on the details page. I have noticed that these fields are only displayed on the details page if the listing has a value for the field. What I’d like to do, is display all of the custom fields, whether they have values or not. If the field does not have a value, I’d like the field label to be displayed. Is there a way to do that?

    Thanks,
    John

    #462259

    Alex Rollin
    Moderator
    Post count: 27815

    There is not, but I will flag the idea for the developers in case they have a workaround.

    #462294

    Kiran
    Moderator
    Post count: 7069

    Hello,

    This is not possible at the moment without core customization.

    Kiran

    #462340

    John Els
    Expired Member
    Post count: 65

    OK, thanks. I’m assuming there are also no hooks or filters with code snippets that could achieve this? If not, I’m probably going to look at adding a non-obtrusive default character, like a period, to all those fields.

    #462344

    Alex Rollin
    Moderator
    Post count: 27815

    We will look at this for future versions.

    #462540

    John Els
    Expired Member
    Post count: 65

    Just in case anyone else is wondering about this, I solved my problem by adding values (a single period “.”) to all the fields that had no values. Since there were more than 500 listings, and I was worried about breaking category connections if I used the Export/Import function, I ran SQL statements directly on the database. Although potentially risky, this worked great for me. All fields are showing up now.

    Thanks for you help here, Alex & Kiran!

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket