VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Squall on November 24, 2015, 12:51:52 PM

Title: Terms of Service: make it obligatory
Post by: Squall on November 24, 2015, 12:51:52 PM
hi,
I have a problem with "terms of service":  I would that the click on the box is required, but now is optional
Title: Re: Terms of Service: make it obligatory
Post by: jenkinhill on November 24, 2015, 13:11:56 PM
As you provide so little information I will guess that you are now using VirtueMart3.0.12 and have not looked through all the configuration options.

Firstly under Shopper Fields ensure that both agreed and tos fields are set to required, are published and set to show in the cart.

Next in Configuration/Cechout, if tos is required for evey order the set "Must agree to Terms of Service on EVERY ORDER" to on.

Lastly if you are not using the VM default templates,  that your template overrides are correctly coded for tos.
Title: Re: Terms of Service: make it obligatory
Post by: Squall on November 24, 2015, 13:56:35 PM
hi,
thanks for your reply!

I use VirtueMart 3.0.12 (default template).

I have done all you suggested but the TOS is not obligatory .. :(
Any ideas?

thank you very much
Title: Re: Terms of Service: make it obligatory
Post by: jenkinhill on November 24, 2015, 15:12:05 PM
On the 3 J3.4.5/VM3.0.12 sites I just tested every time I get

Notice
Please accept the Terms of Service to proceed
Title: Re: Terms of Service: make it obligatory
Post by: Squall on November 24, 2015, 15:40:08 PM
The notice not appears to me :(

R
Title: Re: Terms of Service: make it obligatory
Post by: Jumbo! on November 24, 2015, 22:54:36 PM
Go to "Shopper Fields" section in VirtueMart back-end. Now make sure that the fields called "tos" and "agreed" are marked as required. That should resolve the issue.
Title: Re: Terms of Service: make it obligatory
Post by: Milbo on November 25, 2015, 10:44:38 AM
You only need to set the TOS on required. "Agreed" is for registration on the page.

So most stores dont need the agreed anylonger. It is there for legacy and legal issues. When you have a pure shop, you dont need it, if you offer also other services on your page, you may use it for registration of nonshoppers.
Title: Re: Terms of Service: make it obligatory
Post by: Squall on November 25, 2015, 14:44:41 PM
Hi,
please, look my settings.
I did everything you said, but I still have the issue.

regards
R
Title: Re: Terms of Service: make it obligatory
Post by: Jumbo! on November 26, 2015, 07:16:35 AM
Then your Joomla Template is probably overriding the original VirtueMart layouts which can cause such issues. If you are using a 3rd party Joomla template then please contact the template developer.
Title: Re: Terms of Service: make it obligatory
Post by: Squall on November 27, 2015, 22:01:48 PM
sorry, I used the default template of virtuemart. No thirty part template.

regards
R
Title: Re: Terms of Service: make it obligatory
Post by: Jumbo! on November 29, 2015, 08:36:48 AM
Post link of your site.
Title: Re: Terms of Service: make it obligatory
Post by: Squall on November 30, 2015, 09:52:41 AM
www.maxwellrender.it
Title: Re: Terms of Service: make it obligatory
Post by: jenkinhill on November 30, 2015, 12:13:40 PM
JavaScript error on checkout page:

ReferenceError: jQuery is not defined
...om:a}};document.formvalidator=null,jQuery(function(){document.formvalidator=new ...

Maybe related to your Joomspirit template code. Test with Protostar to check this.

   
Title: Re: Terms of Service: make it obligatory
Post by: Squall on November 30, 2015, 16:59:26 PM
thanks for your answer jenkinhill.
How can I switch off the loading of the virtuemart jQuery library?
I have  installed the easy jquery plugin but I have the same issue. :(