Product field
What it does
A Product field lets the visitor name a product from your catalog, for example the table that arrived damaged. You find it in the builder's left panel, in the Store Data group, and add it by dragging it onto the form, as described in Adding fields and sections.
The visitor types into a box that says "Name or SKU". Matching products appear in a list under the box, each with its name, SKU and price. The visitor clicks one. The box then shows the chosen product's name, SKU and price, and an × to clear it. The prices show unless you switch off Show Prices.
The field saves the product's SKU. Where people read the answer, it shows like this:
- Notification emails and the admin's list of submissions show the name with the SKU, such as Saga Custom Bench (NO-BENCH-SAGA). PDF documents show the product's name. These use the name in the submission's store view.
- The customer's account and the results you publish on your store show the product's name in the store view the page is shown in.
- The submission page in the admin shows the SKU, linked to the product's page.
- Exports, the API and connected services get the SKU, so other systems can match it.
A product that's out of stock still shows its name. If no product carries the SKU any more, the SKU shows instead.
With Allow Products Not in the Catalog on, the list of suggestions ends with My product is not listed. It opens a text box where the visitor types the product's name or model. That answer isn't a SKU and isn't linked to a product. Wherever the answer is shown, it reads as the visitor's text followed by "(Not in Catalog)".
When to use
- Use Product for questions, claims and requests about one product you sell, so you get the exact SKU instead of a name the visitor remembers.
- To ask about an order instead, use the Order and Order Items fields in the same group.
Settings
Go to Content → WebForms → Manage Forms, click the form's name, then click Form Builder. Click the field on the form. Its settings show in the right panel, on the tabs General and Appearance. You'll change these settings most often:
- Placeholder (General tab) replaces "Name or SKU" in the empty box.
- Show Product Images shows the list as cards with the product's picture. A product without a picture shows your store's placeholder image.
- Show Prices shows the product's price next to its name in the list and on the chosen product, with or without Show Product Images. It's on for a new field.
- Allow Products Not in the Catalog lets the visitor name a product you don't list, for example an older model. It's off for a new field.
- Required makes the visitor choose a product before sending the form.
The table below lists every setting. Visitors see a change after you click Publish Changes in the builder's top bar.
All settings of this field
| Setting | Where in the panel | Values | Translatable |
|---|---|---|---|
| Enable Field | General → Basic | On or off | No |
| Label (required) | General → Basic | Text | Yes |
| Field Code | General → Basic | Text | No |
| Required | General → Basic | On or off | No |
| Required Error Message | General → Basic | Text | Yes |
| Help Text | General → Basic | Formatted text | Yes |
| Tooltip | General → Basic | Formatted text | Yes |
| Placeholder | General → Field Settings | Text | Yes |
| Require a Listed Option | General → Field Settings | On or off | No |
| Show Product Images | General → Field Settings | On or off | No |
| Show Prices | General → Field Settings | On or off | No |
| Allow Products Not in the Catalog | General → Field Settings | On or off | No |
| Hide in Submissions | General → Submission Display | On or off | No |
| Allow in Staff Email Subject | General → Submission Display | On or off | No |
| Submission Label | General → Submission Display | Text | Yes |
| Personal Data | General → Privacy | By field type — Not personal, Not personal, Personal data | No |
| Minimum Characters | General → Advanced | Number | No |
| Maximum Suggestions | General → Advanced | Number | No |
| Desktop | Appearance → Layout | Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off | No |
| Tablet | Appearance → Layout | Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off | No |
| Mobile | Appearance → Layout | Width: Full (1/1), Half (1/2), Third (1/3), Quarter (1/4), Fifth (1/5), Sixth (1/6), 2/3, 3/4, 2/5, 3/5, 4/5, 5/6; New row: on or off | No |
| Show Label | Appearance → Style | On or off | No |
| Help Text Position | Appearance → Style | Below input, Above input | No |
| Container Classes | Appearance → CSS | Text | No |
| Input Classes | Appearance → CSS | Text | No |
| Custom Attributes | Appearance → Advanced | Text | No |
| Inline Style | Appearance → Advanced | Text | No |
Validation
| Check | What the visitor sees |
|---|---|
| Required, nothing chosen | "This is a required field." under the box. |
| The visitor typed text but didn't pick a product from the list | "Select a product from the list." under the box. The visitor must pick from the list even with Require a Listed Option off. |
Logic
- Start a rule: no. A Product field can't start one. Its Logic tab appears only once a rule shows or hides it, and lists that rule.
- Show or hide this field: yes, from a rule that starts on a field with options. See Show or hide fields and sections.
- Email conditions: yes. A notification can go out only when the SKU matches a condition. The operators are Is, Is Not, Contains, Starts With and Ends With.
Limits
- Names are looked up through your store's own catalog search, the same one the search box in your store uses, for the store view the visitor is on. An exact SKU is looked up in your catalog first, before the search, so it's found even when the search returns nothing or isn't working.
- The field holds one product. To ask about two, add a second Product field.
Troubleshooting
- The list says "No products found" for a product you sell. Your store's catalog search didn't return it. Search for the product in your store's search box: if that finds nothing either, the catalog search needs attention. Meanwhile, typing the product's exact SKU still finds a product that is enabled, in the store view's website and visible in search.
- A SKU shows instead of a name. No product carries that SKU any more, for example because it was deleted or its SKU changed. The admin's submission page, exports and the API always give the SKU.
What's next
- File field: let the visitor add photos of the product.
- Working in the Inbox: open the submission and the product it names.