0
我想添加js文件以及自定义模块。添加它后,我的module.Payment方法的布局文件停止工作。可以有人告诉我什么是问题。 这里是代码 - custom_layout.xml用magento中的自定义模块添加js文件后,结帐页面不工作
<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<reference name="head">
<action method="addJs"><script>custom_module/crypto.js</script>
</action>
</reference>
</default>
</layout>
config.xml中
<frontend>
<layout>
<updates>
<ideal>
<file>custom_layout.xml</file>
</ideal>
</updates>
</layout>
</frontend>
之后加入加密JS,它是在头可用,但结帐页面是不是working.here是screenshots- screenshot of console
screenshot of non clickable checkout page