IgnitionConfigurationSetDefaultShoppingCartCustomer(FuncNullableInt32) Method

Sets a callback to be used to determine the default Shopping Cart Customer by instances of ShoppingCartService.

Definition

Namespace: Ignition.Configuration
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public IgnitionConfiguration SetDefaultShoppingCartCustomer(
	Func<int?> cartCustomerRecordNumber
)

Parameters

cartCustomerRecordNumber  FuncNullableInt32
A callback to determine new default Shopping Cart Customer

Return Value

IgnitionConfiguration

Remarks

This callback will be used every time an instance of ShoppingCartService needs to determine the Shopping Cart Customer for the cart. Typically, this callback should look up and return the NetForumId of the parent application's currently logged in user.

See Also