DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Checkbox Configuration

plugin.tx_cart {
    settings {
        cart {
            acceptTermsAndConditions.pid = {$plugin.tx_cart.settings.cart.acceptTermsAndConditions.pid}
            acceptRevocationInstruction.pid = {$plugin.tx_cart.settings.cart.acceptRevocationInstruction.pid}
            acceptPrivacyPolicy.pid = {$plugin.tx_cart.settings.cart.acceptPrivacyPolicy.pid}
        }

        validation {
            orderItem {
                fields {
                    acceptTermsAndConditions.validator = Boolean
                    acceptTermsAndConditions.options.is = true
                    acceptRevocationInstruction.validator = Boolean
                    acceptRevocationInstruction.options.is = true
                    acceptPrivacyPolicy.validator = Boolean
                    acceptPrivacyPolicy.options.is = true
                }
            }
        }
    }
}

settings.cart.acceptTermsAndConditions.pid

Property

plugin.tx_cart.settings.cart.acceptTermsAndConditions.pid

Data type

int

Description

If a page id is given the translation key tx_cart_domain_model_order_item.accept_terms_and_conditions_with_link will show a checkbox label with a link to the given page. If the value is empty the tx_cart_domain_model_order_item.accept_terms_and_conditions_and_conditions translation key will be used in frontend.

settings.cart.acceptRevocationInstruction.pid

Property

plugin.tx_cart.settings.cart.acceptRevocationInstruction.pid

Data type

int

Description

If a page id is given the translation key tx_cart_domain_model_order_item.accept_revocation_instruction_with_link will show a checkbox label with a link to the given page. If the value is empty the tx_cart_domain_model_order_item.accept_revocation_instruction translation key will be used in frontend.

settings.cart.acceptPrivacyPolicy.pid

Property

plugin.tx_cart.settings.cart.acceptPrivacyPolicy.pid

Data type

int

Description

If a page id is given the translation key tx_cart_domain_model_order_item.accept_privacy_policy_with_link will show a checkbox label with a link to the given page. If the value is empty the tx_cart_domain_model_order_item.accept_privacy_policy translation key will be used in frontend.

settings.validation.orderItem.fields.acceptTermsAndConditions.validator

Property

plugin.tx_cart.settings.validation.orderItem.fields.acceptTermsAndConditions.validator

Data type

string

Description

Add a checkbox for accepting the terms and conditions. If validator is not Boolean the default template wont render a checkbox.

settings.validation.orderItem.fields.acceptTermsAndConditions.options.is

Property

plugin.tx_cart.settings.validation.orderItem.fields.acceptTermsAndConditions.options.is

Data type

string

Description

Defines which value is expected for terms and conditions checkbox.

settings.validation.orderItem.fields.acceptRevocationInstruction.validator

Property

plugin.tx_cart.settings.validation.orderItem.fields.acceptRevocationInstruction.validator

Data type

string

Description

Add a checkbox for accepting the revocation instruction. If validator is not Boolean the default template wont render a checkbox.

settings.validation.orderItem.fields.acceptRevocationInstruction.options.is

Property

plugin.tx_cart.settings.validation.orderItem.fields.acceptRevocationInstruction.options.is

Data type

string

Description

Defines which value is expected for revocation instruction checkbox.

settings.validation.orderItem.fields.acceptPrivacyPolicy.validator

Property

plugin.tx_cart.settings.validation.orderItem.fields.acceptPrivacyPolicy.validator

Data type

string

Description

Add a checkbox for accepting the rprivacy policy. If validator is not Boolean the default template wont render a checkbox.

settings.validation.orderItem.fields.acceptPrivacyPolicy.options.is

Property

plugin.tx_cart.settings.validation.orderItem.fields.acceptPrivacyPolicy.options.is

Data type

string

Description

Defines which value is expected for privacy policy checkbox.