checkout_task) {
$taskRoute = '&task=' . $this->checkout_task;
} else {
$taskRoute = '';
}
if ($this->cart->getDataValidated()) {
$this->readonly_cart = true;
} else {
$this->readonly_cart = false;
}
?>
';
jQuery('#checkoutForm').append(div);
//Virtuemart.updForm();
jQuery('#checkoutForm').submit();
}
jQuery(document).ready(function($) {
jQuery(this).vm2front('stopVmLoading');
var el = jQuery('#checkoutFormSubmit');
el.unbind('click dblclick');
el.on('click dblclick',Virtuemart.bCheckoutButton);
});
");
$this->addCheckRequiredJs();
?>