Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Problems
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 February 22nd, 2011, 04:28 PM
dcutri dcutri is offline
 
Join Date: Nov 2010
Posts: 75
Default Featured Product Problem

Hi,

I have a Featured Product widget in my sidebar. I have it set to show the highest-priced product based on the current url. It works great except on the product detail pages. On the product detail pages, it shows the same product that the page is detailing (because it's using the product url). I need the widget to use whatever category the product is in, not the actual product. Any ideas?
  #2  
Old February 22nd, 2011, 04:33 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

You need to pass c=%ci into the query string so that it chooses from the current category.

You can use the Random Products widget as an example.

So you will need to create a custom view named something like "Highest Priced" and then in that view at a Product List module configured to show 1 product sorted highest to lowest price.

Then add a new Widget, add a text module to your widget and add the following code
[DFR:Highest Priced?c=%ci] to the template area of your text module.
  #3  
Old February 23rd, 2011, 12:08 PM
dcutri dcutri is offline
 
Join Date: Nov 2010
Posts: 75
Default

Thank you!
  #4  
Old March 8th, 2011, 11:09 PM
onlinem1 onlinem1 is offline
 
Join Date: May 2010
Posts: 2
Default

i seemed to need to add </div> to the code: [DFR:Highest Priced?c=%ci]
in product Detail view's most bottom part. where you have [DFR:Highest Priced?c=%ci] in the "text field"
 


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
Change featured products? alistair Questions 3 February 22nd, 2011 03:13 PM


All times are GMT -5. The time now is 08:40 AM.


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