CartOperationServiceProperties defines broadleaf.cartoperation.service.calculateProratedFulfillmentPricing.
This property determines whether order-level adjustments (a.k.a, offers or discounts) should be prorated to each order item, primarily for tax purposes.
Thus, if an order has a $20 discount and 5 items, then each item gets a $4 discount attributed to it.
Default is true.
CartOperationServiceProperties defines broadleaf.cartoperation.service switchCurrencyOnLocaleSwitch.
This property determines whether or not the cart should automatically switch to the new locale’s default currency when the locale is updated during a cart reprice.
Default is false.
CartOperationServiceProperties defines broadleaf.cartoperation.service.updateCatalogPricingOnCurrencyChange.
This property determines whether or not to force an update to the catalog pricing stored on the cart when repricing with a new currency.
Default is true.
CartOperationPricingProperties defines broadleaf.cartoperation.service.pricing.feeCalculationEnabled.
This property determines if fee calculation is enabled for the given context — meaning this should be configured by tenant or application.
Default is false.
Example for Enabling Fee Calculation by Tenant/Application:
# Example fee calculation configurations to demonstrate
# tenant-specific and application-specific configurations.
broadleaf:
cartoperation:
service:
pricing:
# configurations by tenant
tenant:
tenant-id-1:
fee-calculation-enabled: true
tenant-id-2:
fee-calculation-enabled: false
# configurations by application
application:
application-id-1:
fee-calculation-enabled: false
application-id-2:
fee-calculation-enabled: true