Author Topic: Additional customer field for privacy policy agreement on registration  (Read 830 times)

gba

  • Jr. Member
  • **
  • Posts: 271
Hi all!

We need to add a mandatory checkbox at the end of the VM registration form for privacy policy agreement.
I added a customer field, set it mandatory and visible in the account management, only.
Although the customer ticked the checkbox and saved the customer data, on checking out VM complains, that this new field needs to be ticked.
Additionally the field description appears in the address area, where the user fields are generated using
Code: [Select]
echo $this->loadTemplate ('address');
1. How can we get rid of the VM complaint about this new customer field?
2. And how can we prevent VM from concatenating the field description to the address area in the cart?

Thank you very much in advance for any useful hint!

Kind regards,
Gerald

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3389
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Additional customer field for privacy policy agreement on registration
« Reply #1 on: December 28, 2017, 01:47:26 am »
HI, you can select the view displaying the field. Have you try this ?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9667
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Additional customer field for privacy policy agreement on registration
« Reply #2 on: December 29, 2017, 12:31:51 pm »
GBA, please use the last version. There is now also an additional layout for tos2.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/