davers44 Posted January 24, 2012 Share Posted January 24, 2012 The standard customer block info has a lot of links not always used by the customers and some of them also confusing him. Any tip how can I modify the customer block info to show optional links only when really needed? Something like this: my vouchers only if he has vouchers my returns only if he has a returns my alerts only if he has alerts Thanks! Link to comment Share on other sites More sharing options...
Richard S Posted January 24, 2012 Share Posted January 24, 2012 You need to edit my-account.tpl file in your theme and comment out not necessary links. Link to comment Share on other sites More sharing options...
davers44 Posted January 26, 2012 Author Share Posted January 26, 2012 I tried to edit my-account.tpl but if I simply comment out it won't show even when the custoemr have vouchers, returns or alerts. I think I should get an if condition for each of them but I can't figure out the exact if condition needed... any idea? Link to comment Share on other sites More sharing options...
Richard S Posted January 30, 2012 Share Posted January 30, 2012 For this you would also need to edit MyAccountController because there is nothing sent to template file for checking. However, you would need to be familiar with PHP and PrestaShop structure. 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