콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4178 화면

page: /shop/address

<template id="address" name="Delivery Address Management"

inherit_id="website_sale.address">

<xpath expr="//label[@for='name']/.." position="before">

<div class="clearfix" />

<div class="form-group col-md-12">

<label for="drop_shipping_customer">

<input type="checkbox" name="drop_shipping_customer" value="false" onchange="if(this.checked) this.value='true'; else this.value='false';" />

Drop Shipping Customer

</label>

</div>

</xpath>

</template>

page: /shop/checkout    ( two different pages has checkboxes )

<template id="address_kanban" name="Delivery Kanban address"

inherit_id="website_sale.address_kanban">

<xpath expr="//t[@t-esc='contact']" position="after">

<label for="drop_shipping_customer">

<input type="checkbox" name="drop_shipping_customer" onchange="alert(this.checked)"/>

Drop Shipping Customer

</label>

</xpath>

</template>

아바타
취소
관련 게시물 답글 화면 활동
1
6월 18
6154
2
7월 25
1163
2
7월 25
2877
0
1월 25
1360
0
10월 24
1532