forked from alaguraj/odoo-testing-addons
customize Odoo checkout address templates to remove company/VAT fields, rename zip to postal code, and streamline shipping details.
This commit is contained in:
parent
8ddde09c63
commit
f7c7359b6c
@ -24,10 +24,7 @@
|
||||
<attribute name="placeholder">Postal Code</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- 7. Hide "Ship to the same address" switch -->
|
||||
<xpath expr="//input[@id='shipping_use_same']/ancestor::div[contains(@class, 'form-check')]" position="attributes">
|
||||
<attribute name="class" add="d-none" separator=" "/>
|
||||
</xpath>
|
||||
|
||||
|
||||
<!-- 8. Change "Shipping address" / "Billing address" title to just "Address Details" -->
|
||||
<xpath expr="//h3[contains(., 'address')]" position="replace">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user