__( 'Show "You save" price', 'tier-pricing-table' ), 'id' => Settings::SETTINGS_PREFIX . 'you_save_enabled', 'type' => TPTSwitchOption::FIELD_TYPE, 'default' => 'no', 'desc' => __( 'Show the difference between the regular price and a discounted price. You can also show it via the [tiered_price_you_save] shortcode.', 'tier-pricing-table' ), ), array( 'title' => __( 'Consider sale price as a discount', 'tier-pricing-table' ), 'id' => Settings::SETTINGS_PREFIX . 'you_save_consider_sale_price', 'type' => TPTSwitchOption::FIELD_TYPE, 'default' => 'yes', 'desc' => __( 'The difference between the regular and sale price will be included in the “you save” calculation.', 'tier-pricing-table' ), ), array( 'title' => __( 'Template', 'tier-pricing-table' ), 'id' => Settings::SETTINGS_PREFIX . 'you_save_template', 'default' => __( 'You save {tp_ys_total_price}', 'tier-pricing-table' ), 'placeholders' => array( 'tp_ys_price', 'tp_ys_total_price', ), 'type' => TPTTextTemplate::FIELD_TYPE, ), array( 'title' => __( '"You save" price color', 'tier-pricing-table' ), 'id' => Settings::SETTINGS_PREFIX . 'you_save_text_color', 'type' => 'color', 'css' => 'width:6em;', 'default' => '#FF0000', ), ); } }