Ask for it
Tell it the product page and what should happen:- “Each size of https://mystore.com/products/flag should open the design made for that size.”
- “The booklet on https://mystore.com/products/booklet should have as many pages as the Pages option says.”
- “Show the shirt in the colour customers pick from the Color swatches on https://mystore.com/products/tee.”
- “Fill the name on the mug design with what customers type in the Name box on the product page.”
What the assistant does
1
Reads the product page
It finds the option you mean: a dropdown, swatches or a text box of your theme, with a selector that finds it, or a Print Options field, which it addresses by role (size, pages, material, orientation) so the connector works on every product. It also notes which designs the product opens.
2
Looks at the design
It checks the design has the pages or the sizes the option needs, and looks at them.
3
Builds and tests the connector
Before saving anything, it plays every choice the page offers: what the page sends, which mapping matches, and what the editor then does. For the T-shirt: Front shows page 1, Back page 2, Front and back both. It fixes what the test reports and shows you the result, with images of the pages each choice shows.
4
Saves and attaches it
When you agree, it saves the connector, attaches it to the design (for a design per size, to every one of those designs) and tests it again.
What the test checks
- The selector finds the option on your page, and only one element.
- Every choice has a mapping, and every mapping matches a choice. Radio buttons and swatches send their value, never their label, so the test plays exactly what your page sends.
- The pages a mapping names exist in the design.
- The designs a design selector opens are assigned to the product and carry the connector too.
- The design is assigned to the product the page sells.
- No other connector on the design acts on the same thing.
- A choice is selected when the page loads, so the editor has something to start from.
What it cannot see
- Options your theme builds after the page loads. The assistant reads the page as your server sends it. If it can’t find an option you can see, tell it the selector, or ask your theme developer.
- A store behind a password. It gets the password page instead. Give it the choices in your message and it tests with those.
- Pages of other sites. Only pages of your own store are read.
Profiles, too
The assistant can also set up the two kinds of profile customers ask about most:- Resource profiles limit the fonts, colours and graphics the editor offers on some designs: “Only offer the wedding fonts on the invitation designs.”
- PDF profiles hold the settings print PDFs are made with: “Our printer says the colours print dull: make the business cards’ PDFs use CMYK FOGRA39.” or “The stickers need a CutContour cut line in the PDF.”