I am trying to use a custom field's value in seo url template in shopware but it does not seem to work.
The guide here does the exact same thing what I do:
https://docs.shopware.com/en/shopware-5-en/settings/seo
SEO URLs item template:
deal/{if $sArticle.custom_url}{$sArticle.custom_url}{else}{$sArticle.supplier|replace:'.':'' }-{$sArticle.name|replace:'.':'' }{/if}
Is there something wrong with this part?
{if $sArticle.custom_url}{$sArticle.custom_url}{/if}