AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

SnipcartEngine..::..PageChanged Method (AdvantageMasterPageTemplate, Action<(Of <(<'String>)>)>, eSnipcartServiceType)

This event is triggered when a page of the cart has finished rendering and loading its data. It can be useful when you want to track custom HTML in a cart's page.

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

Syntax


public static void PageChanged(
	AdvantageMasterPageTemplate masterPage,
	Action<string> myMethodName,
	eSnipcartServiceType serviceType
)

Parameters

masterPage
Type: AdvantageCMS.Core.Common.BaseClasses..::..AdvantageMasterPageTemplate
The AdvantageMasterPageTemplate that called this method
myMethodName
Type: Action<(Of <(<'String>)>)>
The method name to call on trigger
serviceType
Type: AdvantageCSP.Snipcart.Enums..::..eSnipcartServiceType
PostBack or Callback