+ Reply to Thread
Results 1 to 10 of 10

Thread: Loan calculator showing in for sale only

  1. #1

    Loan calculator showing in for sale only

    So I notice on demo, the loan calculator only shows on for sale property:
    https://classifieds.demoflynax.com/p...ale-rent:Sale/

    And not show on for rent property:
    https://classifieds.demoflynax.com/p...ale-rent:Rent/

    Please instruct me how to archive this? I check the content box of the loan calculator and I saw it only check at showing "view details" page.
    In my case I have listing type: property, with 2 categories: house for sale, house for rent.
    I wanna show the loan calculator on the house for sale category only.
    Last edited by Wei Hong; July 5, 2021 at 03:08 PM.

  2. #2
    A quick search on google seems to indicate that loan calculators are for people who are purchasing property over a period of time.

    However, I did find one loan calculator for people who will rent to own property.

    You probably already know this, but I was interested in the topic as well.

  3. #3
    Yea, I just want to show the loan calculator for specific listing only, instead of all. There are a few rooms renting listings with pricing at ~$400 / month. And having the loan calculator there just too "funny"

  4. #4
    Hi guys, bump this up for new week

  5. #5
    Hi Rudi,

    Can you help me set the loan calculator on house for sale category only?

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello Wei,

    Go to plugins > loanMortgageCalculator > rlLoanCalc.class.php > hookListingDetailsBottom()

    replace:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code

  7. #7
    Hi Rudi, is there anyway if we can use the category key instead. I don't know how to find the category ID. I use the code with category key

    Code:
    Only registered members can view the code.
    And obviously, the calculator disappear in all category. (

  8. #8
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Sorry, I can't get your idea, in your last post you asked to show the plugin only for this category

    use this code:
    PHP Code:
    Only registered members can view the code

  9. #9
    Yes Rudi,

    That work perfect. Thank you so much.
    Sorry that I confused you. I just want to use category key instead of category ID.

  10. #10
    Wei,

    Can you please test the loan calculator page for me?

    - Does the print button open another page?
    - Does the page that opens contain data on all sections?

+ Reply to Thread