Php magento自定义付款方式表单未在现场显示,但正在进行暂存
我有自定义付款模块。 我发现在onestepheckout中,这是付款方式表单的呈现方式:Php magento自定义付款方式表单未在现场显示,但正在进行暂存,php,magento,Php,Magento,我有自定义付款模块。 我发现在onestepheckout中,这是付款方式表单的呈现方式: <?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?> <dd id="container_payment_method_<?php echo $_code; ?>" class="payment-method" <?php if(!$this->getSelectedMet
<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
<dd id="container_payment_method_<?php echo $_code; ?>" class="payment-method" <?php if(!$this->getSelectedMethodCode()==$_code || !($hide_nonfree_methods && $_code == 'free')): ?> style="display:none"<?php endif; ?>>
<?php echo $html; ?>
</dd>
检查你的后端
system > configuration > sales > payment methods
是否启用了任何方法
如果未启用任何功能,它将返回FALSE这些是自定义扩展,请联系相应的模块提供商支持以解决您的问题这些功能已启用,包括我的自定义付款方法。尝试var_dump(get_class($this));在那个档案上。看看你得到了什么?