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.

Hello,

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 http://test.dogtra.nl/webwinkel/cart 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
    0
    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
    0
    Hi,

    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.

    Nico.
    The reply is currently minimized Show
Your Reply

VirtueMart Admin Theme

VMADMINLAB

Responsive VirtueMart 3 Administrator Template

Download
JOIN NOW!

New Joomla! 3 Template

REVOLAB

Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo
JOIN NOW!

Recent Discussions

In all Download Folders from my Download Arrea are only the html and the images ...
4 days ago 6
Dobrý den, mám u Vás zakoupený proff. package, vytvořil jsem si šablonu, ale pok...
5 days ago 1
Hi I get the following warning on the product page when using the Simple File Up...
6 days ago 1
Password proctected content
2 weeks ago 2

Who's Online

We have 125 guests and one member online

Linelabox.com 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 Linelabox.com - 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.
LINELAB WEBDESIGN