VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: wajcha001 on September 24, 2014, 10:32:55 AM

Title: Joomla 3.3.4 / VirtueMart 2.9.9c - mod_virtuemart_product problem
Post by: wajcha001 on September 24, 2014, 10:32:55 AM
Hi,

there is a problem with products module on the default Joomla pages (front page/article/category/contant and so on). I have set product module on my front page where the menu item is set as Joomla Front Page and add to cart/quantity buttons doesn't work. When I open a VirtueMart Front Page where the same module is assigned then the add to cart/quantity buttons works. What I noticed missing on Joomla Front Page is following code in HEAD section of the HTML document:

  <script src="/j334vm299c/testing03/components/com_virtuemart/assets/js/vmsite.js" type="text/javascript"></script>
  <script src="/j334vm299c/testing03/components/com_virtuemart/assets/js/fancybox/jquery.fancybox-1.3.4.pack.js" type="text/javascript" defer="defer"></script>
  <script src="/j334vm299c/testing03/components/com_virtuemart/assets/js/vmprices.js" type="text/javascript" defer="defer"></script>

On 2.9.9b everything works properly. Problem appeared after an update to VM2.9.9c.

Testing on:
Joomla 3.3.4
VirtueMart 2.9.9c
PHP 5.4.7
Apache 2.4.3
Default Joomla templates: Beez3/Protostar


Thanks,
W.
Title: Re: Joomla 3.3.4 / VirtueMart 2.9.9c - mod_virtuemart_product problem
Post by: Milbo on September 24, 2014, 16:52:23 PM
Thank you very much for this input.

I could enhance the new javascript handler, working now also without vm
Title: Re: Joomla 3.3.4 / VirtueMart 2.9.9c - mod_virtuemart_product problem
Post by: wajcha001 on September 27, 2014, 11:33:08 AM
Max great thank you!