Sorry if this is quite basic; I have created custom fields in Wordpress and used the following to display the fields on each product page. I'm struggling to work out how to get them to show on separate lines like an un-ordered list.
<div id="customfield-meta">
<?php
// Display Custom Field Value
echo get_post_meta( $post->ID, ' Model_Released', true );
echo get_post_meta( $post->ID, ' Property_Released', true );
echo get_post_meta( $post->ID, 'Catalogue_Number', true );
?>
</div> <!-- end #customfield-meta -->
Try this:
<div id="customfield-meta">
<?php
// Display Custom Field Value
echo "<ul>";
echo "<li>".get_post_meta( $post->ID, ' Model_Released', true )."</li>";
echo "<li>".get_post_meta( $post->ID, ' Property_Released', true )."</li>";
echo "<li>".get_post_meta( $post->ID, 'Catalogue_Number', true )."</li>";
echo "</ul>";
?>
</div> <!-- end #customfield-meta -->