Click or drag to resize
ShoppingCartInfoProviderGetShoppingCartResolver Method (ShoppingCartInfo, Boolean)
Returns initialized shopping cart resolver.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static MacroResolver GetShoppingCartResolver(
	ShoppingCartInfo cart,
	bool specialMacros
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart data to be used for resolver initialization
specialMacros
Type: SystemBoolean
If true, special macros are added to the resolver (due to the backward compatibility).

Return Value

Type: MacroResolver
See Also