New Zenner
- Join Date:
- Jul 2005
- Location:
- Newfoundland, Canada
- Posts:
- 59
- Plugin Contributions:
- 0
Sidebox Anywhere mod - Please Help
I'd like to be able to place multiple sideboxes on a page outside of my cart. I've tried one sidebox and it works great. When I try two boxes the second one doesn't appear.
Code sample:
<table width="540" id="main_bottom"> <tr> <td valign="top" id="main_bottom_td"><div align="center"> <?php $zcSBmodule = 'whats_new.php'; $zcSBlayout = 'left'; require ("cart/single_sidebox.php"); ?> </div></td> <td valign="top" id="main_bottom_td"><div align="center"> <?php $zcSBmodule = 'featured.php'; $zcSBlayout = 'left'; require ("cart/single_featured.php"); ?> </div></td> <td valign="top" id="main_bottom_td"><div align="center"> <?php $zcSBmodule = 'featured.php'; $zcSBlayout = 'left'; require ("cart/single_featured.php"); ?> </div></td> </tr> </table>I tried using all three boxes named single_sidebox.php and then tried using ones named differently like single_featured.php but still can't seem to get more then one to appear.
Also, is it possible for the single_sidebox.php to have a setting that overrides the max value set in Zen Cart? Say I have the max value for featured set at 3 inside Zen to display 3 items within the box in the cart but I only what 1 item to appear in the box outside the cart. Is there a variable I can set within single_sidebox.php??
Thanks in advance.