ConsentsSettings¶
The ConsentsSettings object represents settings for cookies consents and privacy policy popup in the storefront
classDiagram
direction LR
ConsentsSettings --> Page
ConsentsSettings --> Url
class ConsentsSettings{
bool isCookieInformationEnabled
string headingHeader
string headingContent
string cookiesPolicyHeader
string cookiesPolicyDescription
string necessaryCookiesDescription
string functionalCookiesDescription
string analyticalCookiesDescription
string platformCookiesDescription
string marketingCookiesDescription
bool hasPrivacyPolicy
Page privacyPolicyPage
string privacyPolicyLinkDescription
Url privacyPolicyLink
}
class Page{
}
class Url{
}
Properties¶
| Attribute name | Type | Description |
|---|---|---|
| isCookieInformationEnabled | bool |
Indicates whether the cookie information is enabled. |
| headingHeader | string |
The header of the heading. |
| headingContent | string |
The HTML content of the heading. |
| cookiesPolicyHeader | string |
The header of the cookies policy. |
| cookiesPolicyDescription | string |
The HTML content of the cookies policy. |
| necessaryCookiesDescription | string |
The HTML content of the necessary cookies description. |
| functionalCookiesDescription | string |
The HTML content of the functional cookies description. |
| analyticalCookiesDescription | string |
The HTML content of the analytical cookies description. |
| platformCookiesDescription | string |
The HTML content of the platform cookies description. |
| marketingCookiesDescription | string |
The HTML content of the marketing cookies description. |
| hasPrivacyPolicy | bool |
Indicates whether there is privacy policy information page in the storefront. |
| privacyPolicyPage | Page |
Reference to the Page object that provides information about the privacy policy page. |
| privacyPolicyLinkDescription | string |
The description of the privacy policy link. |
| privacyPolicyLink | Url |
Reference to the Url object that provides information about the privacy policy page link. |
Examples¶
headingHeader property¶
headingContent property¶
Note
The content of this property is a HTML string. To render it properly you need to apply raw filter.
cookiesPolicyHeader property¶
cookiesPolicyDescription property¶
Note
The content of this property is a HTML string. To render it properly you need to apply raw filter.
necessaryCookiesDescription property¶
Note
The content of this property is a HTML string. To render it properly you need to apply raw filter.
functionalCookiesDescription property¶
Note
The content of this property is a HTML string. To render it properly you need to apply raw filter.
analyticalCookiesDescription property¶
Note
The content of this property is a HTML string. To render it properly you need to apply raw filter.
platformCookiesDescription property¶
Note
The content of this property is a HTML string. To render it properly you need to apply raw filter.
marketingCookiesDescription property¶
Note
The content of this property is a HTML string. To render it properly you need to apply raw filter.