Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.5.0
-
Fix Version/s: 5.7.0-b1
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Create an order form with tos required
- Visit the order form
- Add an item to cart
- Proceed without checking the tos box
- See that you can checkout without the box checked
FYI the issue is in plugins/order/controllers/checkout.php around line 174. Around line 153 $order is defined (which seems to have been added during the task to implement abandoned cart functionality). This means the condition on 174 will always evaluate as false.