Announcement

Collapse
No announcement yet.

Is there a way to only get some of the category custom fields?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is there a way to only get some of the category custom fields?

    I found a solution to display product custom fields that are assigned to a custom field group. (http://www.miva.com/forums/forum/onl...-custom-fields)

    Now I want to know if there is a way to do the same for category custom fields that are assigned to a custom field group.

    IS there an analog for categories that works the same way as ProductFieldAndValuelist_Load_Group?

    #2
    Your best option is to load all custom category fields then limit the display by the group your looking for:

    Code:
    <mvt:item name="customfields" param="Read_Category_Code( 'catcode', '', l.settings:catfields )" />
    <mvt:foreach iterator="field" array="catfields">
        &mvte:field:code;<br/>
        &mvte:field:name;<br/>
        &mvte:field:value;<br/>
    </mvt:foreach>
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment

    Working...
    X