Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
  • Page:
  • 1
  • 2

TOPIC: how to add item link ?

how to add item link ? 11 years, 4 months ago #5659

how can I link to item?

I try this edit but doesnt work.


<div class="pag-item-image" style="width:<?php  echo $options->small_image_width ?>px;height:<?php echo $options->small_image_height ?>px;" >
									<a href="<?php echo $item->link; ?>"><img src="<?php  echo YTools::resize($item->image,$small_image_config);?>"  alt="<?php echo $item->title ;?>" /></a>
								</div>

Re: how to add item link ? 11 years, 4 months ago #5679

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear k. volkan catak,

Please try the following code lines:

<div class="pag-item-image" style="width:<?php  echo $options->small_image_width ?>px;height:<?php echo $options->small_image_height ?>px;" >
  <a href="<?php echo $item->link; ?>"  <?php echo YTools::parseTarget($options->item_link_target); ?>  title="<?php echo $item->title ;?>" >
	<img src="<?php  echo YTools::resize($item->image,$small_image_config);?>"  alt="<?php echo $item->title ;?>" />
  </a>
</div>


Thanks
Ticket System | Join our Clubs to download our extensions and templates
Last Edit: 11 years, 4 months ago by loitt.

Re: how to add item link ? 11 years, 4 months ago #5680

i tried to look, but when I click on the link page does not open.

Re: how to add item link ? 11 years, 4 months ago #5682

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear k. volkan catak,

Could you please send your site url to me?

Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: how to add item link ? 11 years, 4 months ago #5684

Require Help

Re: how to add item link ? 11 years, 4 months ago #5685

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear k. volkan catak,

Because there is a existing click event on each small thumbs, you can not add the link to small thumbs.

If there are two click events, this module is run incorrectly.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
  • Page:
  • 1
  • 2
Time to create page: 0.29 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes