How can we turn off "Must agree to Terms of Service"... all fields are locked and we can't disable.
What's up with that? Can they be unlocked?
Joomla 2.5.4
VM 2.0.2
This is in VM2.0.4:
In VM config/Checkout make sure that these two are deselected:
Must agree to Terms of Service on EVERY ORDER?
Show Terms of Service on the cart/checkout?
Then make a copy of the file joomla_root/components/com_virtuemart/views/cart/tmpl/default.php
edit out the part relating to showing & confirmining TOS
Save the file as default.php and use as an override by placing the file in
joomla_root/templates/(your joomla template)/html/com_virtuemart/cart/ (make the subdirectories if not present)
Then TOS references will be removed. A copy of my (zipped) VM2.0.4 defaultnotos.php template is attached if you want to use it. Rename it to default.php for use.
[attachment cleanup by admin]
Thanks in advance, we'll give it a go.
Please do. The shopper agreeing to the terms of an on-line shopping site is a legal requirement in almost every part of the World to protect the seller and the buyer. So you have to know the staus of your market to remove it.
I just tried your .zip and it took away the "terms of service" box but not the requirement to check the box to confirm the order. I have deselected anything referring to terms of service or terms and conditions in the configeration so what did I miss? using latest edition of both joomla and vm.
thanks for your help
That was for 2.0.4 - current code is different, but I do not intend investigating as I require TOS on every order.
If you have the following line in your default.php then comment it out:
echo VmHtml::checkbox('tosAccepted',$this->cart->tosAccepted,1,0,'class="terms-of-service"');
Also add the following line in html right after <label for ="tosAccepted">:
<input type="hidden" name="tosAccepted" value="1">
But you should know what you are doing.
Quote from: raycarter on August 02, 2012, 14:18:14 PM
If you have the following line in your default.php then comment it out:
echo VmHtml::checkbox('tosAccepted',$this->cart->tosAccepted,1,0,'class="terms-of-service"');
Also add the following line in html right after <label for ="tosAccepted">:
<input type="hidden" name="tosAccepted" value="1">
But you should know what you are doing.
Excellent solution, its the only that works for me.
http://tb.umbrellahost.net/membership/pay-membership
Joomla 2.5.11
VM 2.0.20b
Gantry Template v3.2.20
I have unchecked the following in VM Configuration:
Must agree to Terms of Service on EVERY ORDER?
Show Terms of Service on the cart/checkout?
But it still shows the checkbox and gives an error if it isn't checked on submit. Since you allow us to turn these off, shouldn't the required checkbox disappear, too? This is very confusing to our customers. Will this be fixed in an update?
You can hide the checkbox like this: http://forum.virtuemart.net/index.php?topic=95669.msg388511#msg388511
Since TOS acceptance became included in Joomla 2.5 it had to become a protected field in VirtueMart, so you still get an error although you deselect "Must agree to Terms of Service on EVERY ORDER". But there is a way to make this userfield editable and Not Required. See http://forum.virtuemart.net/index.php?topic=111063.msg372666#msg372666
i have same problum then i click on tos no popup box are open but open next tab
we used virtuemart 2.0.20c
Use latest VM. Your url?
DON'T TOUCH ANY CODE!!!
Please note these steps-
On the configuration page.
uncheck - these 2 items
1 Must agree to Terms of Service on EVERY ORDER?
2 Show Terms of Service on the cart/checkout?
Then - go and edit "shoppers fileds'
mark "agreed" as not reduired
as hown here
http://awesomescreenshot.com/0a93trkb80
I have unchecked in both config places and disabled the shopper field and it is still showing. Any ideas?