1181 lines
71 KiB
HTML
1181 lines
71 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?><iai:component><iai:componentsdata><cdata-start/>
|
|
<iaixsl:variable name="client_new_mode"><iaixsl:choose><iaixsl:when test="/shop/page/client-data/@edit='true' and not(/shop/client_data/@signin='cookie')">edit</iaixsl:when><iaixsl:when test="/shop/page/client-data/@register='true'">register</iaixsl:when><iaixsl:when test="not(/shop/page/client-data/@edit='true')">onceorder</iaixsl:when></iaixsl:choose></iaixsl:variable>
|
|
|
|
<iaixsl:variable name="is_firm"><iaixsl:choose><iaixsl:when test="(/shop/page/client-data/client_type/@type = 'firm') or (page/client-data/@operation = 'register-wholesale-add') or (page/client-data/@operation = 'edit-wholesale-add') or (page/client-data/@operation = 'edit-wholesale-edit')">true</iaixsl:when><iaixsl:otherwise>false</iaixsl:otherwise></iaixsl:choose></iaixsl:variable>
|
|
<iaixsl:variable name="zaloguj_przez"><iai:variable vid="Zaloguj się"/> </iaixsl:variable>
|
|
<iaixsl:variable name="returns_agree_control"></iaixsl:variable>
|
|
|
|
<iaixsl:if test="not(/shop/page/client-data/@edit='true')">
|
|
<div id="signin-form" style="display: none;">
|
|
<h2>
|
|
<iai:variable vid="Moje konto"/>
|
|
</h2>
|
|
<div class="signin-form__container">
|
|
<form action="signin.php" method="post" class="f-group">
|
|
<input type="hidden" name="operation" value="login"/>
|
|
<div class="f-feedback">
|
|
<input autocomplete="off" class="signin-form__login f-control" type="text" name="login" size="20"/>
|
|
<label class="f-label"> <iai:variable vid="Login / Nr karty stałego klienta / E-mail"/> </label>
|
|
</div>
|
|
<div class="f-feedback">
|
|
<input autocomplete="off" class="signin-form__pass f-control" type="password" name="password" size="15"/>
|
|
<label class="f-label"> <iai:variable vid="Hasło / Pin karty stałego klienta"/> </label>
|
|
</div>
|
|
<button class="signin-form__button bm-oscop__btn" type="submit">
|
|
<iai:variable vid="Zaloguj się"/>
|
|
</button>
|
|
<a href="/password-recover.php"><iai:variable vid="Nie pamiętam hasła"/></a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</iaixsl:if>
|
|
|
|
<!--jak pusty koszyk to przekieruj-->
|
|
<iaixsl:if test="/shop/basket/@count='0'">
|
|
<script>window.location.href="/return.php?status=basket_empty"</script>
|
|
</iaixsl:if>
|
|
<iaixsl:if test="(number(/shop/basket/@cost) = 0) and (number(/shop/basket/@points_used) = 0)">
|
|
<script>window.location.href="/return.php?status=order_minimum"</script>
|
|
</iaixsl:if>
|
|
<iaixsl:if test="(number(/shop/basket/@points_used) > number(/shop/basket/@client_points)) and not(/shop/order_edit)">
|
|
<script>window.location.href="/return.php?status=order_notenoughpoints"</script>
|
|
</iaixsl:if>
|
|
|
|
<iaixsl:if test="/shop/order_edit">
|
|
<input type="hidden" id="edit-number">
|
|
<iaixsl:attribute name="value">
|
|
<iaixsl:value-of select="/shop/order_edit/@order_number"></iaixsl:value-of>
|
|
</iaixsl:attribute>
|
|
</input>
|
|
</iaixsl:if>
|
|
|
|
<a class="bm-oscop__go-shopping">
|
|
<iaixsl:attribute name="href">
|
|
<iaixsl:value-of select="/shop/@sslurl"></iaixsl:value-of>
|
|
</iaixsl:attribute>
|
|
<iai:variable vid="Kontynuuj zakupy w sklepie"/>
|
|
</a>
|
|
|
|
|
|
|
|
<div class="bm-oscop__container" id="place-order">
|
|
<div class="bm-oscop__form-data">
|
|
<!-- DANE KLIENTA -->
|
|
<div id="bm-oscop-section1">
|
|
<div class="step1_sub">
|
|
<h2>1. <iai:variable vid="Dane kontaktowe"/></h2>
|
|
<!--OPCJE LOGOWANIA-->
|
|
<iaixsl:if test="not(/shop/basket/@login)">
|
|
<div class="signin">
|
|
<span class="signin_header">
|
|
<iai:variable vid="Masz już u nas konto"/>?
|
|
<a class="btn-large get_signin"><iai:variable vid="Zaloguj się"/></a>
|
|
<iai:variable vid="lub połącz konto"/>
|
|
</span>
|
|
<iaixsl:if test="$zaloguj_przez and count(login_options/service)>1">
|
|
<ul class="client_new_social">
|
|
<iaixsl:for-each select="login_options/service[not(@name='shop_register')][@login_url]">
|
|
<li>
|
|
<iaixsl:attribute name="class">login_options_<iaixsl:value-of select="translate (@name, '+ ', '')"/> </iaixsl:attribute>
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="@login_url">
|
|
<a>
|
|
<iaixsl:attribute name="href"><iaixsl:value-of select="@login_url"/></iaixsl:attribute>
|
|
<img>
|
|
<iaixsl:attribute name="src">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="@gfx"><iaixsl:value-of select="@gfx"></iaixsl:value-of></iaixsl:when>
|
|
<iaixsl:otherwise><iaixsl:value-of select="@gfx_big"></iaixsl:value-of></iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
</iaixsl:attribute>
|
|
<iaixsl:attribute name="alt">
|
|
<iaixsl:value-of select="@name"></iaixsl:value-of>
|
|
</iaixsl:attribute>
|
|
</img>
|
|
<span>
|
|
<iaixsl:value-of select="$zaloguj_przez"/>
|
|
<iaixsl:value-of select="@name"/>
|
|
</span>
|
|
</a>
|
|
</iaixsl:when>
|
|
</iaixsl:choose>
|
|
</li>
|
|
</iaixsl:for-each>
|
|
</ul>
|
|
</iaixsl:if>
|
|
</div>
|
|
</iaixsl:if>
|
|
<!--EMAIL I TELEFON-->
|
|
<form id="client-contact-info" onsubmit="return false" class="f-group">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">f-group --logged</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<div class="form-group">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="client_email" type="email" class="form-control validate f-control" name="client_email">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@email"/></iaixsl:attribute>
|
|
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_email = 'true'">
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</input>
|
|
<label for="client_email" class="f-label">
|
|
<iai:variable vid="E-mail"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group --phone">
|
|
<div class="row">
|
|
<div class="input_wrapper__first col-md-5 has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">input_wrapper__first col-md-5 has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<div class="phone_number__code">
|
|
<span class="phone_number__code_alpha2"></span>
|
|
(+
|
|
<span class="phone_number__code_text"></span>
|
|
)
|
|
<input class="phone_number__code_number" disabled="true" type="hidden"></input>
|
|
<span class="phone_number__description">
|
|
<iai:variable vid="Kierunkowy"/>
|
|
</span>
|
|
<ul class="phone_number__code_list"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="input_wrapper__second col-md-7 has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">input_wrapper__second col-md-7 has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="client_phone" type="tel" class="form-control validate f-control" name="client_phone" data-serialize="#client_region">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@phone"/></iaixsl:attribute>
|
|
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_phone = 'true'">
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="data-copy">delivery_phone</iaixsl:attribute>
|
|
</input>
|
|
<label for="client_phone" class="f-label">
|
|
<iai:variable vid="Numer telefonu"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</form>
|
|
<!--OKNO REJESTRACJI-->
|
|
<iaixsl:if test="not(/shop/basket/@login)">
|
|
<div class="register">
|
|
<div class="register__option">
|
|
<input type="checkbox" name="register_client" id="register_client_checkbox"/>
|
|
<label for="register_client_checkbox"><iai:variable vid="Załóż konto w sklepie"/><span><iai:variable vid="Opcjonalnie"/></span></label>
|
|
</div>
|
|
<form class="register__form f-group" onsubmit="return false">
|
|
<div class="register__item has-feedback f-feedback">
|
|
<input type="text" class="register__login form-control f-control" required="required" name="client_login">
|
|
</input>
|
|
<label class="f-label"><iai:variable vid="Login"/></label>
|
|
</div>
|
|
<div class="register__item has-feedback f-feedback">
|
|
<input type="password" class="register__password form-control f-control" required="required" name="client_password">
|
|
<iaixsl:attribute name="maxlength">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="/shop/page/client-data/profile_data/@max_password_length">
|
|
<iaixsl:value-of select="/shop/page/client-data/profile_data/@max_password_length"></iaixsl:value-of>
|
|
</iaixsl:when>
|
|
<iaixsl:otherwise>30</iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
</iaixsl:attribute>
|
|
</input>
|
|
<label class="f-label"><iai:variable vid="Hasło"/></label>
|
|
<input type="hidden" id="repeat_password" name="repeat_password" required="required"></input>
|
|
<div id="toggle-password" class="register__show-password"><iai:variable vid="Pokaż hasło"/></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</iaixsl:if>
|
|
</div>
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<input type="hidden" name="client_mailing_logg">
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@mailing"/></iaixsl:attribute>
|
|
</input>
|
|
<input type="hidden" name="client_send_sms_logg">
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/contact_data/@mandatory_phone"/></iaixsl:attribute>
|
|
</input>
|
|
</iaixsl:if>
|
|
|
|
<h2>2. <iai:variable vid="Dane adresowe"/></h2>
|
|
|
|
<form id="client_form" onsubmit="return false" class="f-group">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">f-group --logged</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<div class="client_box cn_wrapper">
|
|
<div class="form-group firm_switcher">
|
|
<div class="firm-form">
|
|
<span class="client_type-text"><iai:variable vid="Zamawiasz jako"/>:</span>
|
|
<label class="radio-inline">
|
|
<input type="radio" id="client_type2" value="private" name="client_type">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
</iaixsl:if>
|
|
<iaixsl:if test="$is_firm = 'false'">
|
|
<iaixsl:attribute name="checked">checked</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</input>
|
|
<span class="radio-desc"><iai:variable vid="Osoba prywatna"/></span>
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" id="client_type1" value="firm" name="client_type">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
</iaixsl:if>
|
|
<iaixsl:if test="$is_firm = 'true'">
|
|
<iaixsl:attribute name="checked">checked</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</input>
|
|
<span class="radio-desc"><iai:variable vid="Firma"/></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group firm-group">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '') and $is_firm = 'true'">
|
|
<iaixsl:attribute name="class">form-group firm-group --fade-in</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '') and not(/shop/page/client-data/invoice_data/@firm = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input type="text" class="form-control validate f-control" name="client_firm" id="client_firm">
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@additional"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firm"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-copy">delivery_additional</iaixsl:attribute>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
</input>
|
|
<label for="client_firm" class="f-label">
|
|
<iai:variable vid="Firma"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
<iaixsl:if test="/shop/page/client-data/nip/@active != 'hide'">
|
|
<div class="form-group firm-group">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '') and $is_firm = 'true'">
|
|
<iaixsl:attribute name="class">form-group firm-group --fade-in</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '') and not(/shop/page/client-data/invoice_data/@nip = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input type="text" class="form-control validate f-control" name="client_nip" id="client_nip" data-serialize="#client_region">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:if test="/shop/page/client-data/nip/@active = 'required'">
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@tax_number"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@nip"/></iaixsl:attribute>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
</input>
|
|
<label for="client_nip" class="f-label">
|
|
<iai:variable vid="NIP"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
</iaixsl:if>
|
|
|
|
<div class="form-group move_is_firm">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="client_firstname" type="text" class="form-control validate f-control" name="client_firstname">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@name"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@firstname"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-copy">delivery_firstname</iaixsl:attribute>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="client_firstname" class="f-label">
|
|
<iai:variable vid="Imię"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group move_is_firm">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="client_lastname" type="text" class="form-control validate f-control" name="client_lastname">
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@lastname"/></iaixsl:attribute>
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@lastname"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-copy">delivery_lastname</iaixsl:attribute>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:if test="/shop/page/client-data/profile_data/@mandatory_lastname = 'true'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
|
|
</input>
|
|
<label for="client_lastname" class="f-label">
|
|
<iai:variable vid="Nazwisko"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
<iaixsl:if test="/shop/page/client-data/birth_date/@active != 'hide'">
|
|
<div class="form-group">
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="class">form-group readonly</iaixsl:attribute></iaixsl:if>
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="birth_date" type="text" class="form-control validate f-control" name="birth_date">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@birthdate"/></iaixsl:attribute>
|
|
<iaixsl:if test="/shop/page/client-data/birth_date/@date != '0000-00-00'"><iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/birth_date/@date"/></iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:if test="/shop/page/client-data/birth_date/@active='required'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
|
|
</input>
|
|
<label for="birth_date" class="f-label">
|
|
<iai:variable vid="Data urodzenia"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
</iaixsl:if>
|
|
|
|
<div class="form-group">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="client_street" type="text" class="form-control validate f-control" name="client_street" data-serialize="#client_region">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@addres"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@street"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-copy">delivery_street</iaixsl:attribute>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="client_street" class="f-label">
|
|
<iai:variable vid="Ulica i numer"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="row">
|
|
<div class="input_wrapper__first col-md-5 has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">input_wrapper__first col-md-5 has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="client_zipcode" type="text" class="form-control validate f-control" name="client_zipcode" data-serialize="#client_region">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@zipcode"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-copy">delivery_zipcode</iaixsl:attribute>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="client_zipcode" class="f-label">
|
|
<iai:variable vid="Kod pocztowy"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
<div class="input_wrapper__second col-md-7 has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">input_wrapper__second col-md-7 has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="client_city" type="text" class="form-control validate f-control" name="client_city">
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@city"/></iaixsl:attribute>
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/client-data/invoice_data/@city"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-copy">delivery_city</iaixsl:attribute>
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="client_city" class="f-label">
|
|
<iai:variable vid="Miasto"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="count(/shop/page/options/countries/country) = 1 and (/shop/page/options/countries/country/@id = 1143020003)">
|
|
<input id="client_region" type="hidden" name="client_region">
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/options/countries/country/@id"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="/shop/page/options/countries/country/@vat_company"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="/shop/page/options/countries/country/@vat"/></iaixsl:attribute>
|
|
</input>
|
|
</iaixsl:when>
|
|
<iaixsl:otherwise>
|
|
<div class="form-group --region">
|
|
<label for="client_region" class="control-label">
|
|
<iai:variable vid="Kraj"/>
|
|
</label>
|
|
<div>
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">f-feedback --success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<select class="form-control delivery_countries" id="client_region" name="client_region" data-revalidate="#client_street,#client_zipcode">
|
|
<iaixsl:if test="/shop/basket/@login">
|
|
<iaixsl:attribute name="class">form-control delivery_countries f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="data-copy">delivery_region</iaixsl:attribute>
|
|
<iaixsl:for-each select="/shop/page/options/countries/country">
|
|
<option>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="@vat_company"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="@vat"/></iaixsl:attribute>
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="/shop/page/client-data/invoice_data/@region > 0">
|
|
<iaixsl:if test="@id = /shop/page/client-data/invoice_data/@region">
|
|
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</iaixsl:when>
|
|
<iaixsl:when test="@id = /shop/page/options/countries/@delivery_active">
|
|
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
|
</iaixsl:when>
|
|
</iaixsl:choose>
|
|
<iaixsl:value-of select="@name"/>
|
|
</option>
|
|
</iaixsl:for-each>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
|
|
<iaixsl:for-each select="/shop/page/options/countries/country">
|
|
<iaixsl:if test="provinces/province">
|
|
<div class="form-group client_provinces" style="display: none;">
|
|
<iaixsl:if test="@selected = 'true'"><iaixsl:attribute name="style">display: block;</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:attribute name="id">client_region_<iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<label for="client_province" class="control-label" style="display: none;">
|
|
<iaixsl:for-each select="province_types/type">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="text() = 'state'"><iai:variable vid="Stan"/></iaixsl:when>
|
|
<iaixsl:when test="text() = 'province'"><iai:variable vid="Prowincja"/></iaixsl:when>
|
|
<iaixsl:when test="text() = 'territory'"><iai:variable vid="Terytorium"/></iaixsl:when>
|
|
<iaixsl:otherwise><iai:variable vid="Region"/></iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
<iaixsl:if test="not(position() = last())">/</iaixsl:if>
|
|
</iaixsl:for-each>:
|
|
</label>
|
|
<div>
|
|
<select class="form-control" name="client_province">
|
|
<iaixsl:if test="page/client-data/@disallow_change_company_data = 'true'"><iaixsl:attribute name="readonly">readonly</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:if test="not(@selected = 'true')"><iaixsl:attribute name="disabled">disabled</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:attribute name="id">client_province_<iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-copy">delivery_province</iaixsl:attribute>
|
|
<iaixsl:for-each select="provinces/province">
|
|
<option>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="/shop/page/client-data/invoice_data/@province > 0">
|
|
<iaixsl:if test="@id = /shop/page/client-data/invoice_data/@province">
|
|
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</iaixsl:when>
|
|
<iaixsl:otherwise>
|
|
<iaixsl:if test="@selected = 'true'">
|
|
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
<iaixsl:value-of select="@name"/>
|
|
</option>
|
|
</iaixsl:for-each>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</iaixsl:if>
|
|
</iaixsl:for-each>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
<div id="client_new_additional">
|
|
<iaixsl:if test="not(/shop/page/client-data/@edit = 'true') and (/shop/page/client-data/delivery_data/@use != 'hide')">
|
|
<div class="form-group" id="delivery_box_switcher">
|
|
<label class="control-label" for="deliver_to_billingaddr">
|
|
<input type="checkbox" name="deliver_to_billingaddr" id="deliver_to_billingaddr" value="0">
|
|
<iaixsl:if test="/shop/page/client-data/delivery_data/@use = 'yes' and not(/shop/basket/@login)">
|
|
<iaixsl:attribute name="checked">checked</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</input>
|
|
<iai:variable vid="Dostawa na inny adres"/>:
|
|
</label>
|
|
<iaixsl:if test="/shop/page/client-data/addresses-list/@count > 0">
|
|
<button class="delivery__address-list-button bm-oscop__btn" style="display:none;">
|
|
<iai:variable vid="Wybierz z listy adresów"/>
|
|
</button>
|
|
<div class="delivery__address-list-container">
|
|
<h2><iai:variable vid="Lista adresów"/></h2>
|
|
<span><iai:variable vid="Wybierz z listy adresów"/></span>
|
|
<ul class="delivery__address-list">
|
|
<iaixsl:for-each select="/shop/page/client-data/addresses-list/address">
|
|
<li>
|
|
<iaixsl:attribute name="data-firstname"><iaixsl:value-of select="@firstname"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-lastname"><iaixsl:value-of select="@lastname"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-city"><iaixsl:value-of select="@city"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-street"><iaixsl:value-of select="@street"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-zipcode"><iaixsl:value-of select="@zipcode"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-country_name"><iaixsl:value-of select="@country_name"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-region_id"><iaixsl:value-of select="@region_id"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-phone"><iaixsl:value-of select="@phone"></iaixsl:value-of></iaixsl:attribute>
|
|
<iaixsl:if test="not(@additional='')">
|
|
<iaixsl:attribute name="data-additional"><iaixsl:value-of select="@additional"></iaixsl:value-of></iaixsl:attribute>
|
|
</iaixsl:if>
|
|
|
|
<span class="delivery__address-list-name">
|
|
<iaixsl:value-of select="@firstname"></iaixsl:value-of><iaixsl:text> </iaixsl:text><iaixsl:value-of select="@lastname"></iaixsl:value-of>
|
|
</span>
|
|
<br/>
|
|
<iaixsl:if test="not(@additional='')">
|
|
<span class="delivery__address-list-additional">
|
|
<iaixsl:value-of select="@additional"></iaixsl:value-of>
|
|
</span>
|
|
<br/>
|
|
</iaixsl:if>
|
|
<span class="delivery__address-list-street">
|
|
<iaixsl:value-of select="@street"></iaixsl:value-of>
|
|
</span>
|
|
<br/>
|
|
<span class="delivery__address-list-location">
|
|
<iaixsl:value-of select="@city"></iaixsl:value-of>
|
|
<iaixsl:text> </iaixsl:text>
|
|
<iaixsl:value-of select="@zipcode"></iaixsl:value-of>
|
|
</span>
|
|
<br/>
|
|
<span class="delivery__address-list-phone">
|
|
<iai:variable vid="Tel"/>. <iaixsl:value-of select="@phone"></iaixsl:value-of>
|
|
</span>
|
|
<br/>
|
|
<span class="delivery__address-country_name">
|
|
<iaixsl:value-of select="@country_name"></iaixsl:value-of>
|
|
</span>
|
|
</li>
|
|
</iaixsl:for-each>
|
|
</ul>
|
|
</div>
|
|
</iaixsl:if>
|
|
</div>
|
|
</iaixsl:if>
|
|
<iaixsl:if test="not(/shop/page/client-data/@edit = 'true') and (/shop/page/client-data/delivery_data/@use != 'hide')">
|
|
<div class="delivery_box cn_wrapper f-group">
|
|
<iaixsl:if test="(/shop/page/client-data/delivery_data/@use = 'yes') and not(/shop/basket/@login)">
|
|
<iaixsl:attribute name="class">delivery_box cn_wrapper f-group --more</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:for-each select="/shop/page/client-data/delivery_data">
|
|
<div class="form-group --hide">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="@use = 'yes' and not(@firstname = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback has-success --success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="delivery_firstname" type="text" class="form-control validate f-control" name="delivery_firstname">
|
|
<iaixsl:if test="@use = 'yes' and not(@firstname = '')">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@firstname"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@name"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="delivery_firstname" class="f-label">
|
|
<iai:variable vid="Imię"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group --hide">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="@use = 'yes' and not(@lastname = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback has-success --success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="delivery_lastname" type="text" class="form-control validate f-control" name="delivery_lastname">
|
|
<iaixsl:if test="@use = 'yes' and not(@lastname = '')">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@lastname"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@name"/></iaixsl:attribute>
|
|
<iaixsl:if test="/shop/page/client-data/profile_data/@mandatory_lastname = 'true'"><iaixsl:attribute name="required">required</iaixsl:attribute></iaixsl:if>
|
|
</input>
|
|
<label for="delivery_lastname" class="f-label">
|
|
<iai:variable vid="Nazwisko"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group --hide">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="@use = 'yes' and not(@additional = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback has-success --success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="delivery_additional" type="text" class="form-control validate f-control" name="delivery_additional">
|
|
<iaixsl:if test="@use = 'yes' and not(@additional = '')">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@additional"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@additional"/></iaixsl:attribute>
|
|
</input>
|
|
<label for="delivery_additional" class="f-label">
|
|
<iai:variable vid="Nazwa firmy"/>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group --hide">
|
|
<div class="has-feedback f-feedback">
|
|
<iaixsl:if test="@use = 'yes' and not(@street = '')">
|
|
<iaixsl:attribute name="class">has-feedback f-feedback has-success --success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="delivery_street" type="text" class="form-control validate f-control" name="delivery_street" data-serialize="#delivery_region">
|
|
<iaixsl:if test="@use = 'yes' and not(@street = '')">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@street"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@addres"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="delivery_street" class="f-label">
|
|
<iai:variable vid="Ulica i numer"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group --hide">
|
|
<div class="row">
|
|
<div class="input_wrapper__first col-md-5 has-feedback f-feedback">
|
|
<iaixsl:if test="@use = 'yes' and not(@zipcode = '')">
|
|
<iaixsl:attribute name="class">input_wrapper__first col-md-5 has-feedback f-feedback has-success --success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="delivery_zipcode" type="text" class="form-control validate f-control" name="delivery_zipcode" data-serialize="#delivery_region">
|
|
<iaixsl:if test="@use = 'yes' and not(@zipcode = '')">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@zipcode"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@zipcode"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="delivery_zipcode" class="f-label">
|
|
<iai:variable vid="Kod pocztowy"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
<div class="input_wrapper__second col-md-7 has-feedback f-feedback">
|
|
<iaixsl:if test="@use = 'yes' and not(@city = '')">
|
|
<iaixsl:attribute name="class">input_wrapper__second col-md-7 has-feedback f-feedback has-success --success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input id="delivery_city" type="text" class="form-control validate f-control" name="delivery_city">
|
|
<iaixsl:if test="@use = 'yes' and not(@city = '')">
|
|
<iaixsl:attribute name="class">form-control validate f-control focused</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@city"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@city"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</input>
|
|
<label for="delivery_city" class="f-label">
|
|
<iai:variable vid="Miasto"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="count(/shop/page/options/countries/country) = 1 and (/shop/page/options/countries/country/@id = 1143020003)">
|
|
<input id="delivery_region" type="hidden" name="delivery_region" class="--hide">
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="/shop/page/options/countries/country/@id"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="/shop/page/options/countries/country/@vat_company"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="/shop/page/options/countries/country/@vat"/></iaixsl:attribute>
|
|
</input>
|
|
</iaixsl:when>
|
|
<iaixsl:otherwise>
|
|
<div class="form-group --hide --region">
|
|
<label for="delivery_region" class="control-label">
|
|
<iai:variable vid="Kraj"/>
|
|
</label>
|
|
<div>
|
|
<select class="form-control delivery_countries" id="delivery_region" name="delivery_region" data-revalidate="#delivery_street,#delivery_zipcode">
|
|
<iaixsl:for-each select="/shop/page/options/countries/country">
|
|
<option>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat_company"><iaixsl:value-of select="@vat_company"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="data-vat"><iaixsl:value-of select="@vat"/></iaixsl:attribute>
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="/shop/page/client-data/invoice_data/@region > 0">
|
|
<iaixsl:if test="@id = /shop/page/client-data/invoice_data/@region">
|
|
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</iaixsl:when>
|
|
<iaixsl:when test="@id = /shop/page/options/countries/@delivery_active">
|
|
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
|
</iaixsl:when>
|
|
</iaixsl:choose>
|
|
<iaixsl:value-of select="@name"/>
|
|
</option>
|
|
</iaixsl:for-each>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
|
|
<iaixsl:for-each select="/shop/page/options/countries/country">
|
|
<iaixsl:if test="provinces/province">
|
|
<div class="form-group client_provinces --hide" style="display: none;">
|
|
<iaixsl:attribute name="id">delivery_region_<iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<label for="delivery_province" class="control-label" style="display:none;">
|
|
<iaixsl:for-each select="province_types/type">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="text() = 'state'"><iai:variable vid="Stan"/></iaixsl:when>
|
|
<iaixsl:when test="text() = 'province'"><iai:variable vid="Prowincja"/></iaixsl:when>
|
|
<iaixsl:when test="text() = 'territory'"><iai:variable vid="Terytorium"/></iaixsl:when>
|
|
<iaixsl:otherwise><iai:variable vid="Region"/></iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
<iaixsl:if test="not(position() = last())">/</iaixsl:if>
|
|
</iaixsl:for-each>:
|
|
</label>
|
|
<div>
|
|
<select class="form-control" name="delivery_province">
|
|
<iaixsl:for-each select="provinces/province">
|
|
<option>
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<iaixsl:if test="(@id = /shop/page/client-data/invoice_data/@province) or (@selected = 'true')">
|
|
<iaixsl:attribute name="selected">selected</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<iaixsl:value-of select="@name"/>
|
|
</option>
|
|
</iaixsl:for-each>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</iaixsl:if>
|
|
</iaixsl:for-each>
|
|
|
|
<div class="form-group --phone --hide">
|
|
<div class="row">
|
|
<div class="input_wrapper__first col-md-5 has-feedback f-feedback">
|
|
<iaixsl:if test="not(/shop/page/client-data/profile_data/@login = '')">
|
|
<iaixsl:attribute name="class">input_wrapper__first col-md-5 has-feedback f-feedback --success has-success</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<div class="phone_number__code">
|
|
<span class="phone_number__code_alpha2"></span>
|
|
(+
|
|
<span class="phone_number__code_text"></span>
|
|
)
|
|
<input class="phone_number__code_number" disabled="true" type="hidden"></input>
|
|
<span class="phone_number__description">
|
|
<iai:variable vid="Kierunkowy"/>
|
|
</span>
|
|
<ul class="phone_number__code_list"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="input_wrapper__second col-md-7 has-feedback f-feedback">
|
|
<input id="delivery_phone" type="tel" class="form-control validate f-control" name="delivery_phone" data-serialize="#delivery_phone">
|
|
<iaixsl:attribute name="value"><iaixsl:value-of select="@phone"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="maxlength"><iaixsl:value-of select="/shop/page/input_option/@phone"/></iaixsl:attribute>
|
|
<iaixsl:if test="/shop/page/client-data/contact_data/@mandatory_phone = 'true'">
|
|
<iaixsl:attribute name="required">required</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
</input>
|
|
<label for="client_phone" class="f-label">
|
|
<iai:variable vid="Numer telefonu"/>
|
|
</label>
|
|
<span class="form-control-feedback"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</iaixsl:for-each>
|
|
</div>
|
|
</iaixsl:if>
|
|
</div>
|
|
|
|
<!-- FAKTURY -->
|
|
<div id="FBS_faktura">
|
|
<span><iai:variable vid="Chcę otrzymać"/>:</span>
|
|
<input type="hidden" name="checkinvoice" value="true"/>
|
|
<div class="order2_terms_wrapper_sub fbs_inpfaktura">
|
|
<label>
|
|
<input type="radio" class="order2_radio_document" name="invoice" id="order2_document_confirmation" value="0" checked=""/>
|
|
<span><iai:variable vid="Potwierdzenie zakupu"/></span>
|
|
</label>
|
|
</div>
|
|
<div class="order2_terms_wrapper_sub fbs_inpfaktura">
|
|
<label>
|
|
<input type="radio" class="order2_radio_document" name="invoice" id="order2_document_e-invoice" value="2"/>
|
|
<span><iai:variable vid="Fakturę w formie elektronicznej"/></span>
|
|
</label>
|
|
</div>
|
|
<div class="order2_terms_wrapper_sub fbs_inpfaktura">
|
|
<label>
|
|
<input type="radio" class="order2_radio_document" name="invoice" id="order2_document_invoice" value="1"/>
|
|
<span>
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="/shop/contact/owner/@vat_registered = 'false' and $n68313_order2_document_invoice !=''">
|
|
<iaixsl:value-of select="$n68313_order2_document_invoice"/>
|
|
</iaixsl:when>
|
|
<iaixsl:otherwise><iai:variable vid="Fakturę drukowaną"/></iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
<div id="e-invoice_dialog">
|
|
<span class="big_label"><iai:variable vid="Elektroniczne dostarczanie faktur"/></span>
|
|
<div>
|
|
<span class="e-invoice_dialog"><font><iai:variable vid="Chroń środowisko"/></font><iai:variable vid="i przyspiesz otrzymanie faktury"/></span>
|
|
<p><iai:variable vid="W trosce o środowisko oraz Twoją wygodę dajemy Ci możliwość wyboru elektronicznej wysyłki faktur. Teraz szybko i bezpiecznie możesz otrzymywać faktury na swoją skrzynkę mailową. Elektroniczne dostarczanie faktur jest cyfrowym odpowiednikiem faktury papierowej. Zawiera dokładnie te same dane i ma taką samą wartość prawną jak tradycyjny dokument w formie papierowej. Korzystanie z faktury przekazanej w formie elektronicznej jest bezpłatne"/>.</p>
|
|
<button class="btn --solid --medium bm-oscop__btn"><iai:variable vid="Tak, chcę otrzymać fakturę elektronicznie"/></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- DOSTAWY I PŁATNOŚCI -->
|
|
<div id="bm-oscop-section2">
|
|
<div id="bm-oscop-payments">
|
|
<h2>3. <iai:variable vid="Płatność"/></h2>
|
|
</div>
|
|
|
|
<div id="bm-oscop-deliveries">
|
|
<h2>4. <iai:variable vid="Dostawa"/></h2>
|
|
</div>
|
|
|
|
<div id="bm-oscop-remarks">
|
|
<h3><i class="icon-pencil"></i> <iai:variable vid="Uwagi do zamówienia"/><span><iai:variable vid="Opcjonalnie"/></span></h3>
|
|
<div class="remarks__container">
|
|
<div>
|
|
<input class="bm-oscop__arrow-input" id="shop_remarks" type="checkbox" name="shop_remarks"></input>
|
|
<label for="shop_remarks" class="bm-oscop__arrow-label"><iai:variable vid="Uwagi dla sklepu"/></label>
|
|
<textarea id="order_comment_field" name="remarks"/>
|
|
</div>
|
|
<div>
|
|
<input class="bm-oscop__arrow-input" id="courier_remarks" type="checkbox" name="courier_remarks"></input>
|
|
<label for="courier_remarks" class="bm-oscop__arrow-label"><iai:variable vid="Uwagi dla kuriera"/></label>
|
|
<textarea id="order_comment2_field" name="deliverer_remarks"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--PODSUMOWANIE-->
|
|
<div id="bm-oscop-section3">
|
|
<!-- Kod rabatowy -->
|
|
<h3 class="rebate__title"><svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path opacity="1" d="M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128A64 64 0 1 0 0 128a64 64 0 1 0 128 0zM384 384a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"/></svg><iai:variable vid="Kod rabatowy"/></h3>
|
|
<div class="rebate">
|
|
<div class="rebate__active">
|
|
<iaixsl:if test="not(/shop/rebatecode)">
|
|
<iaixsl:attribute name="style">display:none;</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<div class="rebate__active-code"><iai:variable vid="Aktywny kod rabatowy"/>:
|
|
<span id="active-code">
|
|
<iaixsl:if test="/shop/rebatecode">
|
|
<iaixsl:value-of select="/shop/rebatecode/@code"></iaixsl:value-of>
|
|
</iaixsl:if>
|
|
</span>
|
|
</div>
|
|
<div class="rebate__active-options">
|
|
<button class="rebate__active-change"><iai:variable vid="Zmień"/></button>
|
|
<button class="rebate__active-remove"><iai:variable vid="Dezaktywuj"/></button>
|
|
</div>
|
|
</div>
|
|
<div class="rebate__options">
|
|
<iaixsl:if test="/shop/rebatecode">
|
|
<iaixsl:attribute name="style">display:none;</iaixsl:attribute>
|
|
</iaixsl:if>
|
|
<input type="checkbox" id="rebate-option" name="rebate-option" class="bm-oscop__arrow-input"></input>
|
|
<label for="rebate-option" class="bm-oscop__arrow-label"><iai:variable vid="Posiadasz kod rabatowy?"/></label>
|
|
</div>
|
|
<div class="rebate__code">
|
|
<div class="rebate__code-container has-feedback">
|
|
<div>
|
|
<input type="text" id="rebate-code" name="rebate-code" class="form-control">
|
|
<iaixsl:attribute name="placeholder"><iai:variable vid="Wpisz kod rabatowy"/></iaixsl:attribute>
|
|
</input>
|
|
<span class="form-control-feedback"></span>
|
|
</div>
|
|
<button class="rebate__code-realize bm-oscop__btn"><iai:variable vid="Zrealizuj"/></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="summary__container">
|
|
<h2><i class="icon-list1"></i> <iai:variable vid="Podsumowanie"/></h2>
|
|
<div class="summary__products">
|
|
<iaixsl:for-each select="basket/product">
|
|
<div class="oscop_product_wrap">
|
|
<iaixsl:attribute name="data-id"><iaixsl:value-of select="@id"></iaixsl:value-of></iaixsl:attribute>
|
|
|
|
<iaixsl:if test="position() > 2"><iaixsl:attribute name="class">oscop_product_wrap --hide</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:if test="position() = '2' and not(position() = last())"><iaixsl:attribute name="class">oscop_product_wrap --last-visible</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:if test="position() = last()"><iaixsl:attribute name="class">oscop_product_wrap --last</iaixsl:attribute></iaixsl:if>
|
|
<iaixsl:if test="position() = last() and not(position() < 3)"><iaixsl:attribute name="class">oscop_product_wrap --hide --last-hidden</iaixsl:attribute></iaixsl:if>
|
|
<a class="oscop_icon">
|
|
<iaixsl:attribute name="href">
|
|
<iaixsl:value-of select="@link"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="title">
|
|
<iaixsl:value-of select="name/text()"/></iaixsl:attribute>
|
|
<img class="oscop_icon-img" width="90" height="90">
|
|
<iaixsl:attribute name="src">
|
|
<iaixsl:value-of select="icon/text()"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="alt">
|
|
<iaixsl:value-of select="name/text()"/></iaixsl:attribute>
|
|
</img>
|
|
</a>
|
|
<div class="oscop_product_wrap_r">
|
|
<iaixsl:if test="size/@ordered or size/@ordered_points">
|
|
<strong class="oscop_quantity">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="size/@ordered">
|
|
<iaixsl:value-of select="size/@ordered"/>
|
|
</iaixsl:when>
|
|
<iaixsl:when test="size/@ordered_points">
|
|
<iaixsl:value-of select="size/@ordered_points"/>
|
|
</iaixsl:when>
|
|
</iaixsl:choose>x
|
|
</strong>
|
|
</iaixsl:if>
|
|
<a class="oscop_product_name">
|
|
<iaixsl:attribute name="href">
|
|
<iaixsl:value-of select="@link"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="title">
|
|
<iaixsl:value-of select="name/text()"/></iaixsl:attribute>
|
|
<iaixsl:attribute name="id_product">
|
|
<iaixsl:value-of select="@id"/></iaixsl:attribute>
|
|
<iaixsl:value-of select="name/text()"/>
|
|
</a>
|
|
<span class="oscop_price">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="number(price/@value) > 0">
|
|
<iaixsl:value-of select="price/@worth_formatted"/>
|
|
</iaixsl:when>
|
|
<iaixsl:when test="number(price/@points) > 0">
|
|
<iaixsl:value-of select="price/@points_sum"/> <iai:variable vid="pkt"/>.
|
|
</iaixsl:when>
|
|
</iaixsl:choose>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</iaixsl:for-each>
|
|
</div>
|
|
<iaixsl:if test="count(basket/product) > 2">
|
|
<div class="order_products_action"><span><iai:variable vid="Pokaż pozostałe produkty"/></span></div>
|
|
</iaixsl:if>
|
|
<!-- Informacje o koszcie-->
|
|
<div class="order_pay_wrapper">
|
|
<div id="order2_products_worth">
|
|
<span><iai:variable vid="Wartość zamówienia"/>: </span>
|
|
<span class="operation_value"></span>
|
|
</div>
|
|
<div id="order2_products_points">
|
|
<span><iai:variable vid="Wartość zamówienia w punktach"/>: </span>
|
|
<span class="operation_value --points"></span>
|
|
</div>
|
|
<div id="order2_shipping_value">
|
|
<span><iai:variable vid="Koszt przesyłki"/>: </span>
|
|
<span class="operation_value"></span>
|
|
</div>
|
|
<div id="order2_paymentcost_value">
|
|
<span><iai:variable vid="Koszt formy płatności"/>: </span>
|
|
<span class="operation_value"></span>
|
|
</div>
|
|
<div id="order2_insurance_value">
|
|
<span><iai:variable vid="Koszt ubezpieczenia"/>:</span>
|
|
<span class="operation_value"></span>
|
|
</div>
|
|
<div id="order2_total_rebate">
|
|
<span><iai:variable vid="Rabat"/>:</span>
|
|
<span class="operation_value minus_sign"></span>
|
|
</div>
|
|
<div id="order2_saldo_value">
|
|
<span><iai:variable vid="Opłacone z salda:(nadpłaty na koncie klienta)"/></span>
|
|
<span class="operation_value"></span>
|
|
</div>
|
|
</div>
|
|
<div class="order2_summary">
|
|
<div id="order2_summaryprice">
|
|
<span><iai:variable vid="Do zapłaty"/>: </span>
|
|
<strong>
|
|
<div id="summary-cost"></div>
|
|
<div id="summary-points" class="--points"></div>
|
|
</strong>
|
|
</div>
|
|
<div id="order2_shiptime">
|
|
<span><iai:variable vid="Przesyłka będzie u Ciebie w ciągu"/> </span>
|
|
<span class="operation_value"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="order2_terms_wrapper">
|
|
<!-- Regulamin -->
|
|
<div class="order2_terms_wrapper_sub">
|
|
<label class="order2_terms_conditions" for="order2_terms_conditions">
|
|
<input id="order2_terms_conditions" type="checkbox" name="order2_terms_conditions" value="yes"/>
|
|
<span><i class="icon-need"></i> <iai:variable vid="Akceptuję warunki"/>
|
|
<a target="_blank">
|
|
<iaixsl:attribute name="title"><iai:variable vid="Regulamin"/>
|
|
</iaixsl:attribute>
|
|
<iaixsl:attribute name="href">
|
|
<iaixsl:value-of select="/shop/action/terms/@url"/>
|
|
</iaixsl:attribute>
|
|
<iai:variable vid="regulaminu"/>
|
|
</a>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
|
|
<iaixsl:if test="not($returns_agree_control)">
|
|
<div class="order2_terms_wrapper_sub">
|
|
<label class="order2_cancel" for="order2_cancel">
|
|
<input id="order2_cancel" type="checkbox" name="order2_cancel" value="yes"/>
|
|
<span><i class="icon-need"></i> <iai:variable vid="Zapoznałem się z moim"/>
|
|
<a target="_blank">
|
|
<iaixsl:attribute name="title"><iai:variable vid="Odstąpienie od umowy"/>
|
|
</iaixsl:attribute>
|
|
<iaixsl:attribute name="href">
|
|
<iaixsl:value-of select="/shop/action/order_cancel/@url"/>
|
|
</iaixsl:attribute>
|
|
<iai:variable vid="prawem do odstąpienia od umowy"/>
|
|
</a>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</iaixsl:if>
|
|
|
|
<div class="order2_terms_wrapper_sub newsletter email">
|
|
<label for="client_mailing">
|
|
<input id="client_mailing" type="checkbox" name="client_mailing" value="1">
|
|
<iaixsl:if test="/shop/page/client-data/contact_data/@mailing != '0'"><iaixsl:attribute name="checked">checked</iaixsl:attribute></iaixsl:if>
|
|
</input>
|
|
<span>
|
|
<iai:variable vid="Chcę otrzymywać E-mail Newsletter (możliwość późniejszej rezygnacji)"/>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
<iaixsl:if test="/shop/page/client-data/contact_data/@send_sms">
|
|
<div class="order2_terms_wrapper_sub newsletter sms">
|
|
<label for="client_sms">
|
|
<input id="client_sms" type="checkbox" name="client_sms" value="1">
|
|
<iaixsl:if test="/shop/page/client-data/contact_data/@send_sms = 'y' or /shop/page/client-data/contact_data/@send_sms = 'd' or /shop/page/client-data/contact_data/@send_sms = '1'"><iaixsl:attribute name="checked"><![CDATA[checked]]></iaixsl:attribute></iaixsl:if>
|
|
</input>
|
|
<span>
|
|
<iai:variable vid="Chcę otrzymywać SMS Newsletter (możliwość późniejszej rezygnacji)"/>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</iaixsl:if>
|
|
|
|
<iaixsl:if test="page/order2/ordersproducts//product[@product_type = 'product_virtual']">
|
|
<div class="order2_terms_wrapper_sub virtual">
|
|
<label class="order2_virtual">
|
|
<input id="order2_virtual" type="checkbox" name="order2_virtual" value="yes"/>
|
|
<label for="order2_virtual"></label>
|
|
<span><iai:variable vid="Wyrażam zgodę i proszę zarazem o spełnienie świadczenia przed upływem terminu do odstąpienia od umowy. Jestem świadomy/a, że udzielając niniejszej zgody tracę moje prawo do odstąpienia od umowy wraz z momentem rozpoczęcia świadczenia"/>.</span>
|
|
</label>
|
|
</div>
|
|
</iaixsl:if>
|
|
<iaixsl:if test="page/order2/ordersproducts//product[@product_type = 'product_service']">
|
|
<div class="order2_terms_wrapper_sub service">
|
|
<label class="order2_service">
|
|
<input id="order2_service" type="checkbox" name="order2_service" value="yes"/>
|
|
<label for="order2_service"> </label>
|
|
<span><iai:variable vid="Wyrażam zgodę i proszę zarazem o rozpoczęcie świadczenia usługi przed upływem terminu do odstąpienia od umowy. Jestem świadomy/a, że w przypadku pełnego wykonania usługi tracę moje prawo do odstąpienia od umow"/>.</span>
|
|
</label>
|
|
</div>
|
|
</iaixsl:if>
|
|
<div class="order2_terms_wrapper_sub needed-text"><i class="icon-need"/> <iai:variable vid="Pola oznaczone gwiazdką są wymagane"/></div>
|
|
<label class="order2_terms_checkall" for="checkall-terms">
|
|
<input type="checkbox" id="checkall-terms"/>
|
|
<iai:variable vid="Zaznacz wszystkie"/>
|
|
</label>
|
|
</div>
|
|
<!--Przycisk złożenia zamówienia-->
|
|
<div class="bm-oscop__btn order2_button_order">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="/shop/order_edit">
|
|
<iai:variable vid="Zmień zamówienie"/>
|
|
</iaixsl:when>
|
|
<iaixsl:otherwise>
|
|
<iai:variable vid="Zamawiam i płacę"/>
|
|
</iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="attatched-summary">
|
|
<div class="bm-oscop__attatched-zone">
|
|
<div class="bm-oscop__attatched-container">
|
|
<div class="bm-oscop__attatched-price">
|
|
<div class="order2_summary">
|
|
<div id="attatched-summaryprice">
|
|
<span><iai:variable vid="Do zapłaty"/>: </span>
|
|
<strong>
|
|
<div id="attatched-cost"></div>
|
|
<div id="attatched-points" class="--points"></div>
|
|
</strong>
|
|
</div>
|
|
<div id="attatched-shiptime">
|
|
<span><iai:variable vid="Przesyłka będzie u Ciebie w ciągu"/> </span>
|
|
<span class="operation_value"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bm-oscop__attatched-checkbox">
|
|
<label class="order2_terms_checkall" for="attatched-checkall-terms">
|
|
<input type="checkbox" id="attatched-checkall-terms"/>
|
|
<iai:variable vid="Zaznacz wszystkie zgody"/>
|
|
</label>
|
|
</div>
|
|
<div class="bm-oscop__attatched-button">
|
|
<div class="bm-oscop__btn order2_button_order">
|
|
<iaixsl:choose>
|
|
<iaixsl:when test="/shop/order_edit">
|
|
<iai:variable vid="Zmień zamówienie"/>
|
|
</iaixsl:when>
|
|
<iaixsl:otherwise>
|
|
<iai:variable vid="Zamawiam i płacę"/>
|
|
</iaixsl:otherwise>
|
|
</iaixsl:choose>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<cdata-end/></iai:componentsdata></iai:component> |