Abandoned Carts
Definition
Get all abandoned shopping carts. In nopCommerce, wishlist and cart objects are the same.
You can get the abandoned carts and their details such as the last activity time and items through this activity and then try to attract your customers by making them some offers.
In the Abandoned Cart activity, you can see one example of this activity usage.
Properties
Property | Description |
---|---|
Shopping Cart Type | Type of the shopping cart you plan to get. |
tip
You can get the wishlist and cart by checking them both.
Outcomes
Outcome | Description |
---|---|
Done | Returns the output model. |
Output Model
{
CartLastActivity: Date,
ShoppingCartItems: [{
Id: number,
Store: string,
ProductId: number,
ProductName: string,
AttributeInfo: string,
UnitPrice: string,
UnitPriceValue: number,
Quantity: number,
Total: string,
TotalValue: number,
UpdatedOn: Date
}],
CustomerInfo: {
Id: number,
Email: string,
Mobile: string,
Username: string,
Gender: string,
FirstName: string,
LastName: string,
NationalCode: string,
DateOfBirthDay?: number,
DateOfBirthMonth?: number,
DateOfBirthYear?: number,
Company: string,
StreetAddress: string,
StreetAddress2: string,
ZipPostalCode: string,
City: string,
CountryId: number,
Phone: string,
Fax: string,
CreatedOnUtc: Date,
UpdatedOnUtc: Date,
LastLoginDateUtc?: Date,
LastActivityDateUtc: Date
}
}