{"version":"2.0","productId":"4726442885182","title":"Mesh Banner","layout":"stacked","pricing":{"currency":"AUD","basePrice":{"amount":0,"per":"order"}},"sections":[{"id":"banner","title":"Your mesh banner","fields":[{"id":"size","label":"Size","required":true,"priceModifiers":[],"type":"select-one","display":"pills","options":[{"id":"s2x1","label":"2000 × 1000 mm","default":true,"priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"i1","expression":"max(2, round((2 + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]},{"id":"s3x1","label":"3000 × 1000 mm","priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"i1","expression":"max(2, round((3 + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]},{"id":"s4x1","label":"4000 × 1000 mm","priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"i1","expression":"max(2, round((4 + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]},{"id":"sA1","label":"A1 – 841 × 594 mm","priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"i1","expression":"max(2, round((0 + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]},{"id":"sA0","label":"A0 – 1188 × 841 mm","priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"i1","expression":"max(2, round((5 + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]},{"id":"sF1600","label":"Temp fence – 2400 × 1600 mm","priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"i1","expression":"max(2, round((6 + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]},{"id":"sF1800","label":"Temp fence – 2400 × 1800 mm","priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"i1","expression":"max(2, round((7 + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]},{"id":"custom","label":"Custom size","priceModifiers":[{"type":"formula","amount":0,"areaUnit":"sqm","lengthUnit":"m","dimensionsField":"dims","formula":{"steps":[{"name":"sv","expression":"2 * max(0, 1 - 1000 * (max(w - 2, 2 - w) + max(h - 1, 1 - h))) + 3 * max(0, 1 - 1000 * (max(w - 3, 3 - w) + max(h - 1, 1 - h))) + 4 * max(0, 1 - 1000 * (max(w - 4, 4 - w) + max(h - 1, 1 - h))) + 5 * max(0, 1 - 1000 * (max(w - 1.188, 1.188 - w) + max(h - 0.841, 0.841 - h))) + 6 * max(0, 1 - 1000 * (max(w - 2.4, 2.4 - w) + max(h - 1.6, 1.6 - h))) + 7 * max(0, 1 - 1000 * (max(w - 2.4, 2.4 - w) + max(h - 1.8, 1.8 - h)))"},{"name":"i1","expression":"max(2, round((sv + area) * qty * 1000000) / 1000000)"},{"name":"rt","expression":"band(i1, 4.9999999, 50, 9.9999999, 47, 19.9999999, 42, 49.9999999, 38, 99.9999999, 35, 249.9999999, 32, 999.9999999, 30, 25)"},{"name":"tot","expression":"max(60, 40 + ceil(round(rt * qty * area * 10000) / 10000))"}],"expression":"round(tot / qty * 100) / 100 * qty"}}]}]},{"id":"dims","label":"Width × height","required":true,"priceModifiers":[],"role":"size","type":"dimensions","display":"inputs","units":["mm"],"defaultUnit":"mm","minW":100,"maxW":10000,"minH":100,"maxH":10000,"defaultValue":{"w":2000,"h":1000}},{"id":"qty","label":"How many banners?","required":true,"priceModifiers":[],"type":"quantity","display":"stepper","min":1,"max":1000,"step":1,"defaultValue":1,"presets":[1,2,3,5,10,20],"unit":"banners"}]}]}