Linelabox Support

Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.


I'm testing now my site to look if someone can order a product.
I have used before one page checkout plugin with joomla 2.5/vm2.xx and one page checkout vm2. This was working fine.

Now I have one page checkout vm3 plugin for joomla 3/vm3. But It is working so far except that the checkbox 'terms of delivery' is missing.
If I click now on the order button I get an error (firebug):
TypeError: document.getElement(...) is null Line 938 col 7.

If I go there then is this the code:

Line 937 function submit_order() {
Line 938 if(document.getElement('input[name=tos][type=checkbox]').checked==false) {
return alert('Accepteer de leveringsvoorwaarden alstublieft ter bevestiging');

I think this means that the checkbox has to be checked but it isn't there or I don't see it Look at my attachement.
Responses (2)
  • Accepted Answer

    Wednesday, October 07 2015, 11:54 PM - #permalink
    Hi Nico, Go to Admin Joomla > Virtuemart configuration > Shopper Fields > Publish "agreed" field in the cart form .
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 08 2015, 10:35 AM - #permalink

    Thanks a lot! And now I remember, I think I have asked this 1.5 year before also but I was forgotten. It works now!

    Sorry for asking this question, I hope that I will not forget again.

    The reply is currently minimized Show
Your Reply

VirtueMart Admin Theme


Responsive VirtueMart 3 Administrator Template


New Joomla! 3 Template


Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo

Recent Discussions

Dobrý den, potřeboval bych prosím doladit One Page Checkout. U produktů mám na...
3 days ago 0
When I install a ultimelab template on my site, right away a lot of overrides ar...
2 weeks ago 0
Hello. I have problem with export xml for google merchant. In xml settings - x...
1 month ago 0
Dobrý den, ve čtvrtek jsem od vás koupili balíček Professional. Peníze jsme vám...
1 month ago 2

Who's Online

We have 366 guests and one member online is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Copyright © 2014 - Joomla! 3 / VirtueMart 3 Templates. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License. All other marks are the property of their respective owners.