Skip to main content

Save & restore a design

The designer exposes a small client API for saving a customer’s work and restoring it later.
customizer.js
// Restore a saved design
const design = await porttera.designs.get(id);
configurator.load(design);

// Save whenever the shopper changes something
configurator.on('save', (state) =>
  porttera.designs.save(customerId, state)
);

Order line items

When a customized product is added to the cart, the design reference and artwork URLs are attached as line-item properties, so they travel with the order to fulfilment.
Artwork is uploaded to your Shopify Files, so you own the assets and can download them at full resolution from the order.