VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: loopy-vm on November 02, 2017, 22:28:46 PM

Title: Custom Field Plugin "Customer Text Input" and Shopper Groups
Post by: loopy-vm 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 (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
Title: Re: Custom Field Plugin "Customer Text Input" and Shopper Groups
Post by: loopy-vm 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
Title: Re: Custom Field Plugin "Customer Text Input" and Shopper Groups
Post by: Studio 42 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).