RSS Feed/News Accessing an array variable in a template that has '@' in its name?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,742
Points
823

Reputation:

I'm working on a widget that retrieves an JSON object and then in the template it loops through the items and builds a display. Not a problem there. The problem I'm running into is that one of the item values has an @ as part of its name and I can't quite get how to retrieve that value in the template. In the example, below, the associated dollar amount is retrieved with ${{$searchResult.sellingStatus.0.currentPrice.0.__value__|currency}} but trying...

Read more

Continue reading...
 
Status
Not open for further replies.
Top