VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: maheo on September 06, 2017, 17:58:51 PM

Title: visible price once you are registered
Post by: maheo on September 06, 2017, 17:58:51 PM
hi
sorry for my English.  :)
joomla 3.7  / V M 3.2
I sell products that has professionals
and I would not like the particulars to see prices on my site
I created a client group save
so all my clients I save them in (group save)
enter prices (price regsitrer)
but for now everyone sees the prices.
is what I have done wrong something
Thank you for your help

Title: Re: visible price once you are registered
Post by: jenkinhill on September 06, 2017, 18:15:49 PM
Same as http://forum.virtuemart.net/index.php?topic=136494 but this time make the display of sublayouts/prices.php dependant on the shopper being logged in.
Title: Re: visible price once you are registered
Post by: maheo on September 06, 2017, 18:29:49 PM
I would like my client to save sees the prices once they are logged in
thank you
Title: Re: visible price once you are registered
Post by: jenkinhill on September 06, 2017, 23:01:13 PM
That's exactly what that thread describes. Users must be registered and logged in to see add to cart, and with a little additional code, to see the prices.
Title: Re: visible price once you are registered
Post by: Milbo on September 07, 2017, 08:56:00 AM
For what do you need an hack? There is a shoppergroup depended price display!
Title: Re: visible price once you are registered
Post by: Milbo on September 07, 2017, 08:57:41 AM
I note, it may make sense to add check, which sets the product unorderable ($product->orderable=false), when no price is shown.