Fix duplicate description when editing the product summary (#40853)
* Fix duplicate description when editing the product summary * Add changelog file
This commit is contained in:
parent
c616e0c7c9
commit
e302d4cac8
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix duplicate description when editing the product summary
|
|
@ -137,7 +137,7 @@ class ProductVariationTemplate extends AbstractProductFormTemplate implements Pr
|
|||
'attributes' => [
|
||||
'property' => 'description',
|
||||
'label' => __( 'Note <optional />', 'woocommerce' ),
|
||||
'helpText' => '',
|
||||
'helpText' => 'Enter an optional note displayed on the product page when customers select this variation.',
|
||||
],
|
||||
]
|
||||
);
|
||||
|
|
|
@ -152,7 +152,7 @@ class SimpleProductTemplate extends AbstractProductFormTemplate implements Produ
|
|||
'blockName' => 'woocommerce/product-summary-field',
|
||||
'order' => 20,
|
||||
'attributes' => [
|
||||
'property' => 'description',
|
||||
'property' => 'short_description',
|
||||
],
|
||||
]
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue