diff options
Diffstat (limited to 'pages/ord')
-rw-r--r-- | pages/ord/billing.html | 76 | ||||
-rw-r--r-- | pages/ord/shipping.html | 68 |
2 files changed, 144 insertions, 0 deletions
diff --git a/pages/ord/billing.html b/pages/ord/billing.html new file mode 100644 index 0000000..6096c04 --- /dev/null +++ b/pages/ord/billing.html @@ -0,0 +1,76 @@ +[tmp page_title]__COMPANY__ -- [L]Billing Address[/L][/tmp] +[tmp display_class]noleft[/tmp] + +[bounce href="[area href=ord/shipmode secure=1]" if="[value mv_same_billing]"] + +[include include/checkout/initialization] + +@_TOP_@ +<!-- BEGIN CONTENT --> + +<div class="col-md-1"> </div> +<div class="col-md-10"> + +[if !variable NO_TAX_POPUP] + [include include/checkout/tax_popup] +[/if] + +[edisplay show_var=0 show_label=1 keep=1] + +[set Check_billing] +[if !cgi mv_same_billing] + &fatal=no + &update=yes + &fail=@@MV_PAGE@@ + [calc] + if ($CGI->{b_state_cs_in} && !$CGI->{b_state}){ + $CGI->{b_state} = $CGI->{b_state_cs_in}; + } + return; + [/calc] + [if session logged_in] + [tmp tmp_save_billing][userdb function=set_billing nickname=default][/tmp] + [/if] + b_fname=required + b_lname=required + b_address1=required + b_city=required + b_country=required + b_state=multistate + b_zip=multizip +[/if] +[/set] + +<form action="[area href="ord/shipmode" secure=1]" method="POST" class="form-horizontal"> +<fieldset> +[form-session-id] +<input type="hidden" name="mv_action" value="return"> +<input type="hidden" name="mv_nextpage" value="ord/shipmode"> +<input type="hidden" name="mv_failpage" value="ord/billing"> +<input type="hidden" name="mv_form_profile" value="Check_billing"> + + [include include/checkout/billing_address] + + <div class="form-group"> + <div class="col-sm-offset-2 col-sm-10"> + <input type=button onclick=" + this.form.mv_form_profile.value=''; + this.form.mv_action.value='back'; + this.form.mv_nextpage.value='ord/shipping'; + this.form.submit(); + " + value="[L]Back[/L]" class="btn btn-default"> + <input type=submit value="[L]Continue checkout[/L]" class="btn btn-primary"> + </div> + </div> + +</fieldset> +</form> + +</div> +<div class="col-md-1"> </div> + +[tmp clear_errors][error all=1 comment="Clear errors"][/tmp] + +<!-- END CONTENT --> +@_BOTTOM_@ diff --git a/pages/ord/shipping.html b/pages/ord/shipping.html new file mode 100644 index 0000000..acbef56 --- /dev/null +++ b/pages/ord/shipping.html @@ -0,0 +1,68 @@ +[tmp page_title]__COMPANY__ -- [L]Shipping Address[/L][/tmp] +[tmp display_class]noleft[/tmp] + +[include include/checkout/initialization] + +@_TOP_@ +<!-- BEGIN CONTENT --> + +<div class="col-md-1"> </div> +<div class="col-md-10"> + +[if !variable NO_TAX_POPUP] + [include include/checkout/tax_popup] +[/if] + +[edisplay show_var=0 show_label=1 keep=1] + +[set Check_shipping] + &fatal=no + &update=yes + __COMMON_ORDER_PROFILE__ + &fail=@@MV_PAGE@@ + &fatal=yes +[/set] + +<form action="[area href="ord/next_step" secure=1]" method="POST" class="form-horizontal"> +<fieldset> +[form-session-id] +<input type="hidden" name="mv_action" value="return"> +<input type="hidden" name="mv_nextpage" value="ord/billing"> +<input type="hidden" name="mv_failpage" value="ord/shipping"> +<input type="hidden" name="mv_form_profile" value="Check_shipping"> +<input type="hidden" name="country_reset" value=""> + + [include include/checkout/shipping_address] + + <div class="form-group"> + <div class="col-sm-offset-2 col-sm-10"> + <label for="mv_same_billing" class="checkbox-inline"> + <input type="checkbox" name="mv_same_billing" id="mv_same_billing" value="1" [checked name=mv_same_billing value=1 default=1]>[L]Billing is same as this address[/L] + </label> + </div> + </div> + + <div class="form-group"> + <div class="col-sm-offset-2 col-sm-10"> + <input type=button onclick=" + this.form.mv_form_profile.value=''; + this.form.country_reset.value='1'; + this.form.mv_action.value='back'; + this.form.mv_nextpage.value='ord/country'; + this.form.submit(); + " + value="[L]Back[/L]" class="btn btn-default"> + <input type=submit value="[L]Continue checkout[/L]" class="btn btn-primary"> + </div> + </div> + +</fieldset> +</form> + +</div> +<div class="col-md-1"> </div> + +[tmp clear_errors][error all=1 comment="Clear errors"][/tmp] + +<!-- END CONTENT --> +@_BOTTOM_@ |