• Resolved crougeau

    (@crougeau)


    In the GDPR law, article 9 reads:

    Article 9 – Processing of special categories of personal data
    1. Processing of personal data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, or trade union membership, and the processing of genetic data, biometric data for the purpose of uniquely identifying a natural person, data concerning health or data concerning a natural person’s sex life or sexual orientation shall be prohibited.

    We use WooCommerce for ecommerce, in the course of which, we are asking some sensitive (and explicitly optional) questions.

    Could there be some woocommerce functionality – either in core or an extension – that handles specific opt-in for such kind of data that is especially sensitive and may require or otherwise need a specific opt-in for itself?

    Or if there is a different way to handle this, what has been the various approaches?

    Thanks, C.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hm I think you could do a Custom-Checkbox in the Order-Form

    
    /**
     * Add custom Fields to the Checkout page
     *
     * @param array $fields - Checkout-Fields array
     * @return array - New Checkout Fields array
     */
    function add_custom_checkout_fields($fields) {
    	$fields['billing']['billing_save_data'] = array(
    		'type' => 'checkbox',
    		'label' => __('Your TEXT for the Checkbox', 'woocommerce'),
    		'required' => true,
    		'class' => array('form-row-wide'),
    		'clear' => true
    	);
    
    	return $fields;
    }
    add_filter('woocommerce_checkout_fields', 'add_custom_checkout_fields', 1, 1);
    

    It’s automatically checked each time on new Orders, thanks for the Reminder, I have to insert this as well!

    • This reply was modified 6 years, 5 months ago by petschko.
    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @crougeau Other options for adding additional fields would be either the WooCommerce Checkout Field editor (https://woocommerce.com/products/woocommerce-checkout-field-editor/) or another plugin with the same functionality.

    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Opt-in specifically for addressing GDPR law Article 9: special privacy data’ is closed to new replies.