tn222eb Posted September 22, 2015 Share Posted September 22, 2015 Hi guys! I need some help to figure out how to make so a customized text appears instead of price, where it says "Log in to see the prices" for guests or visitors. Help would be appreciated. Yours sincerely, Tommy Link to comment Share on other sites More sharing options...
0 razaro Posted September 22, 2015 Share Posted September 22, 2015 Hi Tommy, Welcome to the forum. There are few modules that you can get from Addons store http://addons.prestashop.com/en/search?id_category=0&search_query=price+hide+ But search forum and Google for more. Link to comment Share on other sites More sharing options...
0 tn222eb Posted September 22, 2015 Author Share Posted September 22, 2015 So basically what you are saying it's not possible to fix manually by code? Yours sincerely, Tommy Link to comment Share on other sites More sharing options...
0 razaro Posted September 22, 2015 Share Posted September 22, 2015 No you can try to edit theme and modules manually. Think this is code you can use {if isset($is_logged) && $is_logged} Show regular price block. {else} Log in to see prices. {/if} Link to comment Share on other sites More sharing options...
0 tn222eb Posted September 22, 2015 Author Share Posted September 22, 2015 Thanks man, I appreciate it Yours sincerely, Tommy Link to comment Share on other sites More sharing options...
0 selectshop.at Posted September 22, 2015 Share Posted September 22, 2015 There is a better way for it and this is valid only for Prestashop 1.6.1.1. For other Prestashop versions you should buy a module, or play with own code on template, cause it is not yet working. Simply set "show prices = NO" on the customer group "visitors and guests". This will show no price. The only thing you should add is a notice on footer that prices are shown only for registered customers. for ex. on /themes/default-bootstrap/footer.tpl on last line after {/if} you add: <center> **Prices are shown only to registered users. <a style="font-weight: bold; text-decoration: underline;"></a></center> <br> How to set customer groups prices: Tab "customers -> groups -> edit guest and visitor by changing "show prices = NO" After the change you should clear browser cache and smarty cache on tab: "advanced parameters -> performance -> button on top right side "clear cache" 1 Link to comment Share on other sites More sharing options...
Question
tn222eb
Hi guys!
I need some help to figure out how to make so a customized text appears instead of price, where it says "Log in to see the prices" for guests or visitors.
Help would be appreciated.
Yours sincerely,
Tommy
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now