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

New version of Joomla! Template Builder will be published within a few weeks. Mo...
1 day ago 0
Zdravím Vás. Nastavil som všetko čo som vedel a nie som si istý či som na ni...
5 days ago 1
I just bought productxport-4.3.6-vm2-profi. When I do an export I use the field...
1 week ago 0
Dobrý den, zjistil jsem, že mi nejde naimportovat kategorie z heureky. Vše dělám...
2 weeks ago 5

Who's Online

We have 218 guests and no members 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.