gform.products

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

MethodParametersReturnsDescription
getPaymentAmount()ObjectNumberCalculates the total payment amount for products in a form.
handleConditionalLogicExecuted()ObjectUndefinedProcesses product updates when conditional logic is triggered.
handleProductChange()ObjectUndefinedManages changes to product selections or quantities in a form.
updateProducts()ObjectUndefinedUpdates product data and recalculates totals in a form.