Fix label
This commit is contained in:
parent
3dafeab52b
commit
3ce99ff326
1 changed files with 2 additions and 10 deletions
|
@ -51,16 +51,8 @@ const ProductVariantPrice: React.FC<ProductVariantPriceProps> = props => {
|
||||||
error={!!formErrors.price}
|
error={!!formErrors.price}
|
||||||
name="price"
|
name="price"
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
defaultMessage: "Selling price override"
|
defaultMessage: "Price"
|
||||||
})}
|
})}
|
||||||
hint={
|
|
||||||
getProductErrorMessage(formErrors.price, intl) ||
|
|
||||||
intl.formatMessage({
|
|
||||||
defaultMessage: "Optional",
|
|
||||||
description: "optional field",
|
|
||||||
id: "productVariantPriceOptionalPriceField"
|
|
||||||
})
|
|
||||||
}
|
|
||||||
value={price}
|
value={price}
|
||||||
currencySymbol={currencySymbol}
|
currencySymbol={currencySymbol}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
|
@ -72,7 +64,7 @@ const ProductVariantPrice: React.FC<ProductVariantPriceProps> = props => {
|
||||||
error={!!formErrors.cost_price}
|
error={!!formErrors.cost_price}
|
||||||
name="costPrice"
|
name="costPrice"
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
defaultMessage: "Cost price override"
|
defaultMessage: "Cost price"
|
||||||
})}
|
})}
|
||||||
hint={
|
hint={
|
||||||
getProductErrorMessage(formErrors.cost_price, intl) ||
|
getProductErrorMessage(formErrors.cost_price, intl) ||
|
||||||
|
|
Loading…
Reference in a new issue