GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Go to the source code of this file.
Variables | |
$display_value = $gravityview->display_value | |
if(''==$display_value) | $entry = $gravityview->entry->as_entry() |
if(! isset( $gravityview)||empty( $gravityview->template)) | $field_id = $gravityview->field->ID |
The default product field output template. More... | |
$value = $gravityview->value | |
See if there are any values in the product array GF provides. More... | |
$display_value = $gravityview->display_value |
Definition at line 16 of file field-product-html.php.
if (''==$display_value) $entry = $gravityview->entry->as_entry() |
Definition at line 20 of file field-product-html.php.
if (! isset($gravityview)||empty($gravityview->template)) $field_id = $gravityview->field->ID |
The default product field output template.
$gravityview
Definition at line 14 of file field-product-html.php.
$value = $gravityview->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.
Definition at line 15 of file field-product-html.php.