My client wishes to run their site as a Catalog only, unless the user is logged in, whereupon they will see the pricing.
Is this possible? If so, how is it achieved?
Many thanks for your help.
Geoff
Search?
http://forum.virtuemart.net/index.php?topic=135657
And to hide the add to cart:
http://forum.virtuemart.net/index.php?topic=136494
I needed to have like that so I added in addtocart.php from /templates/youtemplatename/html/com_virtuemart/sublayouts
the following:
<?php
$user=JFactory::getUser();
if($user->id>0);
else {
?>
<a class="notify btn btn-primary btn-block" href='http://linktologinorregister><?php echo vmText::_ ('Login or Register to see prices') ?></a><?php
return;
} ?>
So may I clarify: In VirtueMart 1 (I am doing an upgrade), there was the Config option:
Price Configuration
Show Prices
Membergroup to show prices to: (options): "Registered"
Is this simple Config option no longer available?
thanks,
Geoff
configuration -> pricing -> Show Prices
and each shoppergroup has this config option: Enable shoppergroup specific price display
Has anybody tried this?
https://codingmall.com/products-mainmenu-8/198-virtuemart-keep-shop-private
Seems interesting....