First of all, had this company used the matrix system, this would have been moot. But that being said, that was out of my hands and now I am trying to clean up a mess.
We use our related items as variations of the same product. For instance some may be in different wattages, but otherwise are the same light fixture.
However all of our fixtures have accessories, drivers, power supplies, dimmers etc.
I have set up custom fields for accessories. Where I declare the Item Name and then I source the itemID in a hidden custom field.
What I want to do is, using that item id, get attributes of the product its referencing to display on a drilldown page of another record.
Example:
Accessory Field 1 : D4-SUSYO-L1330-40-WS-07-0000 (our own part id)
Accessory Field 2 : 7818 (this sources fine from Accessory Field 1, and pulls it's internalID)
Now I want to take that internal id and get whatever field i want from it.
Eample:
<%=getAttribute('item',7818,'storedisplayimage')%>
But that 7818 has to be dynamic as obviously thats not always going to be the internalID of the accessory. How do I make that happen?