document.addEventListener("DOMContentLoaded", function () {
    const form = document.querySelector(".iapc-designer-wrapper form.cart");

    if (form) {
        form.setAttribute("enctype", "multipart/form-data");
    }
});
