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 August 11th, 2013, 04:10 AM
vijjus2 vijjus2 is offline
 
Join Date: Jul 2013
Posts: 1
Default Price In the search results

Store ID:
Website URL: www.doctorsbest.us
URL to page in question: http://www.doctorsbest.us/store/sear...ium+Bone+Maker


Hi Datafeedr,

In the search results i want to display the price of the produts. So how can i place show the price in the search results. Please find the above search page of website. And where can i find my store ID?

Thanks
Vijay
  #2  
Old August 11th, 2013, 09:09 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Welcome to the forums!

Try changing this:
HTML Code:
<style type="text/css">.desc img {float:left;}</style>


<!-- Search Heading -->
<h2>Search results for:</h2>
<!-- /Search Heading -->


<!-- Search Fields -->
<ul>
  <?php if (@$_GET['word']){ ?><li><b>Word: </b>[store.get param="word"]</li><?php } ?>
  <?php if (@$_GET['merchant']){ ?><li><b>Merchant: </b>[store.get param="merchant"]</li><?php } ?>
  <?php if (@$_GET['tags']){ ?><li><b>Tags: </b>[store.get param="tags"]</li><?php } ?>
  <?php if (@$_GET['price']){ ?><li><b>Price: </b>[store.get param="price"]</li><?php } ?>
</ul>
<!-- /Search Fields -->


<!-- Pagination Links (Top) -->
<div class="pgr">
  Pages:
  [pager.first text='<img src="[server.plugin_url]/first.gif" alt="first page" />' alt='']
  [pager.prev text='<img src="[server.plugin_url]/prev.gif" alt="prev page" />' alt='']
  [pager.pages delim=' ']
  [pager.next text='<img src="[server.plugin_url]/next.gif" alt="next page" />' alt='']
  [pager.last text='<img src="[server.plugin_url]/last.gif" alt="last page" />' alt='']
</div>
<!-- /Pagination Links (Top) -->


<!-- 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]">
            [product.merchant_logo]
          </a>
          [product.description cut='20 words']</p>
       </div>
      <div class="clearingdiv"> </div>
    </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div>
<!-- /Search Results -->


<!-- Pagination Links (Bottom) -->
<div class="pgr">
  Pages:
  [pager.first text='<img src="[server.plugin_url]/first.gif" alt="first page" />' alt='']
  [pager.prev text='<img src="[server.plugin_url]/prev.gif" alt="prev page" />' alt='']
  [pager.pages delim=' ']
  [pager.next text='<img src="[server.plugin_url]/next.gif" alt="next page" />' alt='']
  [pager.last text='<img src="[server.plugin_url]/last.gif" alt="last page" />' alt='']
</div>
<!-- /Pagination Links (Bottom) -->
To this:
HTML Code:
<style type="text/css">.desc img {float:left;}</style>


<!-- Search Heading -->
<h2>Search results for:</h2>
<!-- /Search Heading -->


<!-- Search Fields -->
<ul>
  <?php if (@$_GET['word']){ ?><li><b>Word: </b>[store.get param="word"]</li><?php } ?>
  <?php if (@$_GET['merchant']){ ?><li><b>Merchant: </b>[store.get param="merchant"]</li><?php } ?>
  <?php if (@$_GET['tags']){ ?><li><b>Tags: </b>[store.get param="tags"]</li><?php } ?>
  <?php if (@$_GET['price']){ ?><li><b>Price: </b>[store.get param="price"]</li><?php } ?>
</ul>
<!-- /Search Fields -->


<!-- Pagination Links (Top) -->
<div class="pgr">
  Pages:
  [pager.first text='<img src="[server.plugin_url]/first.gif" alt="first page" />' alt='']
  [pager.prev text='<img src="[server.plugin_url]/prev.gif" alt="prev page" />' alt='']
  [pager.pages delim=' ']
  [pager.next text='<img src="[server.plugin_url]/next.gif" alt="next page" />' alt='']
  [pager.last text='<img src="[server.plugin_url]/last.gif" alt="last page" />' alt='']
</div>
<!-- /Pagination Links (Top) -->


<!-- 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]">
            [product.merchant_logo]
          </a>
          [product.description cut='20 words']</p>
        <p>[product.currency][product.price]</p>
       </div>
      <div class="clearingdiv"> </div>
    </div>
  </div>
  [/product.each]
  <div class="clearingdiv"> </div>
</div>
<!-- /Search Results -->


<!-- Pagination Links (Bottom) -->
<div class="pgr">
  Pages:
  [pager.first text='<img src="[server.plugin_url]/first.gif" alt="first page" />' alt='']
  [pager.prev text='<img src="[server.plugin_url]/prev.gif" alt="prev page" />' alt='']
  [pager.pages delim=' ']
  [pager.next text='<img src="[server.plugin_url]/next.gif" alt="next page" />' alt='']
  [pager.last text='<img src="[server.plugin_url]/last.gif" alt="last page" />' alt='']
</div>
<!-- /Pagination Links (Bottom) -->
Here: The Factory > Your Store > VIEWS > SEARCH PAGE > Default > Product list module > Theme settings ()

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
bad search results Michaelgs Questions 1 December 1st, 2012 02:16 PM
How to show reg price and sale price on search results? brightsway Questions 2 June 28th, 2012 12:58 PM
Add Sales Price (discounted) in Search Page results jcvm27 Questions 1 February 21st, 2012 07:49 PM
Random results instead of by price? lbuilta59 Questions 2 January 24th, 2011 04:32 PM


All times are GMT -5. The time now is 11:22 AM.


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