- Support forum for the WooCommerce EU & UK VAT Numbers Validation.
Tagged: checkout customization
- This topic has 2 replies, 2 voices, and was last updated 1 year, 7 months ago by Jean Paul Jaspers.
-
AuthorPosts
-
March 28, 2023 at 3:59 pm #112220Jean Paul JaspersParticipant
Hello, I am using the plugin. Works perfect when using only one checkout page.
I have 3 checkout pages, all worked perfectly before I installed the plugin.
I have 3 checkouts, B2C, B2B and Guest all worked good with standard check outfields and some cumstom fields.
Based upon the Page ID I would unset fields, changed requirements and priority.
Now that I installed your plugin, the checkout for B2B is absolutely perfect.
It checks everything that needs to be.
Very good plugin, I must say.
About this setup, do I still need to use the WooCommerce “One Stop Shop” plugin or does EU/UK VAT Manager for WooCommerce take care of this also?About B2C and Guest.
I am having trouble to change the settings of the fields. I tried with the normal hook actions and filters to set required, priority and unset fields. It works for good for the company field and to a certain extent also for the billing_eu_vat_number field, but there are still validations I cannot seem to turn off.
I have the setup for B2B with Belgium Compatibility, and there is where I run into trouble.I was thinking of doing the setup with all optional fields and then use some own coding to make them required and so on. Just like you can do for the standard checkout fields, but here is a small problem. For normal checkout fields and custom ones, this works prefect. WooCommerce will do the validation as it should, based upon classes and hooks. It seems that this is not the case with the fields of your plugin, which is understandable.
I don’t know the hooks of the plugin or how the fields are validated and if this is done with jQuery or with PHP code.
Is there a list with available hooks?
I can dive into your plugin, but I prefer not to. It works perfect, I just want something that most likely is available in the code somewhere but not yet discovered.So my questions,
1 if I change the classes on the fields with jQuery, will this stop the validation process of the fields?
2 I can unset the fields for company and vat and checkboxes, but somehow I cannot turn off or remove the validation related to Belgium settings, is there a hook for this?
3 All the settings done in ADMIN sections are done with hooks I, is there a list available of those hooks?Thanks for taking the time to reply.
Take care, Jean PaulMarch 30, 2023 at 8:15 pm #112368Hi Jean,
First, I would like to apologize for the delay getting back to you here.
Second, we’re glad you’re enjoying the plugin and it meets your needs.
Now back to the main issue, these hooks aren’t available currently, but we will be glad to include these in one of the coming updates, and also we will update a list of available hooks for reference.
We will follow up from your email sent to us.
Omar
March 30, 2023 at 9:29 pm #112376Jean Paul JaspersParticipantOkay, thank you, Omar, for the information.
Will wait for the list of available hooks.
With kind regards,
Jean Paul
<div id=”gtx-trans” style=”position: absolute; left: 260px; top: 30px;”>
<div class=”gtx-trans-icon”></div>
</div> -
AuthorPosts
- You must be logged in to reply to this topic.