Welcome, Guest
Username: Password: Remember me

TOPIC: VM - Products Slideshow - image link disable .. ?

VM - Products Slideshow - image link disable .. ? 2 years 6 months ago #7241

  • expert42
  • expert42's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 4
  • Karma: 0
Hi.. firstly, i am turkish and my english language is bad.. So, i am sorry.. :)

i want that, disable product link in slideshow but ONLY HERE IN..

just photo wiev , not link.. is it possible?

This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re: VM - Products Slideshow - image link disable .. ? 2 years 6 months ago #7255

  • expert42
  • expert42's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 4
  • Karma: 0
Please help me :( very important for me...
The administrator has disabled public write access.

Re: VM - Products Slideshow - image link disable .. ? 2 years 6 months ago #7258

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You can edit this file: templates/ot_swizcake/html/mod_virtuemart_product/single.php

and find this code (around line 52)
<?php echo '<a href="'.$url.'" title="'.$product->product_name.'"><img src="'.$product->images[0]->file_url_thumb.'" alt="'.$product->product_name.'" style="width: 100%;" /></a>';?>

chang it to
<?php echo '<img src="'.$product->images[0]->file_url_thumb.'" alt="'.$product->product_name.'" style="width: 100%;" />';?>

Regards
The administrator has disabled public write access.
The following user(s) said Thank You: expert42

Re: VM - Products Slideshow - image link disable .. ? 2 years 6 months ago #7273

  • expert42
  • expert42's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 4
  • Karma: 0
thank you..
Besides, I removed the product title, because there is also a link there. :)
For those wondering >> bulvargida.com/index.php
The administrator has disabled public write access.

Re: VM - Products Slideshow - image link disable .. ? 2 years 6 months ago #7275

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
You're great!
The administrator has disabled public write access.

Re: VM - Products Slideshow - image link disable .. ? 2 years 6 months ago #7284

  • edensan
  • edensan's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 43
  • Karma: 0
expert42 wrote:
thank you..
Besides, I removed the product title, because there is also a link there. :)
For those wondering >> bulvargida.com/index.php

like your sitemenu!
The administrator has disabled public write access.

Re: VM - Products Slideshow - image link disable .. ? 2 years 5 months ago #7416

  • expert42
  • expert42's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 4
  • Karma: 0
i want to delete black bar (product tittle bar) in banner? Please help..
URL: bulvargida.com/index.php
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re: VM - Products Slideshow - image link disable .. ? 2 years 5 months ago #7421

  • crystal_moon
  • crystal_moon's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Thank you received: 10
  • Karma: 2
Hello
You can edit this file: templates/ot_swizcake/html/mod_virtuemart_product/single.php
and find and comment this code (line 52 - 80)
<div class="product-overlay">
	<div class="product-detail">
		<?php if ($show_price) { ?>
			<?php if (!empty($product->prices['salesPrice'])) { ?>
				<div class="product-price pull-right">
					<span class="PricesalesPrice"><?php echo $currency->createPriceDiv ('salesPrice', '', $product->prices, TRUE);?></span>
				</div>
			<?php } ?>
		<?php } ?>
		<h3 class="product-name">
			<a href="<?php echo $url ?>"><?php echo $product->product_name ?></a>
		</h3>
		<div class="clear"></div>
		<?php //Product short DESC ?>
		<!-- <div class="product-s-desc">
			<p class="product_s_desc">
				<?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 75, '...');?>
			</p>
		</div>
		<div class="clear"></div> -->
		<?php if ($show_addtocart) { ?>
			<div class="product-addtocart">
				<?php //echo mod_virtuemart_product::addtocart ($product);?>
				<?php echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'product-details'));?>
			</div>
			<div class="clear"></div>
		<?php }	?>
	</div>
</div>

or you can edit file: templates/ot_swizcake/css/template.css line 1028
find this code
.ot-single .product .spacer .product-overlay {
    bottom: -100%;
    left: 0;
    padding: 10px 5%;
    position: absolute;
    width: 90%;
}
change to
.ot-single .product .spacer .product-overlay {
    bottom: -100%;
    display: none;
    left: 0;
    padding: 10px 5%;
    position: absolute;
    width: 90%;
}
Last Edit: 2 years 5 months ago by crystal_moon.
The administrator has disabled public write access.

Re: VM - Products Slideshow - image link disable .. ? 2 years 5 months ago #7423

  • expert42
  • expert42's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 4
  • Karma: 0
thank you.. :)
The administrator has disabled public write access.
Time to create page: 0.176 seconds