Introduction
The gform.products
object in Gravity Forms provides utility methods for managing product related functionality. A Product field in the form is required for the object to be available.
Overview
Method | Parameters | Returns | Description |
---|---|---|---|
getPaymentAmount() | Object | Number | Calculates the total payment amount for products in a form. |
handleConditionalLogicExecuted() | Object | Undefined | Processes product updates when conditional logic is triggered. |
handleProductChange() | Object | Undefined | Manages changes to product selections or quantities in a form. |
updateProducts() | Object | Undefined | Updates product data and recalculates totals in a form. |