VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: heidikas on June 18, 2014, 15:28:11 PM

Title: Checkout does not complete
Post by: heidikas on June 18, 2014, 15:28:11 PM
Hi, I'm using Joomla 2.5.20 with VirtueMart 2.6.4
I had the same topic here earlier: http://forum.virtuemart.net/index.php?topic=124101.0
Now I have asked help from Gavic and didnt get any. I also tested checkout process with other templates - Atomic and Beez-  and there is the same problem so maybe the problem is not in Gavic template but somwhere in setup or elswhere? The payment method is setup to "Standard" so the customer should get the invoice with e-mail, but doesn't get any, because of this checkout problem. any ideas? I tested Paypal payment method also, and then checkout will go to paypal and everything seems to work.
Title: Re: Checkout does not complete
Post by: GJC Web Design on June 18, 2014, 17:53:05 PM
I just tried again and the answer is exactly the same ... can even reuse the screenshot -- it posts the add to cart over and over again
http://forum.virtuemart.net/index.php?topic=124101.0

so something is broken in your site -- there is  a JS error

SyntaxError: syntax error
http://www.blujeansstore.eu/index.php/women/women-s-brands/jeans/high-rise-slim-leg-detail
Line 371

                                    <script type="text/javascript">
                                       function check(obj) {
                                           // use the modulus operator '%' to see if there is a remainder
                                          remainder=obj.value % ;
                                          quantity=obj.value;
                                           if (remainder  != 0) {
                                              alert('!');
                                              obj.value = quantity-remainder;
                                              return false;
                                           }
                                           return true;
                                        }
                                       </script>

see  http://www.gavick.com/forums/storebox-joomla25/add-to-cart-button-doesn-t-work-36201.html