News:

Looking for documentation? Take a look on our wiki

Main Menu

only registered user see price

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

Previous topic - Next topic

farketmez99

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

Milbo

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: http://extensions.virtuemart.net/

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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