Author Topic: CheckOut - With Hide Fields  (Read 220 times)

tiagovareta

  • Beginner
  • *
  • Posts: 5
CheckOut - With Hide Fields
« 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

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?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7590
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: CheckOut - With Hide Fields
« Reply #1 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation