AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ISnipcartItem..::..Id Property

This attribute is mandatory; it is your product's unique ID. If you are using a CMS , we suggest using the unique ID from your database. There are no constraints on Snipcart's side; you can use integers, GUID, strings, etc. This attribute will also be used to locate the element when crawling your webpage, to make sure the amount the customer is about to pay is correct and has mot been altered.

Namespace:  AdvantageCSP.Snipcart.Interfaces
Assembly:  AdvantageCSP.Snipcart (in AdvantageCSP.Snipcart.dll)

Syntax


[JsonPropertyAttribute]
[DisplayNameAttribute]
string Id { get; }

Field Value

The identifier.