Table of Contents

Class SavedForLater

Namespace
Dynamicweb.Ecommerce.Cart
Assembly
Dynamicweb.Ecommerce.dll
SavedForLater Data Object
public class SavedForLater : DbObject
Inheritance
SavedForLater
Inherited Members

Constructors

SavedForLater()

Initializes a new instance of the SavedForLater class.
public SavedForLater()
See Also

SavedForLater(IDataReader)

Initializes a new instance of the SavedForLater class.
public SavedForLater(IDataReader dataReader)

Parameters

dataReader IDataReader
The data reader.
See Also

Properties

DateAdded

Gets or sets the date added.
public DateTime? DateAdded { get; set; }

Property Value

DateTime?
The date added.
See Also

LanguageID

Gets or sets the language ID.
public string LanguageID { get; set; }

Property Value

string
The language ID.
See Also

ProductID

Gets or sets the product ID.
public string ProductID { get; set; }

Property Value

string
The product ID.
See Also

SavedForLaterID

ID of the "Saved for Later"
public int SavedForLaterID { get; set; }

Property Value

int
The saved for later identifier.
See Also

SavedForLaterSessionID

Gets or sets the saved for later session ID.
public string SavedForLaterSessionID { get; set; }

Property Value

string
The saved for later session ID.
See Also

VariantID

Gets or sets the variant ID.
public string VariantID { get; set; }

Property Value

string
The variant ID.
See Also

Methods

AddProductToSavedForLater(string, string, string)

Add product to "Saved For Later"
public static void AddProductToSavedForLater(string productID, string productVariantID, string languageId)

Parameters

productID string
Product Id
productVariantID string
Product variant Id
languageId string
Language Id
See Also

Fill(IDataReader)

Fills the specified data reader.
public override void Fill(IDataReader dataReader)

Parameters

dataReader IDataReader
The data reader.
See Also

FillRow(DataRow)

Fills the row.
protected override void FillRow(DataRow row)

Parameters

row DataRow
The row.
See Also

GetSavedForLaterByID(int)

Get the Saved For Later item by ID.
public static SavedForLater GetSavedForLaterByID(int id)

Parameters

id int
ID.

Returns

SavedForLater
SavedForLater.
See Also

GetSavedForLaterBySessionID(string)

Get SavedForLater by session id.
public static IEnumerable<SavedForLater> GetSavedForLaterBySessionID(string sessionID)

Parameters

sessionID string
The session identifier.

Returns

IEnumerable<SavedForLater>
SavedForLaterCollection.
See Also

GetSavedForLaterIdFromCookie()

Saves the SaveSavedForLater id to a cookie
public static string GetSavedForLaterIdFromCookie()

Returns

string
System.String.
See Also

RemoveProductFromSavedForLater(string, string, string)

Remove product from "Saved For Later"
public static void RemoveProductFromSavedForLater(string productId, string productVariantId, string languageId)

Parameters

productId string
The product identifier.
productVariantId string
The product variant identifier.
languageId string
Language Id
See Also

See Also

To top