@Design75
I solved Problem 2 (checkout without account was able to be done without agreeing with privacy notice):
you have to add something to quick_checkout.php. I am not sure if it matters where, but I did it behind this part:
Code:
if (ACCOUNT_GENDER == 'true') {
if (isset($_POST['gender'])) {
$gender = zen_db_prepare_input($_POST['gender']);
} else {
$gender = false;
}
}
And this is what is added:
Code:
if (DISPLAY_PRIVACY_CONDITIONS == 'true') {
if (!isset($_POST['privacy_conditions']) || ($_POST['privacy_conditions'] != '1')) {
$error = true;
$messageStack->add('no_account', ERROR_PRIVACY_STATEMENT_NOT_ACCEPTED, 'error');
}
}
In the checkout without account screen, the form is not emptied when not checking the privacy checkbox.
Problem 1 : the emptied form is still there. Can anyone help?
Thanks