+ Reply to Thread
Results 1 to 7 of 7

Thread: SEO listing meta title with if?

  1. #1

    SEO listing meta title with if?

    Hi

    This is my current listing meta title
    House in {if location_level1}{location_level1}{/if}, {price} / {rental_period}
    Usually the tittle shows: House in California, $2,000 / Month

    But sometime users leave the price blank, none-disclosure. And the title become for example
    House in California, / Month

    Is there anyway that I can replace that price part with text when user leave price blank so it would shows:
    House in California, Contact for price

    I tried using this
    House in {if location_level1}{location_level1}{/if}, {if price}{price} / {rental_period}{else}Contact for price{/if}

    Please advice,

    Thank you

  2. #2
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    Have you tried this yet?

    {if location_level1}{location_level1}{/if}, {if price != 0}{price} / {rental_period}{else}Contact for price{/if}

  3. #3
    Quote Originally Posted by Jen?‘ Kocsi View Post
    Have you tried this yet?
    Thank you I just tried it a minute ago. It won't work either. Still showing below for no price input:
    House in California, / Month

    If price is input for example 2,000 it shows
    House in California, $2,000 / MonthContact for price

  4. #4
    Hi,

    Any advise please?

  5. #5
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    {if location_level1}{location_level1}{/if}, {if price !> 0}{price} / {rental_period}{else}Contact for price{/if}

    have not tested this but have you tried price greater than 0 not = 0
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  6. #6
    Quote Originally Posted by Wei Hong View Post
    Hi

    This is my current listing meta title
    House in {if location_level1}{location_level1}{/if}, {price} / {rental_period}
    Usually the tittle shows: House in California, $2,000 / Month

    But sometime users leave the price blank, none-disclosure. And the title become for example
    House in California, / Month

    Is there anyway that I can replace that price part with text when user leave price blank so it would shows:
    House in California, Contact for price

    I tried using this
    House in {if location_level1}{location_level1}{/if}, {if price}{price} / {rental_period}{else}Contact for price{/if}

    Please advice,

    Thank you
    Actually, if statemnet does not work at all. check
    Code:
    Only registered members can view the code.
    It shows you built even with no price


  7. #7
    {if location_level1}{location_level1}{/if}

    This one works so I thought it would work with other somehow. I guess we wait for Flynax confirm?

+ Reply to Thread