INSERT IGNORE INTO `#__djc2_users_extra_fields` (`id`, `is_core`, `name`, `label`, `description`, `placeholder`, `attributes`, `alias`, `client_type`, `imagelabel`, `type`, `target_fieldset`, `ordering`, `in_register`, `in_profile`, `in_checkout`, `in_query`, `in_delivery`, `params`) VALUES
(21, 1, 'Want invoice', 'COM_DJCATALOG2_UP_WANT_INVOICE', '', '', '', 'want_invoice', 'A', NULL, 'core:radio', 'djcatalog2profile', 25, 0, 0, 1, 0, 0, NULL);

ALTER TABLE `#__djc2_orders` ADD `want_invoice` TINYINT NOT NULL DEFAULT '0' AFTER `additional_user_data`; 