VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: tiagovareta on April 21, 2017, 19:31:31 PM

Title: CheckOut - With Hide Fields
Post by: tiagovareta on April 21, 2017, 19:31:31 PM
Hi,

I have a question about viewing the fields in CheckOut!

(https://www.dropbox.com/s/36tzkis4nq5febb/VirtueMart.png?dl=0)
https://www.dropbox.com/s/36tzkis4nq5febb/VirtueMart.png?dl=0 (https://www.dropbox.com/s/36tzkis4nq5febb/VirtueMart.png?dl=0)

As the image I upload, can I see the fields in red only after authentication?
In other words, if the client is not logged in, he / she sees the fields in green, once he / she logs in, all the fields appear.
Is it possible to do this? If yes what files to change?
Title: Re: CheckOut - With Hide Fields
Post by: GJC Web Design on April 21, 2017, 22:59:00 PM
yes.. you would just use the std. Joomla snippet to detect if they are logged in or not and then show/hide the template parts depending on the result