ALVAS Posted January 24, 2013 Report Share Posted January 24, 2013 Я столкнулся с небольшой проблемой... У меня Simpla 1.4.1. Подскажите, как сделать, чтобы цены на товар видели только зарегистрированные пользователи? Незарегистрированные чтобы цен не видели вообще...Спасибо. Quote Link to post Share on other sites
mart Posted January 24, 2013 Report Share Posted January 24, 2013 {if $user}показываем цену{/if} Quote Link to post Share on other sites
ALVAS Posted January 24, 2013 Author Report Share Posted January 24, 2013 А поподробнее? Где и как прописывать? Quote Link to post Share on other sites
ALVAS Posted January 24, 2013 Author Report Share Posted January 24, 2013 Неужели никто не может мне помочь? Quote Link to post Share on other sites
delprofile Posted January 24, 2013 Report Share Posted January 24, 2013 {if $user}показываем цену{/if} product.tpl product.tpl main.tplя хз в 1.4 такие же шаблоны или нетищешь аля {$product->variant->price|convert}Делаешь{if $user}{$product->variant->price|convert}{/if}дальше сам ищи по шаблонам упоминания price и делай описанным выше способом Quote Link to post Share on other sites
ALVAS Posted January 24, 2013 Author Report Share Posted January 24, 2013 Ясно. Сейчас попробую. По окончании отпишусь. Quote Link to post Share on other sites
ALVAS Posted January 24, 2013 Author Report Share Posted January 24, 2013 Все, нашел и сделал... В версии 1.4.1 надо редактировать 4 файла:catalog.tplindex.tplproduct.tplproducts.tplБольшое спасибо за помощь... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.