addScriptDeclaration(' jQuery(function($){ $("#askform").validationEngine("attach"); var counterResult = $("#comment").val().length; $("#counter").val( counterResult ); $("#comment").keyup( function () { var result = $(this).val(); $("#counter").val( result.length ); }); }); '); $vendorModel = VmModel::getModel ('vendor'); $this->vendor = $vendorModel->getVendor ($this->product->virtuemart_vendor_id); /* Let's see if we found the product */ if (empty ( $this->product )) { echo JText::_ ( 'COM_VIRTUEMART_PRODUCT_NOT_FOUND' ); echo '

' . $this->continue_link_html; } else { $session = JFactory::getSession(); $mailRecommendData = $session->get('mailrecommend', 0, 'vm'); if(!empty($this->login)){ echo $this->login; } if(empty($this->login) or VmConfig::get('recommend_unauth',false)){ ?>

product->product_name ?>

product->product_s_desc)) { ?>
product->product_s_desc ?>
product->images[0]->displayMediaThumb('class="modal product-image"',false); ?>
trigger('onInit','dynamic_recaptcha_1'); ?>