A price list with a photo for each item
The customer asks: A price list as a document with a photo for each item
- Verdict: Ready, with limits (4)
- Door: Manifest · area: Prices and promotions › Price lists
- Recipe: Print template readers — ivn_rows and ivn_value · A layout for each customer's invoice, and a price list with photos
- Sample: S29 — a layout of its own for each distributor's invoice, and a price list with photos
- Checked: run on a sandbox 2026-10-21 · POS 2.0.0.658 · a manifest's print format on the price list printed all 21 of its prices, and the photo of the one item given a photo, through ivn_rows and ivn_value; S29's format (general prices, five pages of 200) printed the same 21 and left out a price made for one customer; not run: a viewer with fewer rights, a list of 500+ items; the outside program (S29) run on a sandbox 2026-10-16
What you build
A print format on Price List in your manifest that lists the list's prices through ivn_rows("Item Price", …) and each item's photo through ivn_value("Item", name=…, field="image"), with the rights of the person printing:
{% for r in ivn_rows("Item Price", filters={"price_list": doc.name}, fields=["item_code", "item_name", "price_list_rate", "uom"], order_by="item_code asc", limit=200) %}
{% set photo = ivn_value("Item", name=r.item_code, field="image") %}
<tr><td>{% if photo %}<img src="{{ photo }}" style="height:60px">{% endif %}</td><td>{{ r.item_code }}</td><td>{{ r.item_name }}</td><td>{{ r.price_list_rate }} / {{ r.uom }}</td></tr>
{% endfor %}
Sample S29 ships this format, general prices only and up to 1,000 rows (price_list_manifest.json). For a file made on demand (a spreadsheet as well, or one list per distributor), S29's outside program does it instead.
Limits
- Up to 200 rows a call: a longer list takes more calls (
start0, 200, 400), or one print per item group. - The print shows what the person printing may read; a print sent from the e-mail queue or a background print shows no rows.
- Photos must be kept in the retailer's iVendNext, on the item's Image field; an item with none prints without one.
- Every Item Price row of the list prints: one made for a customer, a batch or (on a buying list) a supplier, one past its valid dates, and a disabled item's. For the general list add
"customer": ["is", "not set"]and"batch_no": ["is", "not set"]to the filters (run with S29's format: a customer's own price was left out), and"supplier": ["is", "not set"]on a buying list (not run); keep expired prices and disabled items off the list.
Tell the customer
iVendNext prints each price list with a photo of each item, from its own prices and images, from the price list in Desk.
What next
- Tell the customer the 4 limits above, and write them into the proposal.
- Start from: Print template readers — ivn_rows and ivn_value · A layout for each customer's invoice, and a price list with photos.
- Copy the sample: S29 — a layout of its own for each distributor's invoice, and a price list with photos, and change it.
- Build and test it on your sandbox (request one if you have none; what is on it).
- Run the checks: your own tests, the kit's checks and the money kit's release gate (the release gate).
- Release through the customer's own release gate (The customer's release gate); an app other retailers install goes through the App library.
Install it on your sandbox the way the shop's administrator will; the checker refuses a manifest that declares code.
Related needs
- A layout of its own for each of a few distributors' invoices — Ready, with limits (5)
- Mark down perishable stock automatically as its expiry date nears, by our own steps, so it sells before we throw it away — Ready, with limits (11)
- A price checker shoppers use on the shop floor — Ready, with limits (1)
- A selling price list worked out from another (a multiple of the buying list, wholesale as a share of retail) and kept in step — Ready, with limits (7)
Start a project shortlist with this need · Put it in your blueprint · Every need