News:

Support the VirtueMart project and become a member

Main Menu

[BUG] [SOLVED] Terms of Service field not validated at all

Started by razor7, September 11, 2014, 00:47:08 AM

Previous topic - Next topic

GJC Web Design

Is it not easier just to write a javascript snippet that disables the checkout button if the box isn't checked?

the above code really seems a sledgehammer to crack a nut
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bluezeyes

IMHO better to fix the cause of an erroneous behaviour then to try to fix the result of it with javascript, which could break / not been enabled / blocked etc.

Better the VM is working stable on a low level but working then to handover Bugfix-functions on client-side to fix it.

Greets

Milbo

The solution is to use VM3 guys.

If we keep all the time to enhance vm2, we can do that for 100s of years. But it implies also that there are constantly changes in the behaviour, which a lot people just notice at bugs (why is my stuff not anylonger working). That is the reason we have major releases in software development.

When I fix bugs again, which I already redesigned in vm3, then there are not enough ressources to write VM3. Furthermore vm2 would become more and more VM3. This is doubled work.

So long there is no problem if you are a bit flexible. If people dont want to use the TOS, then they can set agreed as hidden field on with default =1 and thats it. It is atm mainly a matter of handling and not that something does not work.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Shazam0527

I'd be willing to use VM3, but I can't even find the download for it on the main website..

paradise4

Hi,

I'm using VM 2.6.10 and applied the fix for the "agree-to-tos-bug". Now customers can't register anymore because on saving the bill-to-data, vm redirects to the cart, shows the "you have to agree to the tos"-messager and the data isn't saved.

Any help available on that issue?

Thanks in advance!

paradise4

So you recommend to use the non-stable version 2.9.9 because the stable version contains bugs (like this one, which is a real show-stopper for shops in Germany)??? Come on, you can't be serious!

GJC Web Design

I say again->  Is it not easier just to write a javascript snippet that disables the checkout button if the box isn't checked?

that's what I use on VM2.0 if T&C's are required
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

paradise4

Hi GJC,

I think it would be better to fix the bug, but if you can provide the mentioned snippet, I'd be happy with it :)

GJC Web Design

As discussed elsewhere - if the devs keep rebuilding VM2 it becomes VM3 - VM3 is days away..


http://bit.ly/1x7SSAn

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

dinoide

same problem with 2.9.9.2

nothing TOS in the buying process. (i have activated of course)

paradise4

So "VM 3 is days away" (on: October 22, 2014, 10:48:31 am )?  ;D Rather weeks or months, at least for a stable version where the TOS checkbox is actually being validated, I'm afraid...

jenkinhill

Quote from: paradise4 on November 13, 2014, 13:49:20 PM
Rather weeks or months, at least for a stable version where the TOS checkbox is actually being validated, I'm afraid...

So have you been helping to speed the process by contributing a little time to testing the RC versions and reporting any bugs you find in the development forum?  http://forum.virtuemart.net/index.php?board=136.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

paradise4

I'd love to, but at the moment I'm spending a lot of time trying to solve the TOS bug in a proper way (JS isn't as it can be blocked).
By the way, why is the bug marked as [SOLVED] when it isn't?

AH

If people are blocking javascript then it is pretty pointless visiting modern e-commerce sites!
Regards
A

Joomla 4.4.5
php 8.1

T.A. Garrison, LLC

#29
I have to add my 2 cents...
I agree that this issues is NOT resolved.
I don't have either of the boxes checked:
Must agree to Terms of Service on EVERY ORDER    
Show Terms of Service on the cart/checkout

Yet, no matter what I do, users are forced to check the box on the front end in order to continue with the checkout.
It's frustrating for "older" customers who frequent my client's site.

This project is Joomla 3.3.6 and VM 3.0.3

I don't want to hack anything or override something that is already part of what's available in admin to control.

Thoughts?

Update:
I actually followed what I'd done in the previous version - followed jenkinhill's process - http://forum.virtuemart.net/index.php?topic=111063.msg372666#msg372666
That same process works in VM3. No I don't have the box and customers are not mandated to check the box.
T.A. Garrison, LLC
3150 Orleans St. # 28261
Bellingham, WA 98228