BZZYBI Posted September 19, 2014 Share Posted September 19, 2014 Hi guys I am very new at prestashop. I would like to have some text load on the product page example ( please register and wait for account approval to view prices and order forms). This text should only display for customer id 1 2 and 3. After they would have registered and after I would have transferred them to another level which I have created Id 4 I would like to have this text removed after I would have transferred then to customer level id 4 Can anybody please help :-) Link to comment Share on other sites More sharing options...
bellini13 Posted September 19, 2014 Share Posted September 19, 2014 The proper way to do this is via a module. The module would use a product page 'hook' to insert this text based on the visitor/customer group. The location of this text would be based on where your theme places these hooks. So if you have a specific area, then you should take a screen shot of your product page and highlight where you want it to appear. This is preferred since a module would likely work across different PS versions and you would not lose these changes because you upgraded your store or changed your theme If you don't want a module, then the next thing would be to update your themes product.tpl, and then place the text where you want it to appear. The product.tpl probably already has access to the customers groups, but if not, then the product page controller would need to be enhanced to look up the customers group and then provide the required information to the product.tpl via smarty engine. This is less preferred because you would lose these changes if you changed your theme If you are looking to hire a developer for this, feel free to send me a PM and I can provide you with an estimate for either option. Link to comment Share on other sites More sharing options...
waldiPL Posted September 19, 2014 Share Posted September 19, 2014 Hi guys I am very new at prestashop. I would like to have some text load on the product page example ( please register and wait for account approval to view prices and order forms). This text should only display for customer id 1 2 and 3. After they would have registered and after I would have transferred them to another level which I have created Id 4 I would like to have this text removed after I would have transferred then to customer level id 4 Can anybody please help :-) "html box pro" is what you're looking for i use it to display different shipping message for customer groups 1 Link to comment Share on other sites More sharing options...
BZZYBI Posted September 20, 2014 Author Share Posted September 20, 2014 "html box pro" is what you're looking for i use it to display different shipping message for customer groups Thank you very much guys I have downloaded "html box pro" and it solved my problem. Thank you very much for sharing. Link to comment Share on other sites More sharing options...
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