Quote Originally Posted by HeathenMagic View Post
Hello Jettrue,

I have put the request restock. I tried putting everywhere, and it does the same. I have added wishlist, and social bookmarking, but they are ok. This is the code I have added:-

<!--bof Restock button-->
<?php
if ($products_quantity <= 0) { ?>
<?php echo '<a href="' . zen_href_link(FILENAME_REQUEST_RESTOCK, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_REQUEST_RESTOCK, BUTTON_REQUEST_RESTOCK_ALT) . BUTTON_REQUEST_RESTOCK_ALT . '</a>'; ?></div>

<?php
}
?>
<!--eof Restock button -->

Basically, I was using Future Zen template, and I have copied all the sidebox and template files over to cherry zen. So when I switch to Future Zen, the sidebox thing doesn't occur. I was careful in only copying the css files that were extra, and otherwise, didn't overwrite any of the Cherry Zen file. Only altered the file to use lightbox for image enlargements.

Regards,

Heathenmagic
Yeah, the problem is the restock mod. See how it has a closing </div> but no starting div. Change that section to this:

<!--bof Restock button-->
<?php
if ($products_quantity <= 0) { ?>
<?php echo '<div id="requestRestock"><a href="' . zen_href_link(FILENAME_REQUEST_RESTOCK, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_REQUEST_RESTOCK, BUTTON_REQUEST_RESTOCK_ALT) . BUTTON_REQUEST_RESTOCK_ALT . '</a>'; ?></div>

<?php
}
?>
<!--eof Restock button -->

Then you can add this to your css to get it over to the left:
#requestRestock {float:left;}