我想改变一个第三方模块的HTML布局,它在产品描述页面的数量输入字段上显示INC/DEC按钮。
为此,我必须覆盖第三方模块的JS,这是我所做的,并且正在正常工作。
的问题是,对于具有空缓存的第一个请求,它的依赖项没有加载并给出以下错误:
TypeError: $.widget is not a function (\app\code\MyCompany\General\view\frontend\web\js\qtycontrol.js)
TypeError: $(...).qtycontrol is not a function (where it has been called)
刷新一次