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

Is it possible to validate two fields in OnePage? What I need is two phone field...
1 hour ago 0
Hi! I do not understand how can I hide category "For sale" or "Sa...
10 hours ago 0
What can I do to get "orders layout" responsive? What I mean is the pa...
1 day ago 0
I just bout VM mega menu but apparently it is not doing what it says it is doing...
2 days ago 1

Who's Online

We have 249 guests and 4 members 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