We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1430601 commit 408020eCopy full SHA for 408020e
integrations/woocommerce/class-woocommerce.php
@@ -102,6 +102,7 @@ public function add_checkout_block_field()
102
'type' => 'checkbox',
103
'label' => $this->get_label_text(),
104
'optionalLabel' => $this->get_label_text(),
105
+ 'show_in_order_confirmation' => false,
106
]
107
);
108
}
@@ -162,8 +163,7 @@ public function triggered($order_id = null)
162
163
if (class_exists(Package::class) && class_exists(CheckoutFields::class)) {
164
$checkout_fields = Package::container()->get(CheckoutFields::class);
165
- if (
166
- $checkout_fields
+ if ($checkout_fields
167
168
&& method_exists($checkout_fields, 'get_field_from_object')
169
// method was private in earlier versions of WooCommerce, so check if callable
0 commit comments