Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MODX парсер:
- [[+old_price:gt=`0`:then=`[[+old_price]]`:else=``]]
- Если пользуетесь fenom, то:
- {$old_price ?: ''}
- или
- {if $old_price?}
- <span class="main-price discounted">{$old_price} грн.</span>
- {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement