Quantity calculator files

These calculator files are similar to other types of php files, the main difference is that they should be named like this

Global quantity calculator file:

quantity.php

Product quantity file

quantityX.php (X is the product ID)

The name of the result variable:

$qty

Example:

Was this article helpful to you? Yes No