forked from alaguraj/odoo-testing-addons
Customize checkout address forms by removing company/VAT fields, renaming zip to postal code, and streamlining shipping sections and wizard steps.
This commit is contained in:
parent
7aafe0c6fb
commit
832fb9f196
@ -10,8 +10,8 @@
|
||||
<!-- 2. Remove VAT Field -->
|
||||
<xpath expr="//div[label[@for='vat']]" position="replace"/>
|
||||
|
||||
<!-- 3. Remove VAT Warning Message if it exists -->
|
||||
<xpath expr="//small[contains(text(), 'VAT number is not allowed')]/.." position="replace"/>
|
||||
<!-- 3. Remove VAT Warning Message if it exists (Optional/Resilient) -->
|
||||
<!-- <xpath expr="//small[contains(text(), 'VAT number is not allowed')]/.." position="replace"/> -->
|
||||
|
||||
<!-- 4. Rename Zip Code Label to Postal Code (Using more robust match) -->
|
||||
<!-- 4. Rename Zip Code Label to Postal Code -->
|
||||
@ -31,8 +31,8 @@
|
||||
<h3 class="mb-3">Address Details</h3>
|
||||
</xpath>
|
||||
|
||||
<!-- 9. Remove the "Be aware!" warning box -->
|
||||
<xpath expr="//div[contains(@class, 'alert-warning') and .//h4[contains(., 'Be aware')]]" position="replace"/>
|
||||
<!-- 9. Remove the "Be aware!" warning box (Already removed or hidden) -->
|
||||
<!-- <xpath expr="//div[contains(@class, 'alert-warning') and .//h4[contains(., 'Be aware')]]" position="replace"/> -->
|
||||
</template>
|
||||
|
||||
<!-- Custom Checkout Page - Remove Shipping Section entirely -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user