Consent on Modal should be checked by default
-
Hi,
Super happy with this plugin, except for one thing :
Checkboxes for consent in the modal should be checked by default.
That means if the user open the modal, if consent is not active (in admin setting) and required (in admin setting) and neither rejected or accepted (by the user), then the checkbox should be checked.After sources inspection, it can be easily done in
getConsentIdsByCookie()
function atIncludes/Helper.php line 648
in an “else” block :else { // Undefined so we presume the user want them all and then opt out $consents = Consent::getInstance()->getList(array( 'required' => array( 'value' => 0 ), 'active' => array( 'value' => 1 ) )); foreach ($consents as $consent) { $output[] = intval($consent->getId()); } }
Like in the “accept” case in the switch right above
line 626
.What da ya thank ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Consent on Modal should be checked by default’ is closed to new replies.