Hi all the good work;
I use to VirtueMart 3.0.10 my problem is very interesting.
I category pages, clicking on items you do not want to go to product detail page, just want to get big size products images. Sorry my english very bad :( I try to a few ways.
1. templates/sj_market/html/com_virtuemart/sublayouts/products.php
<a title="<?php echo $product->product_name ?>" href="<?php echo $product->link.$ItemidStr; ?>">
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>
</a>
I Change To Code
<a title="<?php echo $product->product_name ?>" href="<?php echo $product_full_image ?>">
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>
</a>
But Not Working.
And
<a title="<?php echo $product->product_name ?>" href="echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);">
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>
</a>
But Not Working.
Pls help me ı just product categories page click product image and just picture you want to open, dont go to the product page.
isn't it
<?php
echo $product->images[0]->displayMediaFull('class="browseProductImage"', false);
?>
Quote from: GJC Web Design on September 21, 2016, 13:08:21 PM
isn't it
<?php
echo $product->images[0]->displayMediaFull('class="browseProductImage"', false);
?>
i cgange but not working.
<a title="<?php echo $product->product_name ?>" href="<?php echo $product->images[0]->displayMediaFull('class="browseProductImage"', false); ?>">
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>
</a>
I want change hreff code opening image.
looks my site goo.gl/NqkXLv
href="<?php echo $product->images[0]->displayMediaFull('class="browseProductImage"', false); ?>"
how can href be an image resource??
to open the image in a lightbox the 2nd argument is true
Quote from: GJC Web Design on September 21, 2016, 15:48:34 PM
how can href be an image resource??
to open the image in a lightbox the 2nd argument is true
ı want product link change product lightbox image. So i click product image and i view product big size. I do not want product detail page. Only list page.
This is sample ==> goo.gl/S2wECw
Please i want help.
<?php
echo $product->images[0]->displayMediaFull('class="browseProductImage"', true);
?>
Quote from: GJC Web Design on September 22, 2016, 13:15:32 PM
<?php
echo $product->images[0]->displayMediaFull('class="browseProductImage"', true);
?>
I try
<a title="<?php echo $product->product_name ?>" href="<?php echo $product->images[0]->displayMediaFull('class="browseProductImage"', true); ?>">
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>
</a>
Not working. https://goo.gl/NqkXLv (https://goo.gl/NqkXLv) its here.
Oke. I solved
This is code working.
<div class="vm-product-media-container">
<a id="yt_cloudzoom" href="<?php echo $product->images[0]->file_url;?>" class ="cloud-zoom" rel="zoomWidth:'270',zoomHeight:'270',position:'right', adjustX:110, adjustY:-25, tint:'#b9298b', softFocus:1, smoothMove:5, tintOpacity:0.8" >
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>
</a>
</div>