Enabled product bundles
This commit is contained in:
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
Normal file → Executable file
14
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php
Normal file → Executable file
14
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php
Normal file → Executable file
@@ -332,7 +332,9 @@ class WC_Meta_Box_Order_Data {
|
||||
|
||||
$field_name = 'billing_' . $key;
|
||||
|
||||
if ( is_callable( array( $order, 'get_' . $field_name ) ) ) {
|
||||
if ( isset( $field['value'] ) ) {
|
||||
$field_value = $field['value'];
|
||||
} elseif ( is_callable( array( $order, 'get_' . $field_name ) ) ) {
|
||||
$field_value = $order->{"get_$field_name"}( 'edit' );
|
||||
} else {
|
||||
$field_value = $order->get_meta( '_' . $field_name );
|
||||
@@ -365,10 +367,12 @@ class WC_Meta_Box_Order_Data {
|
||||
|
||||
$field_name = 'billing_' . $key;
|
||||
|
||||
if ( is_callable( array( $order, 'get_' . $field_name ) ) ) {
|
||||
$field['value'] = $order->{"get_$field_name"}( 'edit' );
|
||||
} else {
|
||||
$field['value'] = $order->get_meta( '_' . $field_name );
|
||||
if ( ! isset( $field['value'] ) ) {
|
||||
if ( is_callable( array( $order, 'get_' . $field_name ) ) ) {
|
||||
$field['value'] = $order->{"get_$field_name"}( 'edit' );
|
||||
} else {
|
||||
$field['value'] = $order->get_meta( '_' . $field_name );
|
||||
}
|
||||
}
|
||||
|
||||
switch ( $field['type'] ) {
|
||||
|
||||
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-images.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-images.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-short-description.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-short-description.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-download-permission.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-download-permission.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-fee.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-fee.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item-meta.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item-meta.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-refund.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-refund.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-shipping.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-shipping.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-attribute.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-attribute.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-advanced.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-advanced.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-attributes.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-attributes.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-general.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-general.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-inventory.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-inventory.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-linked-products.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-linked-products.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-shipping.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-shipping.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-download.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-download.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-variation-download.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-variation-download.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-variation-admin.php
Normal file → Executable file
0
backend/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-variation-admin.php
Normal file → Executable file
Reference in New Issue
Block a user