这是我在onepagecheckout中的magento中的methods.phtml文件,我希望下拉(选择选项)按钮而不是单选按钮.........以便我可以选择付款方式来支付款项。在付款方式中选择选项而不是magento中的radion按钮

<?php if (!$methods = $this->getMethods()) : ?>

<?php echo $this->helper('checkout')->__('Sorry, no quotes are available for this order at this time.') ?>

<?php foreach ($this->getMethods() as $_method): $_code = $_method->getCode() ?>

<?php if(sizeof($this->getMethods()) > 1): ?>

getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />

<?php echo $this->htmlEscape($_method->getTitle()) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?>

<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>

//

<?php echo $this->getChildChildHtml('scripts'); ?>

payment.init();

//]]>

+0

我无法看到你的消息.......... –

+1

你有没有解决这个问题。我需要同样的东西在我的magento。所以请帮助我,如果你有这个问题的解决方案 –

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐