| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Additional checkboxes on checkout | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Additional checkboxes on checkout
Hello there,
I am migrating from X-Cart branch 4 to 5 and I was wondering how to add custom checkboxes to the checkout form. In X-Cart 4 I could add fields of different types to the customer registration form but now it's only text fields. I am using GDPR but the consent for data privacy is not enough. I need two additional checkboxes that are NOT mandatory but need to appear at checkout and to be visible in the order confirmation, invoice and admin frontend. It's for asking customers' consent to use their email address for DHL shipment tracking and to use photos of their (individualized) products elsewhere. I tried textfields in the address form, where they could type "YES" or "NO" but there are several problems with that:
Maybe the GDPR module should be extended to being able to create even more consent checkboxes which could be declared mandatory or not. This is definitely a GDPR topic. However, I need these checkboxes to go live, I also checked dev knowledgebase. I've got coding skills but I'm totally new to that framework. It's so different to X-Cart 4. Has anybody done something like that, yet? Any help is appreciated. I added screenshots of my x-cart 4 solution and of what I got in x-cart 5. Best Regards, Anja
__________________
X-Cart Business 5.4.1.35 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Additional checkboxes on checkout
You should aim at adding these where the GDPR one is - just above the checkout button and not in the address form.
You can look at the GDPR module and how it adds the new checkbox there, saves with order, etc.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
Re: Additional checkboxes on checkout
Hi Steve,
thanks, but as I said, I'm totally new to the framework. Where can I add form fields and where is the php for it? I don't think it makes sense modifying the GDPR Module, if it's even possible, because of any updates that might come up.
__________________
X-Cart Business 5.4.1.35 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Additional checkboxes on checkout
You don't modify the GDPR module. Just use it as a guide.
You can pack it from admin, download on your locale machine and create new module based on it.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
Re: Additional checkboxes on checkout
Oh, thanks for the hint
I'll try that!
__________________
X-Cart Business 5.4.1.35 |
|||||||
|
|||
X-Cart forums © 2001-2020
|