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). 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



