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
  #1  
Old January 6th, 2012, 09:15 PM
jcvm27 jcvm27 is offline
 
Join Date: Jan 2012
Posts: 73
Default Align sales price with description in Search Page

I modified a little the Search Results, removed logo and I want to add the sales price in that list. I manage to add the sales price but I cannot center it under the product description.

Please check here http://thriftytraveling.com/store/se...arry+on&price=
to see product prices are not in the right location

this is the code, what do I need to add to it?

<!-- Search Results -->
<div class="pl">
[product.each]
<div class="t3 col1">
<div class="bdr">
<div class="lc">
<div class="thmb"><a href="[product.link]" title="[product.name]">[product.thumbnail tag='1']</a></div>
</div>
<div class="rc">
<h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2>
<p class="desc">
<a href="[server.url query='view=search']?merchant=[product.merchant]" title="View all products from [product.merchant]">
<!-- took out this line to remove product merchant logo -->
</a>
[product.description cut='20 words']</p>
</div>
<div class="clearingdiv"> </div>
</div>
</div>

<!-- adding sales price in the search list -->

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>
<div class="prc">
<small>
Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span>
Now: <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 } ?>

<!-- code for sales price finishes -->

[product.end]
<div class="clearingdiv"> </div>
</div>
<!-- /Search Results -->
  #2  
Old January 6th, 2012, 09:42 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

It's not pretty but you could change the <div class="prc"> tags to <div class="prc" style="text-align:center;">

Eric
 


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
How to create a "Sales" page category? TheBayLady Tips, Tricks & Tutorials 5 August 30th, 2012 03:00 PM
Price font for filer/search pages firstpage Questions 2 March 24th, 2011 11:08 PM


All times are GMT -5. The time now is 07:29 PM.


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