Hello Ahmad,
Like I said, the Grid Gallery widget is not a standard gallery. It doesn’t have the “items” property . So, I can’t do something like:
$w ( ‘#gallery’ ). items = finalProducts ;
The Grid Gallery widget doesn’t have a strong API nor exposes such type of properties.