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 booleanisMatchCartItemAssetToVariant()Determines whether theCartItem.getImageAsset()should match the selectedVariantif possible instead of theProduct.getPrimaryAsset().voidsetMatchCartItemAssetToVariant(boolean matchCartItemAssetToVariant)Determines whether theCartItem.getImageAsset()should match the selectedVariantif possible instead of theProduct.getPrimaryAsset().
-
-
-
Method Detail
-
isMatchCartItemAssetToVariant
public boolean isMatchCartItemAssetToVariant()
Determines whether theCartItem.getImageAsset()should match the selectedVariantif possible instead of theProduct.getPrimaryAsset(). The matching will be done viaDefaultCartItemCatalogInformationServiceif theVarianthasoptionValuesto use to match with aproduct assetby tag.
-
setMatchCartItemAssetToVariant
public void setMatchCartItemAssetToVariant(boolean matchCartItemAssetToVariant)
Determines whether theCartItem.getImageAsset()should match the selectedVariantif possible instead of theProduct.getPrimaryAsset(). The matching will be done viaDefaultCartItemCatalogInformationServiceif theVarianthasoptionValuesto use to match with aproduct assetby tag.
-
-