+ Reply to Thread
Results 1 to 5 of 5

Thread: listing fields code on search on map page?

Hybrid View

  1. #1
    Member
    Join Date
    Apr 2021
    Location
    USA
    Posts
    51

    listing fields code on search on map page?

    Hi,

    How do I call listing field ref number with key: ref_number to show in listing on map?
    I tried $listing.fields.ref_number.value but it's not working.

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,176
    Hello,

    Where exactly on the map page you need to place this field?

    you should add this field to the browse form of your category: Categories > Categories > your primary or parent category > Build > Build Browse Form

  3. #3
    Member
    Join Date
    Apr 2021
    Location
    USA
    Posts
    51
    Quote Originally Posted by Rudi View Post
    Hello,

    Where exactly on the map page you need to place this field?

    you should add this field to the browse form of your category: Categories > Categories > your primary or parent category > Build > Build Browse Form
    Hi Rudi,

    I want to add code to search_map/listing.tpl to show ref number field when price is not available, I just need to add elseif for it.

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,176
    Unfortunately, it will require a small customization

    as there is no quick solution

  5. #5
    Member
    Join Date
    Apr 2021
    Location
    USA
    Posts
    51
    Quote Originally Posted by Rudi View Post
    Unfortunately, it will require a small customization

    as there is no quick solution
    Oh I managed to do it with listing list and featured list with $listing.fields.ref_number.value
    I thought search on map is similar. Looks like it's harder than I thought.
    Thank you anyway, Rudi

+ Reply to Thread