Dimensions outputting array, here’s the fix
-
I had to edit the file woo-variations-table.php in order to fix my problem. This may help you, too. I asked on Stack Exchange as I wasn’t familiar with Django. See that page for full details. Essentially this {{entry[column.key]}} was outputting a full array:
{ “length”: “”, “width”: “69.2”, “height”: “32” }
The answer was to edit that to this:
{{entry[column.key][‘width’]}} x {{entry[column.key][‘height’]}} cm.
And now all is well in my world.
Be happy for ever,
SteveThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dimensions outputting array, here’s the fix’ is closed to new replies.