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).
and the error in the logs is?
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>
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);
}
});*/
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.
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>