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 November 4th, 2013, 12:42 PM
yankeestonk yankeestonk is offline
 
Join Date: Jun 2013
Posts: 605
Default how to add prices to search results

http://saveongolf.net/store/search/?word=cobra+amp


I added the datafeedr simple search box. The results are working fine but no prices are showing up. (example above.) How to I get the prices to show up?
  #2  
Old November 4th, 2013, 12:45 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Add this code to your Product list module here: The Factory > Your Store > VIEWS > SEARCH PAGE > Default > Product list module > Theme settings ()

Code:
<div class="prc">[product.currency mode="sign"][product.price]</div>
Eric
  #3  
Old November 8th, 2013, 09:19 AM
yankeestonk yankeestonk is offline
 
Join Date: Jun 2013
Posts: 605
Default

Hey Eric,
It works but I don't like where the price is showing up. (in the middle near the bottom). It's confusing as to whether it's a price for the one above or below. I tried placing the code in different areas and it only gets worse. Can you look at the code and the page and give me an idea where to put the code for the price in search results so it shows up either after the Title or description but in a way that it looks good. Maybe bold too? Thanks. here is the page code I have now and the URL of how it looks.

<!-- 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="prc">[product.currency mode="sign"][product.price]</div>
<div class="clearingdiv"> </div>
</div>
</div>
[/product.each]
<div class="clearingdiv"> </div>
</div>
<!-- /Search Results -->


http://saveongolf.net/store/search/?word=taylormade+r11
  #4  
Old November 8th, 2013, 09:36 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

I guess you could put it under the image...

HTML Code:
<!-- 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 class="prc">
					[product.currency mode="sign"][product.price]
				</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 -->
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
Inconsistent search results. DohRayMi Questions 7 March 22nd, 2013 12:28 PM
bad search results Michaelgs Questions 1 December 1st, 2012 02:16 PM
Search returning no results digitalcow Problems 2 November 13th, 2011 09:14 AM
Different search prices per category lpimco Questions 1 October 16th, 2011 02:30 PM


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


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