My first ZenCart tip

April 25, 2007

tpl_product_info_display

Now, I have my first description appearing at the top of the page, and the second at the bottom – they are split by the “Buy Now” area. You need to basically copy the regular “products_description section and place it wherever you want it to appear in your layout. Don’t forget the append it with “2″. So, for example, you copy this section:

<?php // bof Product description
if ($products_description != '') { ?>
<div id="productDescription"><?php echo stripslashes($products_description); ?></div>
<?php } // eof Product description
?>

..and change it to this:

<?php // bof Product description
if ($products_description2 != '') { ?>
<div id="productDescription2"><?php echo stripslashes($products_description2); ?></div>
<?php } // eof Product description
?>

…and place that sucker wherever you want it to appear.

Pages: 1 2 3 4 5 6 7 8 9 10

View Comments

Sorry, comments are now closed on this post. You may thank the spammers for that one. But if you have any questions, please feel free to email me and ask - maybe it'll make for a good update in a future post. :)