- Support forum for the Custom Checkout Fields Editor for WooCommerce.
August 27, 2021 at 2:48 pm #91652Vitor Villaça LiduárioGuest
Bom dia. Gostaria de saber se é possível definir uma ID para o campo adicional? Obrigado.August 27, 2021 at 11:58 pm #91653
Not sure if I got it correctly. Do you mean change what is now e.g.
_billing_alg_wc_checkout_field_1to some custom ID?August 30, 2021 at 5:23 pm #91654Vitor Villaça LiduárioGuest
Sim, exatamente isso, para um ID personalizado.August 30, 2021 at 5:27 pm #91655
Ok, got it. Let me try to implement it. Will get back to you asap.September 2, 2021 at 8:38 pm #91656
We’ve just released a new plugin v1.6.3, where I’ve added new “Fields ID” option to “WooCommerce > Settings > Custom Checkout Fields > General > Advanced Options”. By default the option is set to
alg_wc_checkout_field. It’s used in all fields as the middle part of ID, wrapped in field section and number, e.g.
_billing_alg_wc_checkout_field_1. That is, if you set it to e.g.
my_awesome_field, then your fields will have IDs like
_shipping_my_awesome_field_2, etc. Please give it a try and let me know if that’s good enough.October 21, 2021 at 2:03 pm #91657Vitor Villaça LiduárioGuest
Na verdade não funcionou para o que eu precisava. Eu preciso de uma ID totalmente personalizável, sem o numeral no final.October 22, 2021 at 2:49 pm #91658
Sorry to hear that it wasn’t what you needed. The problem is that to make IDs fully customizable without the digits at the end, I would need to change a lot of code in the plugin. But let me try it once again. Will get back to you soon.November 10, 2021 at 8:54 pm #91659Vitor Villaça LiduárioGuest
Obrigado por seus esforços, ficarei aguardando ansiosamente.November 11, 2021 at 10:00 pm #91660
Sure, I will let you know asap.
- You must be logged in to reply to this topic.