Click or drag to resize

IgnitionConfigurationSetDefaultShoppingCartCustomer(FuncNullableInt32) Method

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

Namespace: Ignition.Configuration
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
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