Pixfizz Knowledge Base
  • 👋Welcome to Pixfizz
  • Overview
    • 💡Getting Started Checklist
  • Installation to Ecommerce stores
    • Pixfizz Ecommerce
      • Setup Required Custom Fields
      • Setup Required Custom Types
      • Shopper FAQs
        • How to Add a Custom Font to my Site
      • Liquid Documentation
    • Shopify Ecommerce
      • 💫How to get started
      • 🛠️Shopify Installation
      • 🛠️Shopify Installation - Variable Pages
        • Add Saved Projects Functionality
      • Linking products to shopify
    • ETSY
      • Setting Up Listings in Pixfizz
      • Setting up SKU's in Etsy & Pixfizz
  • Production Management
    • What Output Options are there for Production?
    • Production PDF versions
    • Add Order Codes to Production Files
    • Add Dynamic Barcode
    • Add a QR Code Element
      • QR Code Content element substitutions
    • Receipt of Orders
    • Custom fulfillment folder name
    • Ability to provide file content directly in _additional_files.json
    • Add Trim Marks to Production Files
    • File Upload variants and template options
    • Film Processing
  • Fulfillment Partners
    • Request Access to a Catalog
    • Publishing Products from a Catalog to your Site
    • Change Background Color of Preview Images
    • Mixam
      • About Mixam
      • Get Started with Mixam
      • Product Catalog
      • Request a Print Sample from Mixam (optional)
      • Fullfilment of Mixam Products
      • Linking to Mixam API
    • Navitor
      • Product Catalog
    • LA Cameras
      • Product Catalog
  • eCommerce CMS
    • Setup Shipping Services
    • How to Setup Taxes
      • Setup Tax Exempt Users
    • Extra Fees
    • Custom Web Components
      • <px-image-upload>
      • <px-date-selector>
    • Import promocodes into Pixfizz admin
    • FAQ
      • Hide a page from Search Engine Crawls
    • Google Analytics & Google Tag Manager
      • Setup New Account
      • Setup eCommerce Events in Pixfizz CMS
  • PRODUCT SETUP & DESIGN
    • Product Pricing
    • How to Create Templates
      • XML Definition Parameters
      • XML Set Parameters
      • XML Page Parameters
      • PDF Layers
      • Define page break on Layflat spreads
      • Calendar Setup
        • Calendar Week Starting with Sunday
        • Calendar Week Starting with Monday
    • Setup Collections to Publish Products
      • How to add Filters to your Collections
    • File Artwork
    • MSP HUB content
      • Graduation Text Element Substitutions
    • Sample Templates
      • Photo Prints
      • Cards (Folded)
      • Canvas Prints
      • Framed Prints
      • Notebooks
      • Drinkware
      • Clothing
      • Photo Albums
      • Layflat Photo Albums
    • Designs
      • How to Build a Card - Part 1: Implement Design
      • How to Build a Card - Part 2: Add Design Flexibility with Substitutions
      • How to Build a Photo Album - Layouts
      • How to Build a Photo Album - Trim Marks on Cover & Page
      • Template Business Card EU
    • Template and Design Options
    • Help Guide for the Editor
    • User Editing Options
      • Standard Editor
      • PX Preview
  • Admin Guide
    • Domains
    • Setup reCAPTCHA
    • Analytics
    • 📪Dashboard
    • Orders
      • Orders
      • Abandoned Carts
      • Production Files
      • Projects
    • Users
      • Users
        • User Information
        • Merging Anonymous Users
        • Change Password
        • Custom Fields
        • Promocodes (Single User)
        • Last Orders
        • Projects
        • Galleries
        • Calendars
        • Addresses
      • Invites
    • Galleries
      • Galleries
      • Organize/Tag Galleries
      • Public galleries image source for upload dialog
    • Products
      • Products
      • Product Attributes
      • Templates
        • Designs
      • Collections
      • Fonts
      • Font Palettes
      • Color Palettes
      • Element Substitutions
        • Element substitutions on text variants replacing “Target Element Name”**
      • Calendars
      • Price Variables
    • Shipping
      • Shipping Services
        • Ranking Weight for Shipping Options
      • Packaging
      • Shipping Address of Origin
      • Taxes
      • Addresses
      • Liquid support for shipping formulas
    • Marketing
      • Promocodes
    • Website
      • Pages
      • Layouts
      • Snippets
      • Assets
      • Special Web Components
        • Date Selector Component
        • Dynamic Previews
    • Settings
      • General
        • Website Configuration
        • Domain Hosting
        • Facebook Integration
        • Instagram Integration
        • Dropbox Integration
          • Dropbox integration for upload dialog
        • API settings
        • Watermark
      • Email Notifications
        • Email Notification Settings
        • Order Pending Confirmation Email
        • Order Payment Confirmation Email
        • Order Shipped Email
        • Signup Email
        • Password Reset Email
        • Abandoned Cart Email
        • Refer A Friend Email
      • Design Tool
        • Name
        • Logo
        • Favicon
        • Brand Color
        • Page Title
        • Use New Editor
        • Autofill Button
        • Launch Into Autofill
        • Captions
        • Unedited Warning
        • Image Flip
        • Alignment Aids
          • Alignment highlights
        • Two Page Spread
        • Auto Cropping
        • Crop Bleed
        • Asymmetrical bleeds and margins
        • Image Effects
        • Image Rotation
        • Edit cut print projects
        • Placeholder Rotation
        • Image Borders
        • Background Colors
        • Border Radius
        • Image Size Overlay
        • Project Options
        • Display Price
        • Copy Shared Projects
        • Cut Print Mode
        • Multi-Image Uploader
        • Large Format / Wall-Art
        • Highlight Editable Elements
        • Use Mapped Preview
        • Homepage URL
        • Cart Page Name
        • Account Page Name
        • Upload Size Limit
        • Default Font
        • Default Font Palette
        • Default Font Size
        • Default Text Color Palette
        • Default Image Border Color Palette
        • Background Color Palette
        • Google Tag Manager ID
        • Image Sources
        • Categories
        • Quicksave Prompt Delay
        • Help URL
        • Resolution Warning
        • Text Cropping Warning
        • Multitext Custom Fields
        • Custom JS
        • Admin Custom JS
        • Custom CSS
        • Fill Multiple Placeholders with a Print
        • Auto-Generate Previews from Design Products
        • Shrink-to-Fit for px-Image-Upload
        • PDF Import Panel
      • Translations
      • OAuth
      • Documentation
    • Payment Gateways
      • Stripe Webhook for callbacks
      • PayU Money (India) Callback URL
  • Use Cases
    • 🎨For Designers
    • 🖥️For Developers
  • 🔗API
    • 🖼️Dynamic Design Previews
  • Setup GA4 eCommerce Analytics
  • 🌐SEO
  • Structured Data
    • Product Pages
    • Shop Pages: ItemList
  • INTEGRATIONS
    • Dropbox
    • Darkroom
    • Stamped.io
    • Shippo
      • Shippo Setup
    • Tracking Unlimited
      • Setup
      • Product Setup
        • Product Code
        • Product Options
        • Shipping Services
    • Syncovery
      • Installation
      • Profile Setup
      • DPOF Profile Setup
      • Scheduler
      • Advanced Workflow Automation
    • Indisposable
    • Klaviyo
  • Group 1
    • Form to update Order Status
Powered by GitBook
On this page
  • Breaking changes
  • Settings precedence
  • Notable updates
  • Liquid support for filename templates
  • Fulfilling to subfolders
  • Custom page output names
  • Layer output names
  1. Production Management

What Output Options are there for Production?

Breaking changes

  • output="vector" is now deprecated and will be removed in the future, use output="pdf" instead.

  • output="vector-singlepage" no longer works, use output="pdf" with output-single-pages="true" instead.

  • The filename="..." parameter in template XML is deprecated and will be removed in the future, use output-filename="..." instead.

Settings precedence

There are four main settings that control how a project gets fulfilled:

  • the format (pdf, jpeg, png)

  • filename template

  • whether project should always be fulfilled to files with single pages, even when using formats that support multiple pages in one file (ie. PDF)

  • whether to output multiple copies of the file for cut prints that have a quantity > 1 (by default a single file is generated and you need to look at the job ticket to determine how many copies you should print)

The defaults for these four settings can be set on the fulfillment setting in the super admin. All four of them can also be overridden on specific templates, by using the following attributes on the <definition> element in template XML:

  • output (value should be “pdf”, “jpeg”, or “png”)

  • output-filename (the filename template; supports liquid)

  • output-single-pages (whether to output each page as a separate file — ignored unless fulfilling to PDF; supported values are “true” and “false”)

  • output-multiple-copies (whether to create multiple copies of prints that have a quantity > 1 — ignored if fulfilling to multi-page PDF; supported values are “true” and “false”)

Notable updates

Liquid support for filename templates

Liquid is now supported in filename templates.

These top-level variables are available in the template:

  • order

  • orderline

  • user

  • project

  • website

  • format - the chosen output file format (one of: “pdf”, “jpeg”, “png”)

  • idx - a counter that starts at 1 and gets incremented for each generated file (equivalent to %idx)

  • page_output_name - this is the equivalent to %type% (”cover”, “pages1”, “pages2”)

  • layer_output_name - when outputting layers to separate files, this variable contains either the output-name attribute of the layer, or the value of the name attribute if no output-name is explicitly defined.

Old-style escapes are still supported, but cannot be mixed with liquid (you can use either liquid or the escape codes, but not both in the same filename template).

These escapes are supported:

  • %prod_code%

  • %order_code%

  • %barcode%

  • %type%

  • %quantity%

  • %idx%

  • .%format%

Fulfilling to subfolders

Filename templates now support subfolders. If you want to put files into a subfolder, prefix the filename with the desired folder name. This is supported in both liquid and old-style filename templates.

Example of a static folder:

files/%barcode%-%idx%.%format%

Example of a dynamic folder name where files go into a folder whose name is constructed from the product code and the barcode

{{ project.product.code }}-{{ orderline.barcode }}/{{ idx }}.{{ format }}

Custom page output names

By default files are still split into cover (if our algorithm determines that the book has a cover) and pagesN, but it is now possible to override that behaviour in the template definition. To do that, add output-name to at least one <page> in the template definition.

The default splitting algorithm puts the cover (if it exists) into a separate file, and then creates a new pagesN file each time it gets to a page with a different dimension.

When using explicit output-names it becomes your responsibility to use different values for the output-name if you want the page to get output to a separate file.

Among other things, output-name makes it possible to:

  • Put the cover into a separate file even if it has the same size as the rest of the pages (our default algorithm would fail to detect this page as a cover).

  • Put pages of different sizes into the same PDF.

The value of output-name is available in liquid filename templates as {{ page_output_name }} and as %type% when using old-style filename templates.

Layer output names

With old-style filenames, the layer output name is always appended as _<layer-name> right before the extension.

For example if you are using a filename template %barcode%-%idx%.%format%, and a layer named Cutmarks that is marked with separate-file="true", the file with the layer will be named %barcode%-%idx%_Cutmarks.%format%.

When using liquid filenames, the filename is not automatic. You have to make sure to use {{ layer_output_name }} in the template. To replicate the filename above, you would have to use this filename template: {{ orderline.barcode }}-{{ idx }}{% if layer_output_name %}_{{ layer_output_name }}{% endif %}.{{ format }}.

PreviousSetting up SKU's in Etsy & PixfizzNextProduction PDF versions

Last updated 4 months ago

When using that you output as separate files, liquid filenames and old-style filenames work a bit differently.

PDF Layers