News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Multiple Custom Fields (category view)

Started by chadlly2003, December 14, 2013, 03:32:32 AM

Previous topic - Next topic

chadlly2003

I have custom fields in the category view using this code (see below).....   My problem is that I have multiple custom fields for each product.  I only want to show one custom field on the category view rather them displaying them all for the given product.  Can someone assist me or lead me in the right direction on solving this issue

               <?php
                     foreach($product->customfields as $custom){
                     echo "<b>";
                     echo $custom->custom_title;
                     echo "</b>: ";
                     echo $custom->custom_value;
                     echo "<br>";
                     }
                     ?>


balai

What you mean "show one custom field on the category " ?
Where ? how?