- We can do the calculation with Views Simple Math Field module, so let's install it.
- To enter the amount of products by a user, we can create either HTML form or Webform (created with Webform module). The HTML form can be created in a custom block or in a view header.
- To get the amount entered by the user, let's add the "Views user input field" field provided by this module.
- The last thing we need to do is add a "Simple Math Field" and enter the formula to calculate the total price.
## Requirements
This module requires no modules outside of Drupal core.
## Installation
Install as you would normally install a contributed Drupal module. For further