Hi,
The error I see on your checkout is:
Uncaught TypeError: Fx.Slide is not a constructor
That error comes from the javascript of the payment methods selection system which needs mootools for now.
As erickb said, this won't be a problem with HikaShop 3, but for now, it is necessary for that.
If you want to remove that error when mootools is forcefully removed, you can remove the code:
if(!HIKASHOP_J30)
JHTML::_('behavior.mootools');
else
JHTML::_('behavior.framework');
$js = "
function moveOnMax(field,nextFieldID){
if(field.value.length >= field.maxLength){
document.getElementById(nextFieldID).focus();
}
}
window.hikashop.ready( function(){
";
$done=false;
if(empty($usable_methods)) {
if(count($class->errors)) {
foreach($class->errors as $error){
if(!empty($error)) $app->enqueueMessage($error);
}
}
}else{
$config =& hikashop_config();
$auto_select_default = $config->get('auto_select_default',2);
if($auto_select_default == 0) $done = true;
foreach($usable_methods as $method){
$show = false;
if(($payment_method==$method->payment_type && $payment_id==$method->payment_id)|| (empty($payment_id)&&!$done)){
$done = true;
$show = true;
}
$js.="
var mySlide_".$method->payment_type.'_'.$method->payment_id." = new Fx.Slide('hikashop_credit_card_".$method->payment_type.'_'.$method->payment_id."');
";
if(!$show){
$js.="
mySlide_".$method->payment_type.'_'.$method->payment_id.".hide();
var hikashop_last_opened_slide = null;
";
}else{
$js.="
var hikashop_last_opened_slide = mySlide_".$method->payment_type.'_'.$method->payment_id.";
";
}
// document.getElementById(id).onclick= function(){}
$js.="
if(typeof document.id == 'function' ){
document.id('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){
if(hikashop_last_opened_slide) {
if(mySlide_".$method->payment_type.'_'.$method->payment_id." == hikashop_last_opened_slide)
return;
hikashop_last_opened_slide.toggle();
}
mySlide_".$method->payment_type.'_'.$method->payment_id.".toggle();
hikashop_last_opened_slide = mySlide_".$method->payment_type.'_'.$method->payment_id.";
});
}else{
$('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){
if(typeof(hikashop_last_opened_slide)!='undefined') hikashop_last_opened_slide.toggle();
mySlide_".$method->payment_type.'_'.$method->payment_id.".toggle();
hikashop_last_opened_slide = mySlide_".$method->payment_type.'_'.$method->payment_id.";
});
}";
}
}
$js.="
});
var ccHikaErrors = new Array();
ccHikaErrors [3] = '".JText::_('CREDIT_CARD_INVALID')."';
ccHikaErrors [5] = '".JText::_('CREDIT_CARD_EXPIRED')."';
";
if (!HIKASHOP_PHP5) {
$doc =& JFactory::getDocument();
}else{
$doc = JFactory::getDocument();
}
$doc->addScriptDeclaration("\n<!--\n".$js."\n//-->\n");
in the file components/com_hikashop/views/checkout/view.html.php