Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
288 B
1
Indexable
Never
document.addEventListener("DOMContentLoaded", function () {
  setTimeout(function () {
    if (window.EComposer) {
      window.EComposer.ajaxCartSuccess = function (data, form) {
        document.dispatchEvent(new CustomEvent("ajaxProduct:added"));
      };
    }
  }, 1500);
});
Leave a Comment