[TYPO3-commerce] Hiding prices if not logged in

Sebastian Stanger typo3 at stanger.org
Fri Nov 30 20:05:44 CET 2007


H.E.Weenink | Aristo WebDesign wrote:

> I want users to login before they see prices. This probably is allready
> explained somewhere, but I cannot find this point. 
> Anybody with some hint? 

You can set up 2 templates, one with prices and one without and use 
these 2 with a condition, we did this for customers who don't have to 
pay VAT. We assigned them to a fe-usergroup and did something like this:


[usergroup =13]
plugin.tx_commerce_pi1.templateFile = 
fileadmin/templates/product_list_net.tmpl

This works perfectly for us - I hope this helps!

Cheers,

Sebastian


More information about the TYPO3-project-commerce mailing list