Thread tagged as: Problem

repeater parent.perch_item_index is blank

I looked through this link and followed the steps

here is my code

<perch:repeater id="moreimages" label="More Images" order="4" scope-parent="true" />
    <div style="float:left" class="product-detail-thumbs  portrait active"> <img alt="<perch:shop id="title" type="text" label="Title" required="true" order="2" />" onClick="javascript:$('.<perch:shop id="slug" type="slug" />').unslider('animate:<perch:content id="parent.perch_item_index" type="hidden" scope-parent="true" />');" src="<perch:shop id="more_image" type="image" width="90" height="120" crop="true"  bucket="images"  />   " > </div>

notice below code, outputs blank.

<perch:content id="parent.perch_item_index" type="hidden" scope-parent="true" />
sawan ruparel

sawan ruparel 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you're in the Shop app, your tag needs to be perch:shop not perch:content.