VAT ID input field at checkout
-
Hi,
I am currently developing a webshop based on the Bagisto (v1.4.5), which is working quite well so far.
We use the default theme.I would like a VAT ID field for the Billing Address as this would be required in my country.
I see that customers have the option to enter this in their address, but it would be important for guests to be able to do this as well.
I am thinking of a unique package to avoid possible overwrites with updates.
What would be the correct way for this?I've also looked at the possible events and listeners, but I don't have a good solution for now.
I mean it would be best to overwrite and supplement the views belonging to the default theme in my own package and the Model and Controller that process it, but in the absence of documentation, this is not clear for me.
Thank you in advance for your help!
-
This post is deleted! -
Does anybody have any suggestion? It's been a week now, should i post it as a feature request?
Because it's needed in most European countries. -
You could add the vat id text field to resources/themes/velocity/views/checkout/onepage/customer-info.blade.php
-
@ghermans
Okay, but if there is an update in Bagisto, (like this 1.5.1 and i have version 1.4.5) wouldn't it be a problem? -
I am a little bit disappointed of the poor documentation of developing new themes and packages.. also it's really sad that this forum is kind of dead, I don't know really know whom could i contact with my questions..
-
Hi @diverti,
you will get soon our updated Documentation. we are working on it.
-
Hi @diverti,
you can create a VAT ID input field on the below path-
/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php
-
@Amitk-Webkul said in VAT ID input field at checkout:
Hi @diverti,
you can create a VAT ID input field on the below path-
/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php
Hi!
Thank you for your anwser, but that wouldn't be a problem when updating Bagisto core? -
Hi @diverti,
you can create with the Bagisto latest version.
-
Hi @Amitk-Webkul ,
Thank you for your anwser!
Let's assume i make modifications to the current theme, make a lot of new stuff, new components etc.
If there is a Bagisto version update, then all my theme modifications in Velocity would be lost, am i correct?Waiting for your response!
Have a nice day! -