namespace Wdr\App\Controllers;
if (!defined('ABSPATH')) exit;
const DEFAULT_OPTION = 'woo-discount-config-v2';
private static $config = array(), $default_config = array(
'modify_price_at_product_page' => 1,
'modify_price_at_category_page' => 1,
'modify_price_at_shop_page' => 1,
'apply_product_discount_to' => 'biggest_discount',
'apply_cart_discount_to' => 'biggest_discount',
'calculate_discount_from' => 'sale_price',
'show_on_sale_badge' => 'disabled',
'show_strikeout_on_cart' => 1,
'show_applied_rules_message_on_cart' => 0,
'free_shipping_title' => 'free shipping',
'apply_cart_discount_as' => 'fee',
'combine_all_cart_discounts' => 0,
'discount_label_for_combined_discounts' => 'Cart Discount',
'applied_rule_message' => 'Discount <strong>{{title}}</strong> has been applied to your cart.',
'you_saved_text' => 'You saved {{total_discount}}',
'display_saving_text' => 'disabled',
'table_column_header' => 1,
'table_title_column' => 1,
'table_discount_column' => 1,
'table_range_column' => 1,
'refresh_order_review' => 0,
'suppress_other_discount_plugins' => 0,
'show_sale_badge_only_on_condition_passed' => 0,
'position_to_show_bulk_table' => 'woocommerce_before_add_to_cart_form',
'position_to_show_discount_bar' => 'woocommerce_before_add_to_cart_form',
'customize_bulk_table_title' => 0,
'customize_bulk_table_discount' => 2,
'customize_bulk_table_range' => 1,
'apply_discount_subsequently' => 0,
'show_table_discount_column_value' => 1,
'table_title_column_name' => 'Title',
'table_discount_column_name' => 'Discount',
'table_range_column_name' => 'Range',
'apply_cart_discount_subsequently' => 0,
'awdr_banner_editer' => 0,
'display_banner_text' => 0,
'show_strikeout_when' => 'show_when_matched',
'disable_coupon_when_rule_applied' => 'run_both',
'customize_on_sale_badge' => '',
'force_override_on_sale_badge' => '',
'on_sale_badge_html' => '<span class="onsale">Sale!</span>',