Added modal to display configuration JSON of order items.
Note
As of now, the ->hasConfiguration method returns true for configurations that are empty arrays. Consequently, the button is displayed unnecessarily for items that don't have a configuration. In these cases, only an empty array ([]) is displayed in the modal.
Description
Added modal to display configuration JSON of order items.
Note
As of now, the
->hasConfiguration
method returnstrue
for configurations that are empty arrays. Consequently, the button is displayed unnecessarily for items that don't have a configuration. In these cases, only an empty array ([]
) is displayed in the modal.Screenshots: