Forums / All Other Contributions/Addons / xsell sidebox zen 1.3.7

xsell sidebox zen 1.3.7

Locked

Views: 2,426

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
11 Feb 2007, 6:14 PM
#1
mattstuible avatar

mattstuible

New Zenner

Join Date:
Jan 2006
Location:
Montreal, QC, Canada
Posts:
39
Plugin Contributions:
0

xsell sidebox zen 1.3.7

Hi all:

I've been trying to get the Cross Sell mod (1.3.1) to display correctly in a sidebox (using the xsell sidebox contrib: http://globalteam.co.uk/zenhance/xsell-sidebox.zip%29. I had the sidebox working great with an old 1.2.6 site, but in 1.3.7, it simply won't show up. According to one thread, the sidebox should be 1.3-compatible.

I believe I've narrowed the problem down to the "if" statement in xsell_sidebox.php:

IF (($_GET['main_page'] == 'product_info') && (zen_not_null($xsell_data))) {
$show_featured= true;
} else {
$show_featured= false;

If I just set $show_featured=true (without the IF), the sidebox displays correctly for products with cross sell attributes...but...of course it also displays where I don't want it to!

Could someone who knows more about PHP coding help me out? Maybe it's a problem with the zen_not_null function? It's also weird that the variable is called "show_featured" when the sidebox is named xsell!

Thanks,

Matt

15 Feb 2007, 3:20 AM
#2
mattstuible avatar

mattstuible

New Zenner

Join Date:
Jan 2006
Location:
Montreal, QC, Canada
Posts:
39
Plugin Contributions:
0

Re: xsell sidebox zen 1.3.7

A first and final BUMP!

Is there anyone who has gotten the cross sell items to show up correctly in a sidebox with zen 1.3.7?