+ Reply to Thread
Results 1 to 8 of 8

Thread: Add Reference Number variable to email templates

  1. #1

    Add Reference Number variable to email templates

    Hello,

    Does someone know how to add the Reference Number variable to email templates variables?

    Thank you

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

    It depends on what email template you use

    because all variables (placeholders) are replaced with values in the code

    so it will require to add a new replacement into relevant code section

  3. #3
    Hello Rudi,

    Thanks for your replay.

    Actually I need it to free_approval_listing_created email

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Go to ftp > includes > classes > AddListing.php > public function notifyOwner()

    find:
    PHP Code:
    Only registered members can view the code
    replace with:
    PHP Code:
    Only registered members can view the code
    *use your variable name instead of YOUR_VARIABLE

  5. #5
    Thank you Rudi!

  6. #6
    Hello Rudi,

    I could add listing ID but reference number. Is there variable for reference number {ref_number}?

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Try this code then:

    PHP Code:
    Only registered members can view the code

  8. #8
    Hello Rudi,

    Works fine now!

    Thank you!

+ Reply to Thread