Order Notes Methods

SmartCart.getNotesDataobject | null

Returns the notes state data from the SmartCart object (not the settings).

SmartCart.getNotesLabelstring

Returns the configured label for the notes input

SmartCart.getNotesPlaceholderstring

Returns the configured placeholder for the notes input

SmartCart.getNotesSettingsobject

Returns the notes settings from the SmartCart object.

SmartCart.notesChangevoid

Handles updating the notes value

SmartCart.notesEnabledboolean

Returns a boolean indicating whether or not the notes component is enabled (ie. not hidden)

SmartCart.notesIsVisibleboolean

Returns a boolean indicating whether or not the notes input is visible to customer

SmartCart.notesRemainingCharactersstring

Returns a string containing the remaining characters message

SmartCart.notesTogglevoid

Handles toggling the visibility of the notes input

SmartCart.getNotesDataobject | null

Returns the notes state data from the SmartCart object (not the settings).

SmartCart.getNotesLabelstring

Returns the configured label for the notes input

SmartCart.getNotesPlaceholderstring

Returns the configured placeholder for the notes input

SmartCart.getNotesSettingsobject

Returns the notes settings from the SmartCart object.

SmartCart.notesChangevoid

Handles updating the notes value

ParamTypeDescription
eventEventDOM user action event

SmartCart.notesEnabledboolean

Returns a boolean indicating whether or not the notes component is enabled (ie. not hidden)

SmartCart.notesIsVisibleboolean

Returns a boolean indicating whether or not the notes input is visible to customer

SmartCart.notesRemainingCharactersstring

Returns a string containing the remaining characters message

SmartCart.notesTogglevoid

Handles toggling the visibility of the notes input