Gang Sheet tool: configuration reference
Every setting the Gang Sheet Builder reads, what it does, and where to set it.
Where a setting can live
A setting is resolved in this order. The first one that has a value wins.
A product custom field — named
gangup_<setting>. Per product.A site checklist snippet — named
admin/checklist/gang-up-<setting>, edited at Custom Admin > Tools > Gang Up Settings. Applies to every product on the store.The built-in default in
gang-up.js.
The product tier only works on some stores, and it fails silently on the rest.
The tool is mounted through custom_script on a template option. Inside that scope the Liquid product object only exists when the page URL carries ?product=<id>. A Shopper collection-style product URL often does not, and on those stores every gangup_* product custom field resolves to nothing — not to an error, just to the next tier down.
To find out which kind of store you have, open a product page and read the console line:
[gang-up] ready { … liquidSawProduct: false … }false means product custom fields will not resolve on that page. Use the site checklist tier instead. It always works, and for most labs — one roll width, one set of production values — it is the right home anyway.
Each data-*-source attribute on <div id="gu-root"> tells you which tier a value actually came from: product_custom, site_checklist or default.
A note on booleans. A custom field holding the text
falsecounts as on. Onlyniland a real boolean false are falsy in Liquid. Clear the field rather than typingfalseinto it.
The settings
Sheet geometry
sheet-width
12
Roll width in inches. Also typed into all 20 length labels — change both together
sheet-height
48
Maximum sheet length. Only used when the mode is fixed
min-length-in
12
Shortest sheet you will sell
max-length-in
120
Longest sheet. Overridden by the length ladder whenever the ladder is present, which is always on a working install. Effectively a fallback
margin-in
0.25
Blank margin at the sheet edges
gap-in
0.125
Minimum gap between designs
min-size-in
0.5
Smallest printed dimension a customer may choose
Output
target-dpi
150
The resolution the sheet is rendered at. This, not the XML definition, is what prints
background
transparent
Anything other than the word transparent is treated as a colour and flattens the sheet. Leave it alone for DTF
accept-formats
png
png, or png_jpg to also accept JPG. Leave it as png — see the warning below
max-file-mb
50
Upload size limit per design
JPEG cannot carry transparency. If you allow JPG uploads, any transparent area in a customer's design becomes solid. On DTF that means the whole background gets an ink and adhesive layer, which floods the film and ruins the transfer.
Behaviour
mode
grow
grow lengthens the sheet to fit. fixed uses a set width and height
manual-arrange
true
true lets customers drag, scale and rotate on the canvas. false is auto-nest only
price-footer
total
total shows the sheet price in the builder footer. each also shows a per-unit figure, which on a single sheet is the same number. off hides it
requires_design
true
The gate that holds Add to Cart until a sheet has been built. This one is a stock product field, not a gangup_ field
requires_design is the only gate stopping a customer buying an unconfigured sheet. Turning it off is a workaround, not a setting — a customer can then add the product to the cart without ever opening the builder, and production receives no print file.
Settings you cannot change from admin
These are in gang-up.js and changing them means a new build:
Low-resolution warning threshold
150 dpi — the amber chip
Low-resolution error threshold
100 dpi — the red chip
Maximum canvas dimension
Browser limits on very long sheets
Which variant the length is written to
The variant code length
Which template option each file is written to
The eight gangup_* codes
If you need one of these different, ask your Pixfizz contact rather than working around it.
The settings page
Custom Admin > Tools > Gang Up Settings writes to these snippets:
A blank snippet is not an error. It means "no site value — use the built-in default", which is the correct state for most of them.
Troubleshooting
The tool does not appear on the product page
The custom_script mount is missing or misspelled
It must contain exactly {% snippet 'product/gang-up' %} on the gangup_artwork option
The tool uses the wrong settings
A product custom field that cannot resolve, or a field holding the text false
Read the data-*-source attributes on <div id="gu-root">. If they say default, use the site checklist tier
No image in the cart or saved projects
gangup_preview is read-only, so the tool's write is discarded
Untick read-only on that option and re-check after every import
Add to Cart does nothing
The tool completed but could not release the page's button
Check the console for an error and report it. This is platform-side, not configuration
Customers cannot buy a sheet longer than X
The length ladder stops at X
Add values to the length variant. The ladder is the real maximum, not the max-length setting
The length labels say 12 in but we run 36 in film
The width setting and the labels were not changed together
Change the width setting, then edit all 20 labels
Production receives a file with a solid background
JPG was allowed, or the background setting is not transparent
Set accepted formats back to png and the background back to transparent
Prices show as 0.00
Expected on a fresh import
Set your rates on the 20 length variant values
Related
Gang Sheet tool: setup and activation