PluginProbe
Tiered Pricing Table for WooCommerce / 8.1.0
Tiered Pricing Table for WooCommerce v8.1.0
8.1.0 8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 All 92 releases
← All changes | src/Addons/YouSave/YouSaveSubsection.php +25 -2 8.0.2 → 8.1.0 View file →
@@ -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 }