Datafeedr Support Forums

Datafeedr Support Forums (http://www.datafeedr.com/forums/index.php)
-   Problems (http://www.datafeedr.com/forums/forumdisplay.php?f=68)
-   -   Custom Views on Product Detail page Broken (http://www.datafeedr.com/forums/showthread.php?t=7583)

crazysaver August 31st, 2012 08:37 AM

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

Eric August 31st, 2012 08:57 AM

Hi

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

Eric

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:

http://bag-saver.com/store/cream-bag...4400007234935/

Eric September 2nd, 2012 07:28 PM

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


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.