'[order-cart-discount]'); public $display_name = 'Price: Discount'; public function getValue($post, $field) { $field['value'] = '_cart_discount'; $value = parent::getValue($post, $field); return $value !== '' ? $this->getValueWithCurrency($value, $field) : ''; } }