nura Posted September 9, 2008 Share Posted September 9, 2008 Help me, how to show price only for member and for guest visit to my web the price is hidethanks Link to comment Share on other sites More sharing options...
UltimuDon Posted September 9, 2008 Share Posted September 9, 2008 If you have blockuserinfo installed you can modify your tpl files what include prices and put a condition like in example ( {if $logged} code to show prices {/if} )Example: product.tpl line 119 <!-- prices --> {if $logged} .......................... {/if} I think if you don't have blockuserinfo installed will not work and have to assign to smarty the "logged" in other place.Don't know i didn't tested without blockuserinfo.I hope you understand what i mean :} Link to comment Share on other sites More sharing options...
nura Posted September 9, 2008 Author Share Posted September 9, 2008 yes...I'll trythanks guys Link to comment Share on other sites More sharing options...
goa24 Posted November 7, 2008 Share Posted November 7, 2008 Hello,sorry for my bad english. About your Information for hidden prices, sorry i am not realy understand what you mean. I have allready the File Blockuserinfo.tpl and also product.tpl. But what is the meaning about this: ( {if $logged} code to show prices {/if} ) Whitch code to show prices i must put here?And about your example, this code i put on line 119 in the product.tpl ?Thanks a lot for your help.Best regardsPaul If you have blockuserinfo installed you can modify your tpl files what include prices and put a condition like in example ( {if $logged} code to show prices {/if} )Example: product.tpl line 119<!-- prices --> {if $logged} .......................... {/if} I think if you don't have blockuserinfo installed will not work and have to assign to smarty the "logged" in other place.Don't know i didn't tested without blockuserinfo.I hope you understand what i mean :} Link to comment Share on other sites More sharing options...
Matthieu Biart Posted November 8, 2008 Share Posted November 8, 2008 Hi everyone!The UltimuDon's advice is good but be careful with it.We have a lot of javascript price modificators (i.e., combination changement on the product page) so be careful to not bug those modifications while inserting your feature.And do not forget that prices are everywhere (product page, category page, modules, accessories, ...) thus think about all of them ;P Link to comment Share on other sites More sharing options...
Recommended Posts