| @@ -57,13 +57,36 @@ | ||
| 57 | 57 | ), |
| 58 | 58 | 'type' => TPTTextTemplate::FIELD_TYPE, |
| 59 | 59 | ), |
| 60 | 60 | array( |
| 61 | - 'title' => __( 'Badge text color', 'tier-pricing-table' ), | |
| 61 | + 'title' => __( 'Badge style', 'tier-pricing-table' ), | |
| 62 | + 'id' => Settings::SETTINGS_PREFIX . 'you_save_style', | |
| 63 | + 'type' => 'select', | |
| 64 | + 'default' => 'text', | |
| 65 | + 'options' => array( | |
| 66 | + 'text' => __( 'Text', 'tier-pricing-table' ), | |
| 67 | + 'pill' => __( 'Pill', 'tier-pricing-table' ), | |
| 68 | + 'outline' => __( 'Outlined', 'tier-pricing-table' ), | |
| 69 | + ), | |
| 70 | + ), | |
| 71 | + array( | |
| 72 | + 'title' => __( 'Badge position', 'tier-pricing-table' ), | |
| 73 | + 'id' => Settings::SETTINGS_PREFIX . 'you_save_position', | |
| 74 | + 'type' => 'select', | |
| 75 | + 'default' => 'price', | |
| 76 | + 'options' => array( | |
| 77 | + 'price' => __( 'Under the price', 'tier-pricing-table' ), | |
| 78 | + 'before_add_to_cart' => __( 'Above the add-to-cart button', 'tier-pricing-table' ), | |
| 79 | + 'after_table' => __( 'After the pricing layout', 'tier-pricing-table' ), | |
| 80 | + ), | |
| 81 | + ), | |
| 82 | + array( | |
| 83 | + 'title' => __( 'Badge colour', 'tier-pricing-table' ), | |
| 62 | 84 | 'id' => Settings::SETTINGS_PREFIX . 'you_save_text_color', |
| 63 | 85 | 'type' => 'color', |
| 64 | 86 | 'css' => 'width:6em;', |
| 65 | - 'default' => '#FF0000', | |
| 87 | + 'default' => '', | |
| 88 | + 'desc' => __( 'Leave empty to follow the active tier colour.', 'tier-pricing-table' ), | |
| 66 | 89 | ), |
| 67 | 90 | ); |
| 68 | 91 | } |
| 69 | 92 | } |