edit

edit

Ordnermein-design/account/edit.html
Beispiel-URLdemoshop.versacommerce.de/account/edit


HTML-Quellcode

<div class="row">
<div class="col-md-4 sidebar-left"></div>

<div class="col-md-8 maincontent">
<form action="/account/edit" method="post" id="customer_edit_form" name="customer_edit_form">
<h2>{{ 'account' | t }}</h2>
{% if customer.active %}
<div class="well well-sm vc-customer-status text-success">
<span class="glyphicon glyphicon-ok"></span> {{ "activated" | t }}
</div>
{% else %}
<div class="well well-sm vc-customer-status text-danger">
<span class="glyphicon glyphicon-remove"></span> {{ "not_activated" | t }}
</div>
{% endif %}

<h4>{{ 'credentials' | t }}</h4>
<div class="row">
<div class="col-md-6">
<div class="form-group" id="area_customer_email">
<input placeholder="{{ 'email_address' | t }}" type="text" name="customer[email]" id="customer_email" value="" class="form-control" disabled="disabled" />

<small>{{ "email_address_info" | t }}</small>
</div>
</div>
<div class="col-md-6">
<div class="form-group" id="area_new_customer_password">
<input placeholder="{{ 'new_password' | t }}" type="password" name="customer[new_password]" id="customer_new_password" value="" class="form-control" />

</div>

<div class="form-group" id="area_customer_new_password_confirmation">
<input placeholder="{{ 'new_password_confirmation' | t }}" type="password" name="customer[new_password_confirmation]" id="customer_new_password_confirmation" value="" class="form-control" />

<small>{{ "leave_password_blank" | t }}</small>
</div>
</div>
</div>

<div class="row">
<div class="col-md-6">
<h4>{{ 'where_to_deliver' | t }}</h4>
<div class="checkbox">
<label>
<input id="use_shipping_address" type="checkbox" value="1" name="use_shipping_address" {% if customer.uses_shipping_as_billing_address %}checked="checked"{% endif %}/>
{{ 'to_billing_address' | t }}
</label>
</div>
</div>
<div class="col-md-6"></div>
</div>

<div class="row">
<div class="col-md-6 col-md-push-6">
<div class="shipping_address"{% unless customer.uses_shipping_as_billing_address %} style="display: block;"{% endunless %}>
<p class="spacer clearfix visible-xs"></p>
<h4>{{ 'shipping_address' | t }}:</h4>
{% if shop.show_company %}
<div class="form-group">
<input placeholder="{{ 'company' | t }}" type="text" class="form-control" name="shipping_address[company]" id="shipping_address_company" value="" />

</div>
{% endif %}
<div class="row form-group">
<div class="col-xs-12">
{% if customer.billing_address.title != blank %}{% assign title = customer.billing_address.title %}{% else %}{% capture title %}{{ "mr" | t }}{% endcapture %}{% endif %}
<label class="radio-inline" for="shipping_address_title_mr">
<input type="radio" name="shipping_address[title]" id="shipping_address_title_mr" value="Herr" {% if title == 'Herr' %}checked="checked"{% endif %} />
{{ "mr" | t }}
</label>
<label class="radio-inline" for="shipping_address_title_ms">
<input type="radio" name="shipping_address[title]" id="shipping_address_title_ms" value="Frau" {% if title == 'Frau' %}checked="checked"{% endif %} />
{{ "mrs" | t }}
</label>
</div>
<div class="col-xs-12">

</div>
</div>
<div class="form-group">
<input placeholder="{{ 'first_name' | t }}" type="text" class="form-control" name="shipping_address[firstname]" id="shipping_address_firstname" value="" />

</div>
<div class="form-group">
<input placeholder="{{ 'last_name' | t }}" type="text" class="form-control" name="shipping_address[lastname]" id="shipping_address_lastname" value="" />

</div>
<div class="row form-group">
<div class="col-xs-8">
<input placeholder="{{ 'street' | t }}" type="text" class="form-control" name="shipping_address[street]" id="shipping_address_street" value="" />
</div>
<div class="col-xs-4">
<input placeholder="{{ 'number' | t }}" type="text" class="form-control" name="shipping_address[streetnumber]" id="shipping_address_streetnumber" value="" />
</div>
<div class="col-xs-12">


</div>
</div>
{% if shop.show_address_extension %}
<div class="form-group">
<input placeholder="{{ 'adress_line_2' | t }}" type="text" class="form-control" name="shipping_address[extension]" id="shipping_address_extension" value="" />
</div>
{% endif %}
<div class="row form-group">
<div class="col-xs-4">
<input placeholder="{{ 'zipcode' | t }}" type="text" class="form-control" name="shipping_address[zipcode]" id="shipping_address_zipcode" value="" />
</div>
<div class="col-xs-8">
<input placeholder="{{ 'city' | t }}" type="text" class="form-control" name="shipping_address[city]" id="shipping_address_city" value="" />
</div>
<div class="col-xs-12">


</div>
</div>
<div class="form-group">
<select name="shipping_address[country]" class="form-control" id="shipping_address_country">
{% if billing_address.country %}{% assign country = customer.billing_address.country %}{% else assign country = "DE" %}{% endif %}
{% for country_option in cart.delivery_countries %}
<option{% if country == country_option %} selected="selected"{% endif %} value=""></option>
{% endfor %}
</select>
</div>
{% if shop.show_phone %}
<div class="form-group">
<input placeholder="{{ 'phone' | t }}" type="text" class="form-control" name="shipping_address[phone]"  id="shipping_address_phone" value="" />
<p class="help-block">{{ "phone_info" | t }}</p>

</div>
{% endif %}
</div>
<p class="spacer clearfix visible-xs"></p>

</div>

<div class="col-md-6 col-md-pull-6">
<div class="billing_address">
<h4>{{ 'billing_address' | t }}:</h4>
{% if shop.show_company %}
<div class="form-group">
<input placeholder="{{ 'company' | t }}" type="text" class="form-control" name="billing_address[company]" id="billing_address_company" value="" />

</div>
{% endif %}
<div class="row form-group">
<div class="col-xs-12">
{% if customer.billing_address.title != blank %}{% assign title = customer.billing_address.title %}{% else %}{% capture title %}{{ "mr" | t }}{% endcapture %}{% endif %}
<label class="radio-inline" for="billing_address_title_mr">
<input type="radio" name="billing_address[title]" id="billing_address_title_mr" value="Herr" {% if title == 'Herr' %}checked="checked"{% endif %} />
{{ "mr" | t }}
</label>
<label class="radio-inline" for="billing_address_title_ms">
<input type="radio" name="billing_address[title]" id="billing_address_title_ms" value="Frau" {% if title == 'Frau' %}checked="checked"{% endif %} />
{{ "mrs" | t }}
</label>
</div>
<div class="col-xs-12">

</div>
</div>
<div class="form-group">
<input placeholder="{{ 'first_name' | t }}" type="text" class="form-control" name="billing_address[firstname]" id="billing_address_firstname" value="" />

</div>
<div class="form-group">
<input placeholder="{{ 'last_name' | t }}" type="text" class="form-control" name="billing_address[lastname]" id="billing_address_lastname" value="" />

</div>
<div class="row form-group">
<div class="col-xs-8">
<input placeholder="{{ 'street' | t }}" type="text" class="form-control" name="billing_address[street]" id="billing_address_street" value="" />
</div>
<div class="col-xs-4">
<input placeholder="{{ 'number' | t }}" type="text" class="form-control" name="billing_address[streetnumber]" id="billing_address_streetnumber" value="" />
</div>
<div class="col-xs-12">


</div>
</div>
{% if shop.show_address_extension %}
<div class="form-group">
<input placeholder="{{ 'adress_line_2' | t }}" type="text" class="form-control" name="billing_address[extension]" id="billing_address_extension" value="" />
</div>
{% endif %}
<div class="row form-group">
<div class="col-xs-4">
<input placeholder="{{ 'zipcode' | t }}" type="text" class="form-control" name="billing_address[zipcode]" id="billing_address_zipcode" value="" />
</div>
<div class="col-xs-8">
<input placeholder="{{ 'city' | t }}" type="text" class="form-control" name="billing_address[city]" id="billing_address_city" value="" />
</div>
<div class="col-xs-12">


</div>
</div>
<div class="form-group">
<select name="billing_address[country]" class="form-control" id="billing_address_country">
{% if billing_address.country %}{% assign country = customer.billing_address.country %}{% else assign country = "DE" %}{% endif %}
{% for country_option in cart.delivery_countries %}
<option{% if country == country_option %} selected="selected"{% endif %} value=""> </option>
{% endfor %}
</select>
</div>
{% if shop.show_phone %}
<div class="form-group">
<input placeholder="{{ 'phone' | t }}" type="text" class="form-control" name="billing_address[phone]"  id="billing_address_phone" value="" />
<p class="help-block">{{ "phone_info" | t }}</p>

</div>
{% endif %}
</div>
</div>
</div>

<div class="row">
<div class="col-md-12">
<div class="well well-sm actions">
<a class="btn btn-success hidden-xs form-submit" href="#">
{{ 'buttons.save' | t }} <span class="glyphicon glyphicon-chevron-right"></span>
</a>
<a class="btn btn-success btn-lg visible-xs-block form-submit" href="#">
{{ 'buttons.save' | t }} <span class="glyphicon glyphicon-chevron-right"></span>
</a>
<a class="btn btn-link hidden-xs" href="/account"> {{ 'buttons.cancel' | t }}</a>
<a class="btn btn-link btn-lg visible-xs-block" href="/account"> {{ 'buttons.cancel' | t }}</a>
</div>

<div class="well secure_box">
<strong><span class="glyphicon glyphicon-lock"></span> {{ 'safety_header' | t }}</strong><br />
{{ 'safety_text' | t }}
</div>
</div>
</div>
</form>
</div>
</div>


    • Related Articles

    • account

      Ordner mein-design/account/account.html Beispiel-URL demoshop.versacommerce.de/account HTML-Quellcode <div class="row"> <div class="col-md-12"> <h1>{{ 'account' | t }}</h1> <em>{% if customer.active %}{{ "activated" | t }}{% else %}{{ "not_activated" ...
    • Theme-Konfigurator

      Nötige Dateien Die Datei settings_schema.json kann genutzt werden, um die Konfigurationsmöglichkeiten des Konfigurators zu verändern. Im Theme Editor ist die Datei im Bereich config zu finden. mein-design/config/settings_data.json Beispiel einer ...