Author Topic: 2 TOS checkboxes on checkout  (Read 133 times)

KrisTianoVS

  • Beginner
  • *
  • Posts: 3
  • A beginner
2 TOS checkboxes on checkout
« on: December 01, 2017, 15:07:18 pm »
Hello, I read that a new law "GDPR" will contrain european websites to clearly give possibility for their users to check tos AND privacy policy when registring their data. Actualy, there is only one checkbox for TOS on Virtuemart checkout. Is there already a way to add a second checkbox?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26417
  • Always on vacation
    • Jenkin Hill Internet
Re: 2 TOS checkboxes on checkout
« Reply #1 on: December 01, 2017, 19:09:08 pm »
You can use Shopper Fields add another required checkbox to checkout .
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.8 on Joomla 3.8.2 PHP 7.0.25

Testing VM3.2.8 on J3.8.3RC

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9412
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: 2 TOS checkboxes on checkout
« Reply #2 on: December 03, 2017, 10:23:23 am »
It is also quite easy to create a clone of the tos.php
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

KrisTianoVS

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: 2 TOS checkboxes on checkout
« Reply #3 on: December 05, 2017, 13:36:05 pm »
Hi, thanks to all of you for your reply. I tried both solutions, but have some additional question about it.
I created a checkbox in shopper fields, but I would like to add "Click here to read privacy policy and check the box to accept them" with a link to a popup in the same way than the one from "Privacy policy", but I cannot solve this.

I also duplicate "tos.php" to "privacypolicy.php", replace "tos" to "privacypolicy", and add some line in "cart.php", but I cannot get it work neither. I presume I have to operate more changes than just those to files, but I am lost too.