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 August 31st, 2012, 08:37 AM
crazysaver crazysaver is offline
 
Join Date: Mar 2012
Posts: 47
Default Custom Views on Product Detail page Broken

Hi,

Our product detail pages broke recently, not sure when.

We've tracked it down to these two statements which used to work in the product details pages:

[DFR:AddProducts?brand=<?php echo $product->brand ?>&ppp=3]

[DFR:AddProducts?c=<?php echo $category->id ?>&sort=-price&ppp=5]

By removing them, we've got product detail pages working again, e.g:

http://bag-saver.com/store/black-bag...8600039185108/

But we'd like to have those Custom Views back working. Has something changed we need to know about?

Kind Regards,
Ola and Dave
  #2  
Old August 31st, 2012, 08:57 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Your PHP code looks wrong. You are missing ending semi-colons ;

Eric
  #3  
Old September 2nd, 2012, 06:57 PM
crazysaver crazysaver is offline
 
Join Date: Mar 2012
Posts: 47
Default

Thanks but that didn't help.

I have one of the DFRs in place here and as you can see it breaks the page:

http://bag-saver.com/store/cream-bag...4400007234935/
  #4  
Old September 2nd, 2012, 07:28 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Can you try using the PHP versions of the shortcodes like this:

PHP Code:
<?php echo datafeedr_tag('DFR:AddProducts?c='.$product->cat_id.'&sort=-price&ppp=5'); ?>
PHP Code:
<?php echo datafeedr_tag('DFR:AddProducts?brand='.$product->brand.'&ppp=3'); ?>
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
Help with Product Detail Page wlk23 Problems 2 August 15th, 2012 04:29 PM
Custom Views in Product Lists kaje Questions 10 January 27th, 2012 07:04 PM
Product Detail Page webmaster Questions 2 September 3rd, 2011 08:17 PM
Custom views page not displaying as I want sean83 Problems 1 August 25th, 2011 06:51 AM
Get rid of the tag cloud on the product detail page ericnmon Questions 2 May 23rd, 2011 03:14 PM


All times are GMT -5. The time now is 03:59 AM.


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