Datafeedr Support Forums

Datafeedr Support Forums (
-   Problems (
-   -   Custom Views on Product Detail page Broken (

crazysaver August 31st, 2012 08:37 AM

Custom Views on Product Detail page Broken

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:

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

Kind Regards,
Ola and Dave

Eric August 31st, 2012 08:57 AM


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


crazysaver September 2nd, 2012 06:57 PM

Thanks but that didn't help.

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

Eric September 2nd, 2012 07:28 PM


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'); ?>


All times are GMT -5. The time now is 06:58 AM.

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