1
私は顧客登録用に1つの属性を作成しました。登録には問題ありません。 1ページのチェックアウトで問題が発生しています。通常の登録と同様に、私はワンステップチェックアウト登録時にも顧客から価値を得ていますが、その値を属性に保存しないという問題があります。予めユーザMagento 1ページの顧客からのカスタム属性の値をチェックアウトする(billing.phtml)
<li class="fields">
<div class="field">
<label for="<?php echo $attribute->getAttributeCode(); ?>" <?php if($attribute->getIsRequired()):?>class="required"><em>*</em> <?php else :?>><?php endif;?><?php echo $this->__($frontEndLabel) ?></label>
<div class="input-box">
<?php if($attribute->getFrontendInput()== 'text'):?>
<input type="text" name="billing[test]" id="billing:<?php echo $attribute->getAttributeCode(); ?>" title="<?php echo $this->__($frontEndLabel); ?>" class="input-text <?php echo $fieldRequiredClass; ?> <?php echo $fieldFrontendClass ;?>" />
<?php endif ?>
</div>
</div>
<?php endif ?>
<?php endforeach ?>
</li>
Thanks..it作品をチェックするための属性の表示テキストボックスbilling.phtmlの コードをありがとう –