VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: salvocomplicazione on March 03, 2015, 14:09:24 PM

Title: module virtuemart product 3.0.6.2 issue [solved]
Post by: salvocomplicazione on March 03, 2015, 14:09:24 PM
After updating vituemart aio to release 3.0.6.2, when loading the module virtuemart product inside an article, we obtain a blank page.
Before upgrading, the module worked correctly.
( JOOMLA 3.3.6; VM 3.0.6).
Title: Re: module virtuemart product 3.0.6.2 issue
Post by: GJC Web Design on March 03, 2015, 14:32:15 PM
and the error in the logs is?
Title: Re: module virtuemart product 3.0.6.2 issue
Post by: salvocomplicazione on March 03, 2015, 14:40:12 PM
no error....
please give a look at the html code of the displayed page.

Quote

<script id="jsVars_js" defer="defer"  type="text/javascript">//<![CDATA[
vmSiteurl = 'http://test.laserxxxxxxxxx.com/' ;
vmLang = "";
Virtuemart.addtocart_popup = '1' ;
usefancy = true; //]]>
</script>

<script id="ready.vmprices_js" defer="defer"  type="text/javascript">//<![CDATA[
jQuery(document).ready(function($) {
   Virtuemart.product(jQuery("form.product"));

   /*$("form.js-recalculate").each(function(){
      if ($(this).find(".product-fields").length && !$(this).find(".no-vm-bind").length) {
         var id= $(this).find('input[name="virtuemart_product_id[]"]').val();
         Virtuemart.setproducttype($(this),id);

      }
   });*/
}); //]]>
</script>
Title: Re: module virtuemart product 3.0.6.2 issue
Post by: GJC Web Design on March 03, 2015, 15:06:13 PM
Are u saying this raw html is displayed on the page?

Then it would seem the content plugin can't parse it

try removing the

/*$("form.js-recalculate").each(function(){
      if ($(this).find(".product-fields").length && !$(this).find(".no-vm-bind").length) {
         var id= $(this).find('input[name="virtuemart_product_id[]"]').val();
         Virtuemart.setproducttype($(this),id);

      }
   });*/
Title: Re: module virtuemart product 3.0.6.2 issue [solved]
Post by: salvocomplicazione on March 03, 2015, 15:23:06 PM
Hi, it was a missing update to VM 3.0.6.2 that caused the issue. After completing the update, the module started working again.
Regards.   
Title: Re: module virtuemart product 3.0.6.2 issue [solved]
Post by: jwb239 on April 01, 2015, 07:17:37 AM
I have the same issue when I try to create a link to material. When I click on the link, I see blank page with following content:

<script id="jsVars_js" defer="defer"  type="text/javascript">//<![CDATA[
vmSiteurl = 'sitename here' ;
vmLang = "";
Virtuemart.addtocart_popup = '1' ;
usefancy = true; //]]>
</script>

<script id="ready.vmprices_js" defer="defer"  type="text/javascript">//<![CDATA[
jQuery(document).ready(function($) {
Virtuemart.product(jQuery("form.product"));

/*$("form.js-recalculate").each(function(){
if ($(this).find(".product-fields").length && !$(this).find(".no-vm-bind").length) {
var id= $(this).find('input[name="virtuemart_product_id[]"]').val();
Virtuemart.setproducttype($(this),id);

}
});*/
}); //]]>
</script>