Skip to content

RecaptchaSettings

The RecaptchaSettings object represents settings of recaptcha available in the storefront.

classDiagram
  direction LR
  class RecaptchaSettings{
    string siteKey
    bool isEnabled
  }

Properties

Attribute name Type Description
siteKey string Represents reCAPTCHA site key.
isEnabled bool Returns true if "secure shop's forms with reCAPTCHA" option enabled.

Examples

siteKey property

{{ recaptchaSettings.siteKey }}
some-secret-key

isEnabled property

{{ recaptchaSettings.isEnabled }}
true