ReqText Virtuemart plugin


ReqText is a VirtueMart 2.x/3.x plugin to add the functionality of required customer input fields for a product. This is a feature the current version of VirtueMart does not have.

The plugin will catch the click on the "Add to Cart" button to check if a customer input field is required and shows a "This is required' message. The plugin can add radio buttons, checkboxes, text fields, textareas and dropdown lists. When multiple choices are set they can be presented with individual prices (extra costs) when needed.

Your customers must first enter a text or make a selection out of given choices before adding the product to the cart (only when the required option is set ofcourse).

textsample selectsample radiosample reqtextdemo

Why do I need ReqText?

Well, as stated above – the current version of VirtueMart does not offer the possibility to add customer input fields that must be filled (required) before ordering a product. Also missing is the option to add radio buttons or checkboxes. You can set the options for each product individually and this can be achieved using the CUSTOM FIELDS  option in the VirtueMart backend.

So when you require input for a product you can use this ReqText plugin. For instance when you sell personalized towels with the printed name of your customer, you need to know what the customer’s name is before you can deliver such an order. The customer selects the product in your webshop and before the ADD TO CART button can be clicked a text field must be filled. If not the customer will be noticed about the missing text and the order is not placed in the cart, yet.

After filling all required fields the product can be added to the cart and all entered values are listed beneath the product in the cart.

Short overview

The (required) input fields for the ReqText plugin are:

  • Text input
    • Limit to only numeric or alphanumeric input (or a combination)
  • Textarea input
    • Limit to only numeric or alphanumeric input (or a combination)
  • Dropdown list (selectlist)
    • Only single selection possible
    • Seperate prices for each option
  • Radio buttons list
    • Seperate prices for each option
  • Checkbox list
    • Multiple choices possible
    • Seperate prices for each option
  • Datepicker (version 1.2 and higher)
    • Can be usefull if a start or end date is required

For each input fields you can set the input to 'required' or not. If a input field is required the customer must enter a value (or make a selection) before the 'Add to cart button' can be used. If the required setting isn't set a choice can be made but isn't mandatory to order a product. Each required field can have it's own styled tooltip and custom text to display as a tip.

The 'Required Field' message is shown using the Poshy Tip jQuery library ( and has several CSS styles which you can use:


And ofcourse the plugin is multilingual aware. The default languages added to the installation package are english and dutch. You can always create your own language files using a copy of the en-GB.plg_vmcustom_reqtext.ini file and the en-GB.plg_vmcustom_reqtext.sys.ini file.

Full manual

After you've purchased a license for the use of the ReqText plugin you can immediately download the ReqText plugin and the full manual in PDF format. The manual describes how to install and use the ReqText plugin and extensivly describes every possible setting for the plugin.

How about support?

Ofcourse we'll give you support when you need it! From the moment you've purchased the ReqText plugin you'll recieve full support for one year. This also includes the downloading of new versions and bugfixes for the ReqText plugin.
And best of all; you can use the ReqText plugin on any site you develop for a period of a life time!

VirtueMart note

This plugin does not affect any source code of the VirtueMart package or it’s plugins. You can update VirtueMart at any time without the loss of the ReqText functionality.

What this plugin cannot do

Our ReqText plugin is very powerfull when you use it correctly but sadly enough it cannot perform magic miracles. A few things the plugin cannot do:

  • ReqText cannot add the required function to already installed (existing) plugins in your VirtueMart shop. So the plugin from a third party developer is NOT supported by this plugin.
  • Adding fields needs to be set for each product seperatly. For now it is not possible to add one option to more than one product at once.
  • When a third party plugin also uses a adapted vm_customprices.js function you cannot expect ReqText to work correctly if it has a conflict with that code. The order of loading the script  cannot be controlled so all plugins work together. And we cannot merge plugins with our own plugins if we did not write them ourselves (sadly enough).