Author Topic: Custom Field Plugin "Customer Text Input" and Shopper Groups  (Read 213 times)

loopy-vm

  • Beginner
  • *
  • Posts: 4
  • A beginner
Custom Field Plugin "Customer Text Input" and Shopper Groups
« on: November 02, 2017, 22:28:46 pm »
Hi,

I'm trying to set up a custom field for customers where they can enter some text. This field should only be available for a certain shopper group (our employees). So when they login they should be able to see the special field(s). I tried to solve that with the Custom Field Plugin "Customer Text Input", see here: https://dev.virtuemart.net/projects/virtuemart/wiki/Product_custom_fields_Plugin_Customer_Text_Input But I cannot make a field dependancy to a shopper group.

The background: When the employees enter their staff number they get disount on the product or even for free. Maybe there's another or better solution to solve that? I'm sorry if this is maybe a stupid question but still learning the first steps with virtuemart.
The configuration: Virtuemart 3.2.4, PHP-Version: 5.6.31, Joomla 3.8.1


thanks,
sven

loopy-vm

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: Custom Field Plugin "Customer Text Input" and Shopper Groups
« Reply #1 on: November 08, 2017, 10:13:37 am »
I'm solving it meanwhile with an additional field in the checkout section. I guess that's the proper way to do it.

Joomla! Version: 3.8.1
VM3: 3.2.4
PHP: 5.6.31

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2413
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Custom Field Plugin "Customer Text Input" and Shopper Groups
« Reply #2 on: December 04, 2017, 17:18:15 pm »
You can now use https://shop.st42.fr/en/products/shortcodes.htm.
If a feature is missing, you can contact me in the product.
See doc https://shop.st42.fr/en/shorcodes-english-doc#cart_input screenshot are in french for now, but the back-end have english translation of course.
And a sample http://pro.st42.fr/fr/shortcodes/test-product-no4.html the field Email is a text input with validation, of course all the 17 plugins are included in the shortcode plugin(more to come each month).