Class CartItemProductServiceProperties
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.service.mapping.CartItemProductServiceProperties
-
@ConfigurationProperties("broadleaf.cartoperation.service") public class CartItemProductServiceProperties extends Object
-
-
Constructor Summary
Constructors Constructor Description CartItemProductServiceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMatchCartItemAssetToVariant()
Determines whether theCartItem.getImageAsset()
should match the selectedVariant
if possible instead of theProduct.getPrimaryAsset()
.void
setMatchCartItemAssetToVariant(boolean matchCartItemAssetToVariant)
Determines whether theCartItem.getImageAsset()
should match the selectedVariant
if possible instead of theProduct.getPrimaryAsset()
.
-
-
-
Method Detail
-
isMatchCartItemAssetToVariant
public boolean isMatchCartItemAssetToVariant()
Determines whether theCartItem.getImageAsset()
should match the selectedVariant
if possible instead of theProduct.getPrimaryAsset()
. The matching will be done viaDefaultCartItemCatalogInformationService
if theVariant
hasoptionValues
to use to match with aproduct asset
by tag.
-
setMatchCartItemAssetToVariant
public void setMatchCartItemAssetToVariant(boolean matchCartItemAssetToVariant)
Determines whether theCartItem.getImageAsset()
should match the selectedVariant
if possible instead of theProduct.getPrimaryAsset()
. The matching will be done viaDefaultCartItemCatalogInformationService
if theVariant
hasoptionValues
to use to match with aproduct asset
by tag.
-
-