GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Namespaces | Variables
product.php File Reference

Go to the source code of this file.

Namespaces

 GravityView
 GPL2+
 

Variables

 $gravityview_view = GravityView_View::getInstance()
 
 $value = is_array( $value ) ? array_filter( $value, 'gravityview_is_not_empty_string' ) : $value
 See if there are any values in the product array GF provides. More...
 

Variable Documentation

◆ $gravityview_view

$gravityview_view = GravityView_View::getInstance()

Definition at line 12 of file product.php.

◆ $value

$value = is_array( $value ) ? array_filter( $value, 'gravityview_is_not_empty_string' ) : $value

See if there are any values in the product array GF provides.

(product name, quantity, price)

If not, Gravity Forms displays a useless string (", Qty: , Price:") instead of an empty value. This prevents the "Hide empty fields" setting from working.

Since
1.12

Definition at line 24 of file product.php.