Design Changes and Notifications
The shop sells its own copy of every design (see Building the Catalogue). So when a designer changes a design in Typograph, or deletes it, nothing changes for your customers by itself. The shop tells you, under Typograph → Notifications, and a person decides. Nothing disappears from your catalogue without somebody choosing so.
Everyone in the back office can read this screen. A red number beside Typograph in the left-hand menu says how many items are waiting.
A new version of a design
When a design or its form changes in Typograph, its products get a card on Notifications saying what is New in Typograph. Only managers and owners see these cards. Several saves in one afternoon make one card.
Press Compare and choose to see The design the shop sells now beside The design in Typograph, with a list of the Changes and the spreads they are on. Then choose:
| Button | What happens |
|---|---|
| Use the new design (or Use the new form) | From now on customers get the new version. Orders already placed keep the version they were ordered with |
| Keep the current design (or Keep the current form) | Nothing changes for customers |
| Add as a separate product | The new version becomes a draft next to this product, with the same prices; the current product keeps selling |
If the new version has a problem that would stop the product from being ordered, the shop warns you before it updates.
Changed your mind? An approved update can be taken back from the product's History: the product sells the previous version again, and the change is back on Notifications.
Notifications about problems
Other cards report something that went wrong in Typograph, or something new there. Each names the products it is about.
| Notification | What happened |
|---|---|
| Form no longer published | The form was set back to draft, deleted, or now belongs to another design |
| Design deleted | The design was deleted in Typograph |
| Design moved | The design moved to a project this shop does not use |
| Design can no longer be found | The nightly check could not find the design any more |
| Design not copied | The shop could not take its own copy, with the reason |
| New design in Typograph | A design with a published form appeared in one of the shop's projects |
| Typograph unreachable | The shop could not reach Typograph, so nothing is coming in from it |
| Typograph plan below Pro | The connection is off until the organisation is on Pro again |
A product with its own copy stays orderable whatever happened to its design in Typograph: the shop can still make it. A product without a copy cannot be ordered while its design is broken.
What you can do on a card:
- Keep selling closes the notification and leaves the product as it is.
- Take out of the shop closes it and stops customers from ordering the product. It stays in your catalogue as a draft, ready to put back once the design is fixed. Only managers and owners can.
- Try again, on Design not copied, takes the copy again. Leave it closes the card.
- Add to catalogue, on New design in Typograph, adds the design as a draft. Do not add closes the card.
- To Connection, on the two notifications about the connection, takes the owner to Connection. Hide closes the card.
Answered notifications move to History. If a problem is still there, it is marked still happening, and Back on the list reopens it.
The nightly check
Typograph does not announce everything: some changes, such as a form being unlinked, send no message, and messages can get lost. So every night at 03:00 the shop compares its whole catalogue with Typograph, and puts what it finds on Notifications:
- problems with designs the shop sells, including the ones no message announced;
- new designs in the shop's projects;
- problems that were solved in the meantime, which it closes by itself.
The check never changes your catalogue. It reports; taking a product out of the shop is always somebody's decision. And when Typograph does not answer, or answers with nothing, the check does nothing at all rather than conclude that every design was deleted.
Just repaired something in Typograph and want to know whether it worked? Press Check now on the Notifications screen to run the check straight away. Refresh on the Designs and Catalogue screens runs it too.
The 03:00 run needs the shop-scheduler worker (messenger:consume scheduler_shop) running
on the server under supervisor; when it is down, the check silently does not run. The check
can also be run by hand:
php bin/console shop:check-designs
It ends with an error when it could not read Typograph. The installation and the checks are
in webshop-service's deploy/README.md.