Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4172 Vizualizări

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>

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 18
6153
2
iul. 25
1161
2
iul. 25
2864
0
ian. 25
1347
0
oct. 24
1529