-
May 31, 2020, 02:45 AM
#1
Guru
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