Author Topic: VM2 Slideshow on product details page. Free!  (Read 41361 times)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3040
  • using Piwik instead of Google Analytics
Re: VM2 Slideshow on product details page. Free!
« Reply #15 on: August 14, 2012, 18:13:09 pm »
Quote
i tryed to use the solution in your link, but i don't want the slideshow in a page but only the "next prev" buttons in image popup! i can't resolve this.. you can find a solution whit this script?

Hi Ciriman,  Good idea.  We will create a POPUP Slideshow including thumbnails (additional images) as soon as possible. Thanks for your patience.   :)

In this forum there is a short tutorial for producing an override which loads Fancybox (includes prev/next buttons and a title) instead of Facebox in the frontend, including the code to copy and paste.  See here: http://forum.virtuemart.net/index.php?topic=95911.msg322261#msg322261

Works nicely, but in my special (case I need to change the image title, which is generated from the image alt-text (file_meta in the _virtuemart_medias table) to 'Displayed Image Title' (file_description in the _virtuemart_medias table and 'vm-img-desc' in vmsite-ltr.css). Perhaps VirtueArtcz or somebody else has an idea how to achieve that. I've run out of ideas already   :)

The reason for the above is that I need to display "Product name © manufactuer name" as a title below the image, but at the same time don't want to spoil the more descriptive image alt-text, which is important for SEO.
Please let the VirtueMart developers know which PHP version you are using for VirtueMart here:
http://forum.virtuemart.net/index.php?topic=133216.0

VirtueArtcz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 445
    • LINELABOX.COM
Re: VM2 Slideshow on product details page. Free!
« Reply #16 on: August 16, 2012, 01:01:55 am »
I really want to use this on my template however the template that I am using has a default.php file in the com_virtuemart folder that clearly contains code to either override the default_images.php folder for this slideshow. Here is the code relating to product images from the default.php file

Try to replace this code:

Code: [Select]
<div class="width40 floatleft">
<?php // Product Main Image
if (!empty($this->product->images[0])) { ?>

<div class="main-image">
<?php echo str_replace('<a''<a class="modal"'$this->product->images[0]->displayMediaFull('class="product-image"',true,"class='modal'",true)); ?>
</div>
<?php // Product Main Image END ?>
<?php // Showing The Additional Images
if (!empty($this->product->images) and count ($this->product->images)>1) { ?>

<div class="additional-images">
<?php // List all Images
foreach ($this->product->images as $image) {
echo 
'<div class="product-thumb">' $image->displayMediaThumb('class="product-image"',true,'class="modal"',true,true) . '</div>'//'class="modal"'
?>

</div>
<?php // Showing The Additional Images END ?>


With this:
Code: [Select]
<div class="width40 floatleft">
<?php
echo $this->loadTemplate('images');
?>
</div>

nicklucas

  • Beginner
  • *
  • Posts: 13
Re: VM2 Slideshow on product details page. Free!
« Reply #17 on: August 16, 2012, 14:34:32 pm »
Thanks for posting that VirtueArtcz it was much appreciated. Unfortunately it's not quite working it should probably because of the template I'm using as you can see here:

http://www.innovationonly.com/online-store/sealants-and-potting-compounds/magic-power-gel-1-litre-detail.html

I have no idea how to fix it so will probably have to admit defeat!

VirtueArtcz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 445
    • LINELABOX.COM
Re: VM2 Slideshow on product details page. Free!
« Reply #18 on: August 26, 2012, 21:29:25 pm »
The next week will be released the new FREE version with popup feature. Please check demo: http://demo.virtueart.org/linelabox/index.php/virtuemart-2-demo

VirtueArtcz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 445
    • LINELABOX.COM
Re: VM2 Slideshow on product details page. Free!
« Reply #19 on: August 28, 2012, 11:24:53 am »
A new version of Product Details Slideshow for VirtueMart 2 is available for download.
Absolutely Free!  :)

Download link: http://www.linelabox.com/

naiku

  • Beginner
  • *
  • Posts: 11
Re: VM2 Slideshow on product details page. Free!
« Reply #20 on: August 28, 2012, 14:26:37 pm »
A really big thank for that !!!  :D

PS: But if you have...10images for one item. Are you thinking to put thumbnails in a slide too like in presta**** ? One arrow for each side and some hidden thumb ? If anyone has already some overide code that ^^

Anyway, nice Slideshow.

peetee

  • Beginner
  • *
  • Posts: 7
Re: VM2 Slideshow on product details page. Free!
« Reply #21 on: September 05, 2012, 12:16:21 pm »
Hello. First of all thank You for your effort.. I have tried on several sites .. localhost and hosting ... and I cant make it work. After installing I get just single images lined horizontaly and there is no effect. Attached some pictures. What do I do wrong ? Thank You for your help. Petr

[attachment cleanup by admin]

VirtueArtcz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 445
    • LINELABOX.COM
Re: VM2 Slideshow on product details page. Free!
« Reply #22 on: September 06, 2012, 13:20:13 pm »
Ahoj Peetee, vidím češtinu  ;), napiš prosím url webu, podivám se na to.

buzi

  • Beginner
  • *
  • Posts: 35
    • Hubeza web design & Development
Re: VM2 Slideshow on product details page. Free!
« Reply #23 on: September 15, 2012, 20:39:16 pm »
thanks for this VirtueArtcz, you saved me lots of time on looking and making this work !

mikesc

  • Beginner
  • *
  • Posts: 9
Re: VM2 Slideshow on product details page. Free!
« Reply #24 on: September 18, 2012, 17:32:02 pm »
i got the same problem as peetee

is there a solution ? i cant get the slideshow on my web page.  all images are lined  vertically

please help

thank You

VirtueArtcz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 445
    • LINELABOX.COM
Re: VM2 Slideshow on product details page. Free!
« Reply #25 on: September 18, 2012, 17:44:08 pm »
Hi Mikesc, Please provide website url.

mikesc

  • Beginner
  • *
  • Posts: 9
Re: VM2 Slideshow on product details page. Free!
« Reply #26 on: September 18, 2012, 18:26:08 pm »
hi, VirtueArtcz

i have sent you PM
thank You

kingstone

  • Beginner
  • *
  • Posts: 1
Re: VM2 Slideshow on product details page. Free!
« Reply #27 on: September 25, 2012, 19:16:55 pm »

Hi nicklucas,

I also like your fault, it just works on Beez template-20, while on my template it did not work.

Please I ask you to have corrected this error. Can guide me if you have successfully overcome it? tks u.

naiku

  • Beginner
  • *
  • Posts: 11
Re: VM2 Slideshow on product details page. Free!
« Reply #28 on: October 03, 2012, 07:22:02 am »
Hello,

i have this vertical error too...but only when i'm logged. If i'm not logged, everything works nice. Any idea ?

atranaz

  • Beginner
  • *
  • Posts: 12
Re: VM2 Slideshow on product details page. Free!
« Reply #29 on: October 03, 2012, 10:52:03 am »
Thanks for this , very nice page & option for virtuemart product images i'll use it on my project soon