| @@ -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( |