Jump to content

if $cookie->id_customer == xx show info


Recommended Posts

Hi,

I would like to add some information to the customers my account pages based on the customer logged in?

I know i can use the {if} customer id {/if} which can be hard coded into the my-account.tpl but i have about 15 customers which need to have unique information in their my account page.

This would be a lot easier if there was a module where i could select the customer id then add the required link/info/image etc.

Any ideas if a module exists? I have looked through the forum but couldn't find anything.

Regards

Link to comment
Share on other sites


I know i can use the {if} customer id {/if} which can be hard coded


I withdraw my comment lol

I have tried

{if $cookie->id_customer == 4}


TEST INFO

{/if}



But this does not work?

Any ideas

EDIT: Solved this part sorry, clear smarty compile lol

still any ideas on an easier method? maybe a module as mentioned above

Link to comment
Share on other sites

×
×
  • Create New...