<?php use Razor\Core\Checkout\Pane\Pane as CheckoutPane; use Razor\Core\Field\Field; $pane = CheckoutPane::getByKey('billing'); ?> <div class="row billing-pane"> <div class="col-xs-12"> <h3>Billing Address</h3> <div class="row"> <?php Field::render('billing_address', 'user'); ?> </div> </div> </div>
</div> <div class="form-group"> <legend>Pickup Shipping</legend> <div class="checkbox" style="margin-left: 20px;"> <?php Field::render('enable_pickup_shipping', 'collection', $page->getCollectionID()); ?> </div> </div> <div class="form-group"> <?php print $form->label('pickup_shipping_location', 'Pickup Location'); ?> <?php Field::render('pickup_shipping_location', 'collection', $page->getCollectionID()); ?> </div> <div class="ccm-dashboard-form-actions-wrapper"> <div class="ccm-dashboard-form-actions"> <?php print $form->submit('save_settings', 'Save', array('class' => 'btn btn-success pull-right')); ?> </div> </div> </fieldset> </form>
?> </div> <div class="col-xs-6"> <?php print $form->label('last_name', 'Last Name'); ?> <?php Field::render('last_name', 'user'); ?> </div> <div class="col-xs-6"> <?php print $form->label('email', 'Email'); ?> <?php print $form->email('email', $uEmail); ?> </div> <div class="col-xs-6"> <?php print $form->label('phone', 'Phone'); ?> <?php Field::render('phone', 'user'); ?> </div> </div>
?> </div> <div class="form-group"> <?php print $form->label('stripe_live_secret_key', 'Live Secret Key'); ?> <?php Field::render('stripe_live_secret_key', 'collection', $page->getCollectionID()); ?> </div> <div class="form-group"> <?php print $form->label('stripe_live_publishable_key', 'Live Publishable Key'); ?> <?php Field::render('stripe_live_publishable_key', 'collection', $page->getCollectionID()); ?> </div> </fieldset> <div class="ccm-dashboard-form-actions-wrapper"> <div class="ccm-dashboard-form-actions"> <?php print $form->submit('save_settings', 'Save', array('class' => 'btn btn-primary pull-right')); ?> </div> </div> </form> </div> </div>
<?php use Razor\Core\Checkout\Pane\Pane as CheckoutPane; use Razor\Core\Field\Field; $form = Core::make('helper/form'); ?> <div class="row shipping-pane"> <div class="col-xs-12 shipping-address-choice"> <?php print $form->label('shipping_copy_billing', 'Ship to Different Address?'); print $form->checkbox('shipping_copy_billing', 'Ship to Different Address?'); ?> </div> <div class="col-xs-12"> <div class="shipping-address-form-wrap"> <h3>Shipping Address</h3> <div class="row"> <?php Field::render('shipping_address', 'user'); ?> </div> </div> </div> </div>
</div> <div class="checkbox" style="margin-left: 20px;"> <?php // Field::render( 'enable_anonymous_checkout', 'collection', $page->getCollectionID() ); ?> </div> --> <div style="margin-top: 15px;"> <?php print $form->label('store_location', 'Store Location'); ?> <?php Field::render('store_location', 'collection', $page->getCollectionID()); ?> </div> <div class="ccm-dashboard-form-actions-wrapper"> <div class="ccm-dashboard-form-actions"> <?php print $form->submit('save_settings', 'Save', array('class' => 'pull-right btn btn-success')); ?> </div> </div> </fieldset> </form>