Support the VirtueMart project and become a member

Main Menu

only registered user see price

Started by farketmez99, October 05, 2023, 15:44:56 PM

Previous topic - Next topic


I need to display prices only for registered users. Unregistered users should only see the product description. How do I manage that? Couldn't find any topic about it and documatation as well.
Joomla 4
Virtuemart 4.2


With specific price display in the shoppergroups. Edit the group guest. Or you could also add a shoppergroup registered to your price. Depends a bit on your shop and how you want to use it.
Should I fix your bug, please support the VirtueMart project and become a member
Extensions approved by the core team:


It's possible to do this by using PHP to check if a user is not logged in and hide content from them.  Edit and override your VM sublayout templates where price and checkout code are present, eg sublayouts/prices.php and sublayouts/addtocart.php
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum