title | issue |
---|---|
Fix change variant price on detail page |
NEXT-14348 |
- Added block
sw_product_price_form_fields
insrc/module/sw-product/component/sw-product-price-form/sw-product-price-form.html.twig
to wrap blocksw_product_price_form_tax_field
andsw_product_price_form_price_field
- Added block
sw_product_price_form_link
insrc/module/sw-product/component/sw-product-price-form/sw-product-price-form.html.twig
to wrap blocksw_product_price_form_advanced_prices_link
andsw_product_price_form_maintain_currencies_link
- Changed method
removePriceInheritation
insrc/module/sw-product/component/sw-product-price-form/index.js
to set default price values from parent product - Changed computed property
prices
insrc/module/sw-product/component/sw-product-price-form/index.js
to have correct getter and setter - Changed computed property
parentPrices
insrc/module/sw-product/component/sw-product-price-form/index.js
to make it more readable - Changed method
inheritationCheckFunction
insrc/module/sw-product/component/sw-product-price-form/index.js
to validate price inheritance status - Changed block
sw_product_price_form_price_field
insrc/module/sw-product/component/sw-product-price-form/sw-product-price-form.html.twig
by adding label attribute to show inheritance switch - Changed style of class
.sw-help-text
insrc/app/component/base/sw-help-text/sw-help-text.scss
to allow user hover the help text even it is disabled - Changed
viewer.privileges
insrc/module/sw-product/acl/index.js
to addnumber_range:read
andnumber_range_type:read
permission