Magento Onepage Checkout にセクションを追加する作業をしていましたが、多くの問題に遭遇した後、戻ってすべてのモジュールとそれらに添付されているすべてのファイルを削除しました。Checkoutに戻ると、ログイン時に [続行] ボタンが請求セクションで動かなくなることを除いて、すべてが正常に機能するようになりました。 Magento と Stack Overflow を初めて使用するので、billing.phtmlのコードを次に示します。さらに情報が必要な場合や、この投稿で詳細を見逃した場合はお知らせください。適切に質問する方法を学びたいと思っています。このサイトを最大限に活用するには、StackOverflow を使用します。
*****
<div class="buttons-set" id="billing-buttons-container">
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
<span class="please-wait" id="billing-please-wait" style="display:none;">
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
</span>
</div>
*****
<script type="text/javascript">
//<![CDATA[
var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
var billingForm = new VarienForm('co-billing-form');
//billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
$('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
//]]>
</script>
どんな助けでも大歓迎です。前もって感謝します!