New Zenner
- Join Date:
- Dec 2009
- Location:
- Austin, Texas
- Posts:
- 8
- Plugin Contributions:
- 0
Displaying new product fields on the Product Info Page
Hello all,
I've added two new product descriptors to my database and am trying to output that data on my product info page (the same way as 'Product Description' is displayed.
I've attempted to just repilcate the code for product description:
<div id="productDescription" class="biggerText productGeneral"><?php echo stripslashes $products_description); ?></div>
and only changing the database feild name $products_descrition to my new feild name $product_ingredients and the desired out come is NOT acheived...
I'm certain there are other things that need to change i'm just not sure what they are (Even after reading the forums... :( )
If anyone can lend a hand or point me in the right direction that would be great!!
To Recap:
How do i display data from custom database fields on my product info page the same way the 'Product Description' is displayed?
<!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->