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 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
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">
<div class="t3 col1">
<div class="bdr">
<div class="lc">
<div class="thmb"><a href="[]" title="[]">[product.thumbnail tag='1']</a></div>
<div class="rc">
<h2><a href="[]" title="[]">[]</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 -->
[product.description cut='20 words']</p>
<div class="clearingdiv"> </div>

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

<?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?>
<div class="prc">
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>
<?php } else { ?>
<div class="prc">
[product.currency mode='sign'][product.price]
<?php } ?>

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

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


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


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 01:15 PM.

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