VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: kernel on October 30, 2012, 10:55:10 AM

Title: Windows popup product doesnt work and Max. for display products in the frontend
Post by: kernel on October 30, 2012, 10:55:10 AM
Hi all!

I comment the next because I dont know if others also have happened it. I updated to version 2.0.10 Virtuemart and found problems (describe below). Now I upgraded to the new version virtuemart 2.0.12f and the problems remain:
- When you click on the image of the product (flypage) the popup does not work, as if disabled.
http://www.electronicajamer.es/component/virtuemart/ahuyentadores/ahuyentador-ratas-cucarachas-230v-20mts-detail.html?Itemid=0 (http://www.electronicajamer.es/component/virtuemart/ahuyentadores/ahuyentador-ratas-cucarachas-230v-20mts-detail.html?Itemid=0)
- In Virtuemart settings I specify that the maximum outputs per screen in the frontend was 30. This is so that if there are more than 30 products in a category, appearing at least 30 and in the assumption that a category has less than 30 products, show all. Nothing, neither works. 9 products appear always shows default VM.
http://www.electronicajamer.es/component/virtuemart/ahuyentadores.html (http://www.electronicajamer.es/component/virtuemart/ahuyentadores.html)

Anyone else happened?, how could fix it?

Thanks!
Title: Re: Windows popup product doesnt work and Max. for display products in the frontend
Post by: kernel on October 30, 2012, 22:54:36 PM
Anyone else happened?

Any help would be welcome  :)
Title: Re: Windows popup product doesnt work and Max. for display products in the frontend
Post by: K&K media production on October 30, 2012, 23:12:41 PM
The reason for your first problem is maybe a template problem. Please change the template for testing to beez.

For the other thing, make a template override. Copy the file

components/com_virtuemart/views/productdetails/tmpl/default_images.php

to

templates/your_template/html/com_virtuemart/productdetails/default_images.php

and change

<?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"', false, "class='modal'", true); ?>

to

<?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"', true, "class='modal'", true); ?>


regards
Title: Re: Windows popup product doesnt work and Max. for display products in the frontend
Post by: kernel on October 31, 2012, 02:01:14 AM
Quote from: kkmediaproduction on October 30, 2012, 23:12:41 PM
The reason for your first problem is maybe a template problem. Please change the template for testing to beez.

For the other thing, make a template override. Copy the file

components/com_virtuemart/views/productdetails/tmpl/default_images.php

to

templates/your_template/html/com_virtuemart/productdetails/default_images.php

and change

<?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"', false, "class='modal'", true); ?>

to

<?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"', true, "class='modal'", true); ?>


regards

Hi kkmediaproduction!!
Thanks a lot for your help!!

Your code works fine in the VM shop!! (thanks again).

To solve the maximum outputs per screen in the frontend I found this post:
http://forum.virtuemart.net/index.php?topic=104709.0 (http://forum.virtuemart.net/index.php?topic=104709.0)

Thanks a lot for your help kkmediaproduction!!  :)
Greetings.
Kernel.
Title: Re: Windows popup product doesnt work and Max. for display products in the frontend
Post by: bytelord on October 31, 2012, 08:04:10 AM
Also the following could help you out: http://forum.virtuemart.net/index.php?topic=98647.0