Add, undo and save a drawing
In the visual editor, you place pieces on the plan, undo a change if needed, then save the drawing. Saving only happens if the drawing passes all the checks. This article describes adding a piece with + Add, the Undo button, the Save the drawing button and the checks that come before saving.
Before you start
Section titled “Before you start”- Open the Visual editor of a product and choose what you are drawing (the product sheet composition or a template). See Use the visual editor.
- Use an account that can manage the store and edit this product. The editor is never available for a variation.
- Enable JavaScript in the browser. Otherwise, the screen displays: “The visual editor needs JavaScript; the tables below remain available.”
- Make sure there is at least one piece in the palette: product pieces, pieces from linked products (in an added template only) or standard pieces.
- For a new template, see Draw a new template.
Part 1: add a piece and undo
Section titled “Part 1: add a piece and undo”Add a piece with “+ Add”
Section titled “Add a piece with “+ Add””- Find the piece you want in the palette. It has three groups: Pieces of the product, Linked products and Standard pieces.
- To connect the new piece to a specific piece, first click that piece on the plan. With no selection, the new piece is placed at the end of the composition.
- Click + Add.
The piece is added, connected to the nearest free connection of the selected piece. Double-clicking the piece in the palette has the same effect.

The drawing is not saved at this stage. The editor displays “Unsaved changes”. The status line below the plan may also report a problem, as in the screenshot: « Module à raccorder : » (Module to connect:) followed by the name of the piece, or “Maximum reached for this piece.”
Undo a change
Section titled “Undo a change”- Click Undo in the toolbar. The last change is undone.
- To go forward again, click Redo.
The history keeps 60 states at most. The buttons are disabled when there is nothing to undo or redo.
Part 2: check and save
Section titled “Part 2: check and save”Check the drawing before saving
Section titled “Check the drawing before saving”- Read the status line below the plan.
- With no pieces, it displays “Drag pieces onto the plan.”
- With a drawing that has no errors, it displays “Valid plan · N pieces · … cm”. N is the number of pieces. X is the footprint of the drawing, width × depth.
- If there is a problem, it displays the corresponding message instead.
- For a template, check that the Template name field is filled in (60 characters at most). Without a name, the button stays disabled.
- Click Save the drawing. The message “Saving…” is displayed while the data is being sent.
- If the server requires it, a browser confirmation box opens. It appears when the product’s pieces come from another extension (product sheet): the simulator then creates its own copy, and the product sheet itself does not change. Click OK to continue. Click Cancel to save nothing.

The Save the drawing button stays disabled in these cases:
- the drawing contains errors;
- the drawing is empty;
- a template has no name;
- a save is already in progress;
- the product is in classic mode and the drawing contains a piece that is not a seat.
Product in classic mode
Section titled “Product in classic mode”If the product is in classic mode and the drawing contains a piece that is not a seat, a notice is displayed: “This product is in classic mode: corners, extensions and other joined pieces need the modular mode.”
- Click Switch to modular mode and save.
The product switches to modular mode and the drawing is saved in a single step. If the drawing is refused, nothing is saved and the mode does not change.
What is checked
Section titled “What is checked”The browser checks the drawing first. The server then checks it again before anything is written. Saving is « all or nothing »: if a single check fails, nothing is saved. The checks cover these points:
- the drawing contains at least one piece, and 60 pieces at most;
- the standard pieces still exist and respect their allowed dimensions;
- pieces from a linked product are only used in an added template;
- each piece still exists and is not placed more times than its maximum;
- the drawing does not exceed 11.6 m;
- the plan passes the simulator’s check (connections, overlaps, usage rules);
- for a template: it has a name, and the product has 12 added templates at most;
- you have the rights on the product.
Expected result
Section titled “Expected result”- The message “Drawing saved and checked.” is displayed. If the mode changed, “Simulator mode switched to modular.” is also displayed.
- Product sheet composition: the drawn quantities become the quantities sold, and the positions become the customer’s starting plan.
- Template: it appears in Ready-made layouts with the label “Drawn in the visual editor”.
- As long as the drawing is not saved, “Unsaved changes” stays displayed. The browser warns you before you leave the page.
Common problems
Section titled “Common problems”Every refusal to save starts with “Nothing was saved:”, followed by the error or errors below.
| Message displayed | Cause | What to do |
|---|---|---|
| “The drawing could not be read: reload the page.” | The drawing is unreadable. | Reload the page. |
| “Place at least one piece.” | The drawing is empty. | Place a piece. |
| “At most 60 pieces.” | The drawing contains more than 60 pieces. | Reduce the drawing. |
| “A standard piece no longer exists in the library.” | The standard piece has been deleted. | Reload the page. |
| “A standard piece is outside its allowed measures.” | The dimensions are outside the range of the standard piece. | Stay within the range shown for the piece. |
| “Pieces of a linked product can only be used in an added layout, not in the product page composition.” | A piece from a linked product is placed in the product sheet composition. | Draw in an added template. |
| “A piece no longer exists: reload the page.” | A piece was deleted in the meantime. | Reload the page. |
| “A piece is used more times than its maximum.” | The drawn quantity exceeds the maximum of the piece. | Remove pieces, or raise the maximum in the pieces table. |
| “The pieces could not be saved (check the pieces table).” | The pieces configuration is refused. | Correct the pieces in the pieces table. |
| “The drawing is larger than 11.6 m.” | The drawing is too large. | Reduce the drawing. |
| “The plan is refused by the simulator check: …” | Connections, overlaps or usage rules are not respected. | Correct the plan according to the details in the message. |
| “This added layout no longer exists.” | The template has been deleted. | Reload the page. |
| “Give the template a name.” | The template has no name. | Fill in Layout name. |
| “At most 12 added layouts.” | The limit of 12 templates has been reached. | Remove a template. |
| “Not allowed to edit this product.” | You do not have the rights on this product. | Check your rights. |
| “Verification refused: reload the page.” | The rights are missing, or the page was left open too long. | Check your rights, then reload the page. |
| “Saving failed: reload the page and try again.” | Network error. | Reload the page and try again. |
Messages displayed while drawing
Section titled “Messages displayed while drawing”These three messages are displayed while drawing, without saving. They are not preceded by “Nothing was saved:”.
| Message displayed | Cause | What to do |
|---|---|---|
| “Linked products: added layouts only.” | You tried to add a piece from a linked product in the product sheet composition. | Draw in an added template. |
| “Maximum reached for this piece.” | The piece is placed more times than its maximum. | Remove a piece, or raise the maximum in the pieces table. |
| “The saved drawing no longer matches the pieces: the automatic layout is shown.” | The number or references of the pieces in the saved plan no longer match the quantities of the pieces. | Redraw the plan in the visual editor. |