-
- Downloads
[FIX] website_sale: disable checkout btn if GTS unchecked at load
opw-774286 *Before this commit: On checkout, you can enable a step to force user to have the General Terms of Sale checked to continue the checkout. Checking/Unchecking will correctly disabled/enabled the button. The checkbox is already checked at page load (on the template). BUT, if the template has been modified to set the checkbox as unchecked at load (eg the user removed 'checked="checked"' from the template), the button will still be enabled even if the checkbox is unchecked. *Now: No matter if it is checked or not on the template, the button will correctly be enabled/disabled regarding the checkbox state at load.
Please register or sign in to comment