School Meals Pro adds an Assign meals to students section to the classic WooCommerce checkout.
Before using this feature, make sure:
- The customer is logged in.
- The customer has access to School Meals features.
- At least one student is saved.
- The cart contains meal products.
- The classic WooCommerce checkout is active.
The assignment table can display:
- Meal
- Meal day
- Quantity
- Student selector
The customer must select a valid student for every meal line before placing the order.
If a meal does not have a student assigned, checkout is blocked and an error message asks the customer to complete every assignment.
The student selector displays only the student’s name. However, the plugin saves the student’s school, grade, allergies, and notes with the order item.
Enable Separate product quantities under School Meals > Settings when customers need to assign identical meals to different students.
For example, a quantity of three becomes three individual meal lines with separate student selectors.
Enable Show meal day in checkout to display the assigned day beside each meal.
If the WooCommerce Checkout Block does not display the assignment section, enable Checkout shortcode page under School Meals > Settings.
Always test checkout using a regular customer account before accepting live orders.