![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() 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="[product.name]" target="_blank" rel="nofollow"> [product.image tag='1'] </a> </div> </div> </div> <div class="rc"> <h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2> <?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?> <div class="prc"> <small> <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> </small> </div> <?php } else { ?> <div class="prc"> <small> [product.currency mode='sign'][product.price] </small> </div> <?php } ?> <p class="desc"> [product.description]</p> <div class="logo">[product.merchant_logo]</div> <div> [product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[/product.each_tag] </div> <?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> <div class="btns btn-wishlist"> <a href="#" data-id="[product.id]" data-modal="modal_login" class="md-trigger dfbutton dforange dflarge" title="Add this product to wishlist">Add to wishlist</a> </div> </div> <div class="clearingdiv"> </div> </div> <!-- /Single Product --> http://saveongolf.net store name saveongolfcopy Last edited by yankeestonk : January 19th, 2015 at 02:18 PM. Reason: add url and store |
#2
|
||||
|
||||
![]() 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 |
Display Modes | |
|
|
![]() |
||||
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 |