title | issue | author | author_email | author_github |
---|---|---|---|---|
Price indication regulation Guideline |
NEXT-19582 |
Ramona Schwering |
leichteckig |
- Added new class
Shopware\Core\Checkout\Cart\Price\Struct\RegulationPrice
- Added property
regulationPrice
inShopware\Core\Checkout\Cart\Price\Struct\CalculatedPrice
- Added property
regulationPrice
inShopware\Core\Checkout\Cart\Price\Struct\QuantityPriceDefinition
- Added property
regulationPrice
inShopware\Core\Framework\DataAbstractionLayer\Pricing\Price
- Added method
Shopware\Core\Checkout\Cart\Price\GrossPriceCalculator::calculateRegulationPrice()
- Added method
Shopware\Core\Checkout\Cart\Price\NetPriceCalculator::calculateRegulationPrice()
- Added method
Shopware\Core\Content\Product\SalesChannel\Price\ProductPriceCalculator::getRegulationPrice()
- Changed
Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\PriceFieldSerializer
to decode the regulationPrice
- Added property
hideRegulationPrices
insrc/app/component/form/sw-list-price-field/index.js
- Added property
hideRegulationPrices
insrc/app/component/form/sw-list-price-field/index.js
- Added computed
regulationPrice
,defaultRegulationPricePrice
,regulationPriceHelpText
insrc/app/component/form/sw-list-price-field/index.js
- Added method
regulationPriceChanged
insrc/app/component/form/sw-list-price-field/index.js
- Changed
src/module/sw-bulk-edit/page/sw-bulk-edit-product/index.js
to support regulation prices - Added block
sw_list_price_field_regulation_price
insrc/app/component/form/sw-list-price-field/sw-list-price-field.html.twig
- Changed method
removePriceInheritation
insrc/module/sw-product/component/sw-product-price-form/index.js
- Added regulation price support to
sw-maintain-currencies-modal
- Added regulation price support to
sw-product-detail-context-prices
- Added snippet
global.sw-list-price-field.labelRegulationPriceGross
- Added snippet
global.sw-list-price-field.helpTextRegulationPriceGross
- Added snippet
global.sw-list-price-field.labelRegulationPriceNet
- Added snippet
global.sw-maintain-currencies-modal.columnReferencePriceHeader
- Added snippet
sw-product.advancedPrices.labelRegulationPrice
- Added snippet
sw-bulk-edit.product.prices.purchasePrices.changeLabel
- Added snippet
sw-bulk-edit.product.prices.purchasePrices.placeholderPurchasePrices
- Added element for previous given price in the following components:
src/Storefront/Resources/views/storefront/component/buy-widget/buy-widget-price.html.twig
src/Storefront/Resources/views/storefront/component/product/block-price.html.twig
src/Storefront/Resources/views/storefront/page/product-detail/buy-widget-price.html.twig
- Added element for previous given price in the following components:
platform/src/Storefront/Resources/views/storefront/component/product/card/price-unit.html.twig
platform/src/Storefront/Resources/views/storefront/layout/header/search-suggest.html.twig