Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
Thread Tools Search this Thread Display Modes
Old January 19th, 2015, 02:17 PM
yankeestonk yankeestonk is offline
Join Date: Jun 2013
Posts: 605
Default product detail page size

Hi Eric,

On my product detail pages I want to make sure that I'm getting the larger size image provided in the datafeed. How can I tell that i have it set to do so. Here is the product detail code I have now. I don't want to set an arbitrary size because I don't want to blow up the image and make it blury. But I want to make sure I don't get the thumbnail if there is a larger image available.

<!-- Detail Heading -->
<h2>Product Details:</h2>
<!-- /Detail Heading -->

<!-- Single Product -->
<div class="sp">
<div class="bdr">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[]" target="_blank" rel="nofollow">
[product.image tag='1']
<div class="rc">
<h2><a href="[product.url direct='0']" title="[]" target="_blank" rel="nofollow">[]</a></h2>

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>
<div class="prc">
<span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span>
<span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span>
<?php } else { ?>
<div class="prc">
[product.currency mode='sign'][product.price]
<?php } ?>
<p class="desc"> [product.description]</p>
<div class="logo">[product.merchant_logo]</div>
[product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[]"><?php echo str_replace("-"," ",$tag->name);?></a>[/product.each_tag]

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>

<?php } else { ?>

<?php } ?>

<div class="btns btn-detail">
<a href="[product.url]" class="dfbutton dforange dflarge" title="See more details at retailer" target="_blank" rel="nofollow">View Deal at [product.merchant]</a>
<div class="btns btn-wishlist">
<a href="#" data-id="[]" data-modal="modal_login" class="md-trigger dfbutton dforange dflarge" title="Add this product to wishlist">Add to wishlist</a>
<div class="clearingdiv"> </div>
<!-- /Single Product -->
store name saveongolfcopy

Last edited by yankeestonk : January 19th, 2015 at 02:18 PM. Reason: add url and store
Old January 19th, 2015, 02:20 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902

This line [product.image tag='1'] indicates you are getting the large image, not the thumbnails. Thumbnails are rendered with [product.thumbnail tag='1'].

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change product detail font size petitmagasin Questions 3 December 10th, 2014 08:48 AM
reducing title font size on product detail pages kawie Questions 3 March 27th, 2014 11:24 AM
Font size on product detail page myefashion Questions 3 September 25th, 2013 09:22 AM
How to change Image Size on Product Detail View 1800HART Questions 8 March 29th, 2012 01:40 PM

All times are GMT -5. The time now is 12:53 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.