Sends a notification to the eSales service, about a non-eSales product add to cart
being made by the user in a session. This method should only be used on non-eSales
rendered products where no ticket is available.
Namespace: Apptus.ESales.Connector
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 3.47.3
Syntax
C#
public void NotifyNonEsalesAddingToCart( string productKey, string variantKey )
Parameters
- productKey
- Type: SystemString
The product key of the added to cart product or may be null if you have a variant key. - variantKey
- Type: SystemString
The variant key for the variant or null if it is an add to cart on a product only.
Exceptions
Exception | Condition |
---|---|
IllegalArgumentException | If productKey or variantKey are empty or both are null. |
See Also