Hi Mike
using 1.5 and its displaying the checkbox but allowing the order to go through regardless.
any thoughts?
Regards Chris King
using 1.5 and its displaying the checkbox but allowing the order to go through regardless.
any thoughts?
Regards Chris King
Hello Chris King, sorry for my late reply
If you want to allow checkout process to go through without any validation check for the terms/conditions checkbox then i don't think it's a good idea to use terms/conditions checkbox as there won't be any use of it as terms/conditions checkbox is used to ask customer that he/she agree with all the policies related to your store.
But still if you wanna go with the terms/conditions checkbox and at the same time you want the checkout process to go through without any validation check for the terms/conditions checkbox then you can do one thing:
In the above code you will see this:
if (chkbox.Checked == false)
{
lblError.Text = GetLocaleResourceString("Checkout.AcceptTerms.Error");
}
here code is checking if terms/conditions checkbox if not checked, it will display an error message
but in your condition you don't want this validation check and you want checkout process to continue, so in this above IF condition step you can use same code which is being used by the If condition when chkbox.Checked == true or in other words whatever is going on in the ELSE process you can do the same in this condition too when checkbox == false.
Hope it helps...