Now you just need to add your order total provider to the list. In DSC.config file, just add a new line to the following section. Make sure you sort order is correct.
<orderTotalServiceConfigurationdefaultProvider="">
<providers>
<clear />
<add enabled="True" sortOrder="0" name="SubtotalOrderTotalProvider" type="DotShoppingCart.Commercial.OrderTotal.SubtotalOrderTotalProvider" />
<add enabled="True" sortOrder="10" name="ShippingOrderTotalProvider" type="DotShoppingCart.Commercial.OrderTotal.ShippingOrderTotalProvider" />
<add enabled="True" sortOrder="100" name="TaxOrderTotalProvider" type="DotShoppingCart.Commercial.OrderTotal.TaxOrderTotalProvider" />
<add enabled="True" sortOrder="2147483647" name="GrandTotalOrderTotalProvider" type="DotShoppingCart.Commercial.OrderTotal.GrandTotalOrderTotalProvider" />
</providers>
</orderTotalServiceConfiguration>
DotShoppingCart Staff
|