✦ Verified product
Invicta Bundle 2
GBP 60.00
Victrix Limited
Verified independent store
→
(function() { document.addEventListener("DOMContentLoaded", function(event) { if (window.location.href.indexOf('/products/') > 0) { injectSimpleLinePropertyScript(); } }); })(); fu
nction injectSimpleLinePropertyScript() { const dataJSON = '{"Early Imperial Roman Legionaries Advancing ":1,"Early Imperial Roman Legionaries Attacking ":1,"Early Imperial Roman Legionary Shield Transfers 1 ":1,"Early Imperial Roman Praetorian Guard Shield Transfers 1 ":1,"Early Imperial Roman Praetorian Guard Shield Transfers 2 ":1,"Cloth Triad ":1}'; const data = JSON.parse(dataJSON); let a = document.querySelectorAll("[name=id]"); if (a == undefined || a[0] == undefined) { return; } let count = 1; for (const key in data) { let nNode = document.createElement("input"); nNode.type = "hidden"; nNode.name = "properties[" + count + "]"; nNode.value = key +" x "+ data[key]; console.log('Combowise: ', nNode); a[0].parentNode.insertBefore(nNode, a[0].previousSibling) count ++; } }