Support the development of TastyIgniter Learn more
I use the latest beta as of to date. When adding menu items I can not add allergies. It just stays empty whatever I do.
eko You need to create the allergen before assign it to the menu item. Where is displaying empty, admin, or storefront?
Let me explain. In Admin under “Restaurant” I have “Locations”, “Menu Items” , “Categories”, “Mealtimes” and “Tables” tabs. When clicking on “Menu Items” tab and selecting a food item it has an area to select Allergens. When clicking on that nothing happens . Also when editing options it shows an Allergen Select box for each that does no do anything either. I use latest version of Firefox for Mac and also tried Chrome. I paused Bitdefender’s webprotection.
eko You need to create the allergen first to be available in Menu Item view.
Go to Admin -> Restaurant -> Menu Items -> Allergens -> New
Once created. It will be available in Menu Item view.
Ah very stupid of me! Under Menu Items here is an Allergens tab. You can close this discussion, thanks!
Yes, thank you!
Hello, thank you so much for this amazing solution ! I reply to this post for a similar problem. When I want to add an allergen, an error message appear with this “The field locations is required”. But, I don’t have any field for select locations when I want to add an “allergen” items. Thank for your help, France love you 😀
wgeff Be sure to add assign the menu item to at least one location.
All menus are assigned to a location yet. When creating an allergen, the error message is always displayed and allergen not created. 😅
Yeah this looks to be a bug.
You need to remove
'locations' => 'required', 'locations.*' => 'integer',
from rules() in app/admin/request/Allergens.php
ryanmitchell hi, thank you so much !! It’s work well 😊