News:

Support the VirtueMart project and become a member

Main Menu

VIRTUEMART 3.0.16 CHECKOUT PROBLEM - JOOMLA 3.5.1

Started by xelorduy, July 21, 2016, 12:23:10 PM

Previous topic - Next topic

xelorduy

Hi everyone,

We have a problem with the checkout of the page of one of our clients. During the process of the checkout, when someone try to confirm a purchase and press the confirmation button, the button get disabled and nothing happens. The only solution is to refresh the page and press the button again. This problem appears in different moments of the confirmation process.

Do someone has the same problem?

GJC Web Design

will be a template issue... commercial template?

Try with protostar to test
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

xelorduy

It´s our template, not commercial. We don´t know which is the relation that could be between the template and the checkout component. Do you have any idea of where could be the problem or the conflict with the template?

Thanks

GJC Web Design

compare the cart template of the std files with yours

the chkout but is disabled by a JS routine to prevent multiclicks etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

xelorduy

We don´t make the cart template, we have made the Joomla template with Bootstrap 3 with Jquery and we call to the checkout component of virtuamart. We only modify the CSS.

StefanSTS

Would be helpful to have a link to the site. A look into the head might reveal some problem.

Any extensions installed?

Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

xelorduy

The link is http://ume2010.es/es/.
It is in Spanish.
Extensions: Virtuemart, osmap

Thank you

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

GJC Web Design

something goes wrong in this script
</script>
<script id="vm.checkoutFormSubmit_js" type="text/javascript">//<![CDATA[
jQuery(document).ready(function($) {
      jQuery(this).vm2front("stopVmLoading");
      jQuery("#checkoutFormSubmit").bind("click dblclick", function(e){
         jQuery(this).vm2front("startVmLoading");
         e.preventDefault();
         jQuery(this).attr("disabled", "true");
         jQuery(this).removeClass( "vm-button-correct" );
         jQuery(this).addClass( "vm-button" );
         jQuery(this).fadeIn( 400 );
         var name = jQuery(this).attr("name");
         $("#checkoutForm").append("<input name=\""+name+"\" value=\"1\" type=\"hidden\">");
         $("#checkoutForm").submit();
      });
   }); //]]>
</script>

it adds the disabled att , adds the class vm-button, adds the hidden element .. then stops with no errors

perhaps try to eliminate the mix of jQuery and $

so

jQuery("#checkoutForm").append("<input name=\""+name+"\" value=\"1\" type=\"hidden\">");
         jQuery("#checkoutForm").submit();

or as Max says.. try the latest version
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

xelorduy

I will try to change $ for Jquery Where is the file?

Thank you

GJC Web Design

cart template default.php

but code is completely different to yours in vm3.0.16 .. so your obviously not using the latest
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

xelorduy

I have changed $ for jQuery, there was no change. I am going to install the new version, but in test environment.

Thank you

xelorduy

I have installed the version 3.0.17.4 and joomla 3.6 the problem is the same.

Thank