Untitled

 avatar
unknown
plain_text
a year ago
288 B
4
Indexable
document.addEventListener("DOMContentLoaded", function () {
  setTimeout(function () {
    if (window.EComposer) {
      window.EComposer.ajaxCartSuccess = function (data, form) {
        document.dispatchEvent(new CustomEvent("ajaxProduct:added"));
      };
    }
  }, 1500);
});
Editor is loading...
Leave a Comment