You can add quantity to the products with the Item Quantity field in Paymattic. In this article, you will learn how you can add Item Quantity fields with Paymattic.
- To add Item Quantity, at first, you need to create a form. Let’s take a look at how to create a payment form.
- Add general fields as per your necessity.
- Add the Name, Email, or Phone field at the beginning of the form.
- Then, click on Item Quantity from the right-side panel of Form Editor.
Now, change the configuration as per your needs.
Item Quantity field comes with a wide range of configuration options to fine-tune your form settings. Let’s learn about the configuration options below-
Field Label: This option is used to give a label (sub-title) of this input field.
Placeholder: Using this the placeholder name is given. This option will include a hint of the estimated value that will be shown before the user enters a number, e.g. you can use “Type your age” as a placeholder here.
Required: The Required option allows you to turn on and off the field to make it mandatory. The choice required option states that the input area must be filled out before the form is submitted.
Default Quantity: The Default Quantity option is for adding the default number of items.
Target Payment Item: To select the product where the quantity will be applied.
Minimum Quantity: This option is for adding the minimum number of items.
Maximum Quantity: This option is for adding the maximum number of items.
Advanced: Here you can put a custom Admin Label, Field Wrapper CSS Class, and Input Element CSS Class to the field.
Admin Label: This label is used if the admin wants to see the field’s label from the back-end.
Field Wrapper CSS Class: This is a field used for adding a CSS class for the field wrapper element.
Input Element CSS Class: You can add custom CSS classes to the input field element itself.
Finally, click on the Update button to save the configuration.
Copy and paste the shortcode of the form on a specific page and you can preview your created form.