Documentation

Files beside a product — a specification sheet, a manual, drawings, certificates — or links to them on the maker’s site, in a section of the product page of their own. Each may be for everyone or for signed-in customers only.

Admin section
Appearance
Version
1.0.0 · torgash.attachments
Installed with
The "Every module" set, or by hand in the admin
Needs
Catalog

Documentation

Files beside a product — a specification sheet, a manual, drawings, certificates — and links to documents on the maker’s own site. They stand in the product page’s Documentation section, after the characteristics.

Adding them

Open a product, tab Documentation:

  • Upload files — one or several at once. Which types are taken and how big a file may be are the module’s settings. The type is read from the file’s contents, not its name; programs, web pages and SVG are refused whatever the list says.
  • Add a link — a document the maker keeps up to date on their own site. It opens there, in a new tab.

Each row has a title (in the content language chosen at the top of the form; empty — the file’s own name is shown) and who sees it: everyone, or signed-in customers only. Drag the rows to change their order. Titles, access and order are saved with the product’s Save button; uploading and removing happen at once.

On the product page

A PDF or a picture opens in the browser’s own viewer; any other file is downloaded under its own name. A document for signed-in customers is shown to a guest as well — with a lock and the way in — so they know it is there.

The files are kept on the shop’s private disk and handed over only through the shop: a document of a product that is switched off is nobody’s. The number of times each file was opened from the shop is shown beside it in the form.

The section can be renamed, moved or switched off like any other in Catalogue → Product tabs.