PluginProbe
Tiered Pricing Table for WooCommerce / 8.0.2
Tiered Pricing Table for WooCommerce v8.0.2
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 2.3.3 All 91 releases
← All changes | src/Addons/PricingSummary/SummarySubsection.php +13 -6 6.4.0 → 8.0.2 View file →
@@ -21,9 +21,9 @@
21 21
22 22 public function getSettings(): array {
23 23 return array(
24 24 array(
25 - 'title' => __( 'Enable pricing summary', 'tier-pricing-table' ),
25 + 'title' => __( 'Show pricing summary block', 'tier-pricing-table' ),
26 26 'id' => Settings::SETTINGS_PREFIX . 'display_summary',
27 27 'type' => TPTSwitchOption::FIELD_TYPE,
28 28 'default' => 'yes',
29 29 'desc_tip' => true,
@@ -28,9 +28,16 @@
28 28 'default' => 'yes',
29 29 'desc_tip' => true,
30 30 ),
31 31 array(
32 - 'title' => __( 'Title', 'tier-pricing-table' ),
32 + 'title' => __( 'Show for standard products (non-tiered)', 'tier-pricing-table' ),
33 + 'id' => Settings::SETTINGS_PREFIX . 'display_summary_non_tiered',
34 + 'type' => TPTSwitchOption::FIELD_TYPE,
35 + 'default' => 'no',
36 + 'desc' => __( 'Display the pricing summary block for regular WooCommerce products even if they don\'t have tiered pricing rules.', 'tier-pricing-table' ),
37 + ),
38 + array(
39 + 'title' => __( 'Summary block title', 'tier-pricing-table' ),
33 40 'id' => Settings::SETTINGS_PREFIX . 'summary_title',
34 41 'type' => 'text',
35 42 'desc' => __( 'The name is displaying above the summary block.', 'tier-pricing-table' ),
36 43 'desc_tip' => true,
@@ -36,9 +43,9 @@
36 43 'desc_tip' => true,
37 44 'default' => '',
38 45 ),
39 46 array(
40 - 'title' => __( 'Position on product page', 'tier-pricing-table' ),
47 + 'title' => __( 'Block position', 'tier-pricing-table' ),
41 48 'id' => Settings::SETTINGS_PREFIX . 'summary_position_hook',
42 49 'type' => 'select',
43 50 'options' => array(
44 51 'woocommerce_before_add_to_cart_button' => __( 'Above buy button', 'tier-pricing-table' ),
@@ -53,15 +60,15 @@
53 60 'desc' => __( 'Where to display the summary block.', 'tier-pricing-table' ),
54 61 'desc_tip' => true,
55 62 ),
56 63 array(
57 - 'title' => __( 'Totals template', 'tier-pricing-table' ),
64 + 'title' => __( 'Summary layout', 'tier-pricing-table' ),
58 65 'id' => Settings::SETTINGS_PREFIX . 'summary_type',
59 66 'type' => TPTDisplayType::FIELD_TYPE,
60 67 'options' => array(
61 68 'detailed' => __( 'Detailed', 'tier-pricing-table' ),
62 - 'table' => __( 'Reduced', 'tier-pricing-table' ),
63 - 'inline' => __( 'Labels', 'tier-pricing-table' ),
69 + 'table' => __( 'Compact', 'tier-pricing-table' ),
70 + 'inline' => __( 'Inline labels', 'tier-pricing-table' ),
64 71 ),
65 72 'default' => 'table',
66 73 ),
67 74 array(