Hi Oly,
Just had the case and also checked with minimum plugins:
– Hello Theme (from Elementor), same with 2024 or 2022
– WPPizza 3.18.6
– WPPizza Add Ingredients 5.2.2 (also on 5.2.1)
How to reproduce:
– Enable “load JS in footer”
– Enable “Order Repurchase”
– Create an order with a custom pizza with a few ingredients from “Add Ingredients” plugin
– Try reordering the custom pizza on the history page
What is wrong:
The console throw an error
Uncaught ReferenceError: wppizza_addingredients is not defined
at HTMLDocument.<anonymous> (scripts.min.3.js?ver=5.2.2:1:112)
at e (jquery.min.js?ver=3.7.1:2:27028)
at t (jquery.min.js?ver=3.7.1:2:27330)
(anonymous) @ scripts.min.3.js?ver=5.2.2:1
e @ jquery.min.js?ver=3.7.1:2
[more jquery code]
By disabling the “load js in footer” option, it works correctly.
Thanks,
Best regards,
Patrick