+ Reply to Thread
Results 1 to 7 of 7

Thread: Modification to the frontend search engine

  1. #1

    Question Modification to the frontend search engine

    Hi,

    I'm having trouble trying to change the search engine on the frontend in the Auto Flatty template.

    What I need to do is as follows:
    - Change the "Price" inputs fields to a dropdown (Where you can select fixed pricing) - For example: $10000 - $20000
    - Change the "Mileage" input fields to a dropdown (Where you can select fixed mileage) - For example: 10000 - 20000

    I will not use the currency dropdown but it can be there if it's needed for the search to function properly.

    I am willing to pay someone to do this.

    Let me know if anyone can assist me with this or if more details are needed.

    Best Regards,
    Karl

  2. #2
    Anyone?...

  3. #3
    Hello Karl Bernburg,

    you need to add some changes in the files.

    FTP > templates > your template > tpl > blocks > field_search.tpl
    FTP > templates > your template > tpl > blocks > fields_refine.tpl

    - then find code:
    Code:
    Only registered members can view the code.
    replace inputs on the code:

    Code:
    Only registered members can view the code.
    { section name=to start=1000 loop=20000 step=1000 }
    start - first number
    loop - Value to determine the number of loop iterations
    step - The step value that will be used to traverse the loop array


    Thanks.

  4. #4
    Senior Member
    Join Date
    Jun 2016
    Location
    New York
    Posts
    158
    Hi, Great job!!, but can not display eg 1.500,00 on the menu.

    Points or commas, but helped a lot

    Congratulations and Thank you!
    Last edited by Ed; October 1, 2016 at 04:03 AM.

  5. #5
    Hello Ed,

    Please try to use: {$smarty.section.from.index|number_format:2:",":". "} and $smarty.section.to.index|number_format:2:",":"."}
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    Senior Member
    Join Date
    Jun 2016
    Location
    New York
    Posts
    158

    Smile Works fine!

    Hi Viktor, Very Good Day!

    This was good! you scored a goal, worked fine! perfect!

    I owe you this.

    Thank you very much

    Good week for everyone here in the forum!

  7. #7
    How we can add like if user don't want to put price but want that people can contact him for the price and he can chose option drop down Please Contact option i try to change price field Admin Panel/Listing Fields/price/Edit Field but Field type set price how we can make it drop down so if user don't want to put price he can chose contact me option

+ Reply to Thread