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()

SavedForLater(IDataReader)

Initializes a new instance of the SavedForLater class.

public SavedForLater(IDataReader dataReader)

Parameters

dataReader IDataReader

The data reader.

Properties

DateAdded

Gets or sets the date added.

public DateTime? DateAdded { get; set; }

Property Value

DateTime?

The date added.

LanguageID

Gets or sets the language ID.

public string LanguageID { get; set; }

Property Value

string

The language ID.

ProductID

Gets or sets the product ID.

public string ProductID { get; set; }

Property Value

string

The product ID.

SavedForLaterID

ID of the "Saved for Later"

public int SavedForLaterID { get; set; }

Property Value

int

The saved for later identifier.

SavedForLaterSessionID

Gets or sets the saved for later session ID.

public string SavedForLaterSessionID { get; set; }

Property Value

string

The saved for later session ID.

VariantID

Gets or sets the variant ID.

public string VariantID { get; set; }

Property Value

string

The variant ID.

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

Fill(IDataReader)

Fills the specified data reader.

public override void Fill(IDataReader reader)

Parameters

reader IDataReader

The data reader.

FillRow(DataRow)

Fills the row.

protected override void FillRow(DataRow row)

Parameters

row DataRow

The row.

GetSavedForLaterByID(int)

Get the Saved For Later item by ID.

public static SavedForLater GetSavedForLaterByID(int id)

Parameters

id int

ID.

Returns

SavedForLater

SavedForLater.

GetSavedForLaterBySessionID(string)

Get SavedForLater by session id.

public static IEnumerable<SavedForLater> GetSavedForLaterBySessionID(string sessionID)

Parameters

sessionID string

The session identifier.

Returns

IEnumerable<SavedForLater>

SavedForLaterCollection.

GetSavedForLaterIdFromCookie()

Saves the SaveSavedForLater id to a cookie

public static string GetSavedForLaterIdFromCookie()

Returns

string

System.String.

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

To top