You may be interested in…

 
 
 
 
 
 
 
 
 
 
 

Your cart is currently empty!


New in store

Copyright: © 2024 The Trybe City Technology Limited . All Rights Reserved.

document.addEventListener("DOMContentLoaded", function() { // Get the billing fields container const billingFields = document.querySelector('fieldset#billing-fields.wc-block-checkout__billing-fields'); if (billingFields) { // Find all input fields within the billing fields container const inputFields = billingFields.querySelectorAll('input, select, textarea'); inputFields.forEach(field => { // Check if the field is not required if (!field.required) { // Remove the parent element of the field field.closest('.wc-block-components-address-form__field-wrapper').remove(); } }); } });