Live pushes while the customer works
After every re-pack the builder sends the billable value to the Price target configured on the design:
In Transfers by size the value is the total copy count, sent to
po:quantity or to the selector named.
The saved design
When the customer saves, theapp:saved message the Print.App client
receives carries a canvas object beside the usual project fields:
h is the billed length across all sheets. With Print Options the client
hands this to the widget as the file’s canvas, which is what a Per
length modifier prices from and what is verified on our servers at
add-to-cart.
In Transfers by size the object also carries mode, copies,
totalArea and an items array with each design’s size and copy count;
the client forwards the items on the file record for the production
ticket.
Price readback
With Price display source set, the builder registers for the page’s price and shows it in its summary:po:price— the Print Options widget sends its total, currency and availability on load and on every change.- a CSS selector — the client watches the element’s text and sends it on every change. The element must show the line total for the number to mean anything in the builder.