| @@ -39,18 +39,36 @@ | ||
| 39 | 39 | 'tp_next_price', |
| 40 | 40 | 'tp_next_discount', |
| 41 | 41 | 'tp_actual_discount', |
| 42 | 42 | ), |
| 43 | - 'default' => __( 'Buy <b>{tp_required_quantity}</b> more to get <b>{tp_next_price}</b> each', | |
| 43 | + 'default' => __( 'Add <b>{tp_required_quantity}</b> more to get <b>{tp_next_price}</b> each', | |
| 44 | 44 | 'tier-pricing-table' ), |
| 45 | 45 | 'desc_tip' => false, |
| 46 | 46 | ), |
| 47 | 47 | |
| 48 | 48 | array( |
| 49 | + 'title' => __( 'Quantity link', 'tier-pricing-table' ), | |
| 50 | + 'id' => Settings::SETTINGS_PREFIX . 'cart_upsell_link', | |
| 51 | + 'type' => TPTSwitchOption::FIELD_TYPE, | |
| 52 | + 'default' => 'yes', | |
| 53 | + 'desc_tip' => false, | |
| 54 | + 'desc' => __( 'The required quantity in the message is a link: one click sets the cart line to the next tier and updates the cart.', 'tier-pricing-table' ), | |
| 55 | + ), | |
| 56 | + | |
| 57 | + array( | |
| 58 | + 'title' => __( 'Progress bar', 'tier-pricing-table' ), | |
| 59 | + 'id' => Settings::SETTINGS_PREFIX . 'cart_upsell_progress', | |
| 60 | + 'type' => TPTSwitchOption::FIELD_TYPE, | |
| 61 | + 'default' => 'no', | |
| 62 | + 'desc_tip' => false, | |
| 63 | + 'desc' => __( 'Show a bar under the message that fills up as the quantity approaches the next tier.', 'tier-pricing-table' ), | |
| 64 | + ), | |
| 65 | + | |
| 66 | + array( | |
| 49 | 67 | 'title' => __( 'Upsell text color', 'tier-pricing-table' ), |
| 50 | 68 | 'id' => Settings::SETTINGS_PREFIX . 'cart_upsell_color', |
| 51 | 69 | 'type' => 'color', |
| 52 | - 'default' => '#3858e9', | |
| 70 | + 'default' => '#059669', | |
| 53 | 71 | 'css' => 'width:6em;', |
| 54 | 72 | 'desc_tip' => false, |
| 55 | 73 | 'desc' => __( 'Note: This feature is not compatible with the Gutenberg Cart/Checkout blocks.', |
| 56 | 74 | 'tier-pricing-table' ), |