News:

Looking for documentation? Take a look on our wiki

Main Menu

Want to add custom fields only visible to specific user

Started by Metabern1, July 24, 2018, 16:54:10 PM

Previous topic - Next topic

Metabern1

Client's company sells products to their customers who have their own part numbers for those products.

I want to be able to add customers' part numbers and show them in VM detail page only when specific customer is logged in.

Any ideas on how I could do this?

GJC Web Design

how many customers are u talking about?

It is going to have to be something like detect the user id and display the custom field that matches by "some factor"

e.g. custom field title and layout position same as the userid

then in the template

if userid== custom field layout position-> display
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

https://shop.st42.fr/en/shorcodes-english-doc#specification can display customfields by user groups, but i think what you need is specific to each user and not shopper group ?