Virtuemart Product page - how to browse all picture in light

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Dec 26, 2013 3:34 pm
Reply with quote
Report this post
I was wondering why there is no left / right arrows when you click on big picture, so you can browse all resized pictures in lightbox - or with keyboard - left & right?

It's pretty annoying to click each picture and close it back.

Also, is it possible to change small pictures appearances in big pic box on click and not on hover - as it's hard to click that way on bottom picture in big box - if we have more than three pictures listed for the product?

You have to go around the upper three small pictures to click bottom line pictures on the big box.. ?

Example:
http://www.manus.si/newsite/index.php/s ... a-1-detail
User avatar
Senior Boarder

GK User
Fri Dec 27, 2013 6:31 pm
Reply with quote
Report this post
It is a change that VM has made in their scripts. We can't do anything about it. Perhaps you could ask on VM support forum how to bring back this functionality.
User avatar
Moderator

GK User
Sat Dec 28, 2013 2:43 pm
Reply with quote
Report this post
Hey. Ah, I understand and Thank you for quick reply! Will try with them or correct it myself :)
User avatar
Senior Boarder

GK User
Sat Dec 28, 2013 2:48 pm
Reply with quote
Report this post
Perhaps some 3rd party VM plugin might help.
User avatar
Moderator

GK User
Fri Jan 03, 2014 3:23 pm
Reply with quote
Report this post
Just a line of code... this fixes it....

Find:

/public_html/templates/gk_shop_and_buy/html/com_virtuemart/productdetails/default.php

Replace this file with:

https://drive.google.com/file/d/0B1NpeG ... sp=sharing
User avatar
Junior Boarder

GK User
Fri Jan 03, 2014 9:36 pm
Reply with quote
Report this post
It seems I have been wrong.
To make things simpler... In the file:
templates/gk_shop_and_buy/html/com_virtuemart/productdetails/default.php

line:
Code: Select all
echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',false,"");

need to be changed to:
Code: Select all
echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',true,"rel='vm-additional-images'");
User avatar
Moderator

GK User
Sat Jan 04, 2014 2:40 pm
Reply with quote
Report this post
oh, nice, thank you. will try it.

I was just looking at this template, which seems to have this option on:
http://demo.gavick.com/joomla25/storebo ... -49-detail

:)
User avatar
Senior Boarder

GK User
Sat Jan 04, 2014 3:10 pm
Reply with quote
Report this post
You are absolutely right. We will check that.
User avatar
Moderator

GK User
Sat Jan 04, 2014 3:31 pm
Reply with quote
Report this post
this thing doesn't do the magic:
http://www.manus.si/newsite/index.php/p ... a-1-detail

Cyberek wrote:It seems I have been wrong.
To make things simpler... In the file:
templates/gk_shop_and_buy/html/com_virtuemart/productdetails/default.php

line:
Code: Select all
echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',false,"");

need to be changed to:
Code: Select all
echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',true,"rel='vm-additional-images'");
User avatar
Senior Boarder

GK User
Sat Jan 04, 2014 3:34 pm
Reply with quote
Report this post
Yes, but this entire copy of default.php worked the trick!

Thank you!

naddy24 wrote:Just a line of code... this fixes it....

Find:

/public_html/templates/gk_shop_and_buy/html/com_virtuemart/productdetails/default.php

Replace this file with:

https://drive.google.com/file/d/0B1NpeG ... sp=sharing
User avatar
Senior Boarder

GK User
Sat Jan 04, 2014 5:08 pm
Reply with quote
Report this post
Ive updated default.php - fixed the first image showing twice in lightbox.

Thanks - kristobal1969 "maybe Gavick Team will remember this for future virtuemart stores"
User avatar
Junior Boarder

GK User
Sat Jan 04, 2014 7:39 pm
Reply with quote
Report this post
The problem is that default.php is copied directly from vm package with some of our additional mockup.
So the problem source is on VM site, but we have this as one of things "to do" in near future.
User avatar
Moderator

GK User
Sat Jan 04, 2014 11:58 pm
Reply with quote
Report this post
This issue effected me in Storebox, at that time the new version of VM was out... Wouldn't it just be easier fixing the problem so that this doesn't waste anymore time? I appreciate the work you guys do, this is a community and we all working to improve our knowledge and your product. VM integration was the reason that sparked my purchase of a Gavick membership... Please... where possible don't reply to fair questions as above by passing the buck to VM - remember that their product helps sell yoursi.
User avatar
Junior Boarder

GK User
Mon Jan 06, 2014 11:39 am
Reply with quote
Report this post
You are partially right, but from other point of view - we do templates and we are not specialists on VM product, we just add styling and mockup so that our templates works well with VM.
If VM changes something in their core files, then we don't investigate why they do, and is the change important or not. We take this changed code and merge it into our template files.
And that is exact why the problem with lightbox happened - if You would change to default Beeze template - the result would be the same. VM has changed one of their files and we made exact change in ours.
We often send our customers to VM forum - because there are specialists on VM component, and they should provide answers for questions that correspond to their product.
User avatar
Moderator

GK User
Wed Jan 22, 2014 10:06 am
Reply with quote
Report this post
hey.

how did you fixed image show twice?

naddy24 wrote:Ive updated default.php - fixed the first image showing twice in lightbox.

Thanks - kristobal1969 "maybe Gavick Team will remember this for future virtuemart stores"
User avatar
Senior Boarder


cron