BAD CHANGES MADE IN TEMPLATE V3.9.1 compared to v3.8.2

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
Sun Aug 04, 2013 6:06 pm
Reply with quote
Report this post
Hi all !
For search engine : Image popup additional images product detail page template Storebox v3.8.2 to V3.9.1

I spent nearly two hours to find the problem after updating storebox template ! If you encounter the same issue, I am pleased to help you.

The changes appear in the product detail page, when you show your product image and additional images
1 - The first image was displayed twice
2 - The additional images in the detail product page would not pop up anymore. They do in fact, but you have to select them, then they appear at the place of the first main image and then, you click on it and get the popup. Too long and not able to navigate in the additonal images !

I decided to make the change in the index.php file located here : /gk_storebox/html/com_virtuemart/productdetails/index.php

Here are the changes I made to get back to what it was (and what it is on the demo site). Around line 119

Code: Select all
for ($i = 0; $i < $count_images; $i++) {
$image = $this->product->images[$i];
?>
<div class="floatleft">
<?php
echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',false,"");

Replaced 0 by 1 on the first line and replaced the entire last line
Code: Select all
for ($i = 1; $i < $count_images; $i++) {
$image = $this->product->images[$i];
?>
<div class="floatleft">
<?php
echo $image->displayMediaFull("",true,"rel='vm-additional-images'");


Why gavick team changed thoses lines ? Can you tell please ?

after-update-template.png
change-the-code-to-get-this.png
User avatar
Expert Boarder

GK User
Mon Aug 05, 2013 8:05 am
Reply with quote
Report this post
That is the change that they made in VirtueMart, please switch to Beez template and you should see the same.
User avatar
Platinum Boarder

GK User
Sat Aug 10, 2013 11:58 am
Reply with quote
Report this post
https://www.gavick.com/forums/storebox- ... 76#p135576

I have the same issue... See my post please - kristobal1969 please advise where the index.php is located, the link provided by you does not exist.
User avatar
Junior Boarder

GK User
Sat Aug 10, 2013 1:52 pm
Reply with quote
Report this post
Hi,
It is in the template folder :
The address is : /templates/gk_storebox/html/com_virtuemart/productdetails/index.php
I thought it was obvious that you would find gk_storebox in the template.
I bet that in between you have found the file ? :D
User avatar
Expert Boarder

GK User
Sat Aug 10, 2013 1:57 pm
Reply with quote
Report this post
kristobal1969 wrote:Hi,
It is in the template folder :
The address is : /templates/gk_storebox/html/com_virtuemart/productdetails/index.php
I thought it was obvious that you would find gk_storebox in the template.
I bet that in between you have found the file ? :D


Derp!!! Yes I found it! Hope that Gavick updates the Quickstart so others dont run into this.
If you need quality graphic design give me a shout :lol:
User avatar
Junior Boarder

GK User
Sat Aug 10, 2013 2:28 pm
Reply with quote
Report this post
naddy24 wrote:Derp!!! Yes I found it! Hope that Gavick updates the Quickstart so others dont run into this.
If you need quality graphic design give me a shout :lol:

No they won't they just stick to virtuemart default:

bkrztuk wrote:That is the change that they made in VirtueMart, please switch to Beez template and you should see the same.
User avatar
Expert Boarder

GK User
Sat Aug 10, 2013 5:20 pm
Reply with quote
Report this post
Thanks for solving this! -

Im a Graphic Designer with a BFA from Rhodes University :ugeek: :)
But a total :unsure: newb to anything web... I enjoy the problem solving but it does get annoying at times :angry:

I have access to alot of web design work in South Africa, will give you a shout if I have more complex sites.
User avatar
Junior Boarder

GK User
Wed Nov 27, 2013 3:12 pm
Reply with quote
Report this post
Thanks for this post guys, I've just lost 2 days searching for a solution. It's a shame that Gavick still didn't fix it. I've installed fresh kickstart 2h ago and the issue still exists.
User avatar
Fresh Boarder

GK User
Fri Nov 29, 2013 12:25 pm
Reply with quote
Report this post
I've just checked storebox quickstart package and pop-up images are working fine >> screenshot. Which VM version did you use? Maybe this is a problem between VM and template version.
User avatar
Platinum Boarder


cron