Hi,
Last month we gave you a simple solution for your problem, which is already fix in recent HikaShop version.
Your message was a "no thanks" and you didn't mention that you want another solution, so we closed the issue ticket.
The current problem you got is, for what I can see in your website, linked to your website.
If you look at the code in the file "components/com_hikashop/views/product/view.html.php" you will see that some javascript is added in the php function "contact", this javascript define the function "checkFields" which looks missing in your final page.
I checked the HikaShop 2.3.0 package personally to be sure that the code is right there.
Code in the HikaShop 2.3.0 package:
$js = "
function checkFields(){
var send = true;
var name = document.getElementById('hikashop_contact_name');
if(name != null){
if(name.value == ''){
name.className = name.className.replace('hikashop_red_border','') + ' hikashop_red_border';
send = false;
}else{
name.className=name.className.replace('hikashop_red_border','');
}
}
var email = document.getElementById('hikashop_contact_email');
if(email != null){
if(email.value == ''){
email.className = email.className.replace('hikashop_red_border','') + ' hikashop_red_border';
send = false;
}else{
email.value = email.value.replace(/ /g,\"\");
var filter = /^([a-z0-9_'&\.\-\+])+\@(([a-z0-9\-])+\.)+([a-z0-9]{2,10})+$/i;
if(!email || !filter.test(email.value)){
email.className = email.className.replace('hikashop_red_border','') + ' hikashop_red_border';
return false;
}else{
email.className=email.className.replace('hikashop_red_border','');
}
}
}
var altbody = document.getElementById('hikashop_contact_altbody');
if(altbody != null){
if(altbody.value == ''){
altbody.className = altbody.className.replace('hikashop_red_border','') + ' hikashop_red_border';
send = false;
}else{
altbody.className=altbody.className.replace('hikashop_red_border','');
}
}
if(send == true){
window.hikashop.submitform('send_email', 'hikashop_contact_form');
}
}
window.hikashop.ready(function(){
var name = document.getElementById('hikashop_contact_name');
if(name != null){
name.onclick=function(){
name.className=name.className.replace('hikashop_red_border','');
}
}
var email = document.getElementById('hikashop_contact_email');
if(email != null){
email.onclick=function(){
email.className=email.className.replace('hikashop_red_border','');
}
}
var altbody = document.getElementById('hikashop_contact_altbody');
if(altbody != null){
altbody.onclick=function(){
altbody.className=altbody.className.replace('hikashop_red_border','');
}
}
});
";
$doc->addScriptDeclaration($js);
So, without more details about your configuration, about your overrides, about the modifications you made... It will be difficult to provide you any
free support.
Please note that the HikaShop Business licence include one year of update and support.
If you want to update for free, you can install HikaShop starter which is totally free.
Regards,