MobiariDocs

Content and forms

How to create content in the CMS, collect contacts with forms, and edit the store's pages in the editor, with draft and publish.

Under Grow there are three tools for what the store shows besides products: Content, for content lists (testimonials, banners, FAQ, blog), Forms, to receive contacts and quote requests, and the site editor, in Online store, to build pages. This guide explains what each one does and how they fit together. These screens only exist in workspaces that sell; see Store or support.

Content: collections and items

A collection is a type of content, with the fields each item has. An item (a document, in the theme's code) is one entry in the collection. The store reads the collections and shows the items set to Show on the site, in the order you set.

Create a collection

  1. Open Grow → Content and click New collection.
  2. Fill in Name and Identifier. The identifier uses lowercase letters, numbers and underscores (_), with no hyphens or spaces, up to 120 characters, and cannot repeat another collection's.
  3. Choose the Template:
TemplateFields
BlankNone
Testimonialsquote (required), author, rating, photo
Bannerstitle (required), subtitle, image (required), link_text, link_url
FAQquestion and answer, both required
  1. Click Create collection.

In the panel, a collection's fields come from the template you chose. For other fields (date, color, a reference to a product, a list), the collection is defined through the admin API, in the developer documentation. The accepted types are text, number, true or false, date, color, long text, an image from the Files library, a reference (to a product, collection, page, document or file of the store) and list.

Create and order items

  1. In Grow → Content, open the collection and click New item. The item opens in a panel beside the list.
  2. Fill in the fields. Those marked * are required; without them the panel says Fill in: and the fields that are missing.
  3. Under Publishing, Show on the site controls whether it shows on the store: off, the item leaves the site but stays here. The Item address is used when the item has a page of its own.
  4. Click Create item (or Save item, on an item that already exists). A new item goes to the end of the list.

In the collection's list, Move up and Move down change the order the items appear in. Delete removes the item. An item that does not fit the collection's fields (a number where text is expected, for example) is not saved. Collections marked Archived in the list do not show on the store.

Schedule when it appears

Under Publishing, Shows from and Hides on set a window for the item. Before the first moment it is Scheduled (the list shows "From" and the date) and stays off the store; after the second it is Expired and goes away. Leave them empty to show the item whenever Show on the site is on. The end must be after the start. A blog post or a Black Friday banner can be written ahead and appears by itself; the store picks the change up within a few minutes of the chosen time. An item with Show on the site off stays hidden (Hidden) whatever its window says.

How an entry looks in search and link previews

An entry's page uses the entry's own data for Google and for previews on social networks and chat apps. Add these fields to the collection to control them: seo_title (the page title), seo_description (the description) and seo_image (the preview image). Without them the page uses the entry's summary, excerpt, description or resumo (rich text is shown as plain text, cut at 160 characters) as the description and its image, cover or thumbnail as the preview image.

Feed for readers and other sites

A page that lists a collection (a blog, for example) also has an Atom feed at its address plus /feed.xml: for the page /blog, /blog/feed.xml. Feed readers and other sites use it to follow new posts. It lists the 50 newest entries that are live (scheduled and ended ones are left out), each with its title (the title, name or headline field), a summary (the summary, excerpt or description field, when there is one) and the moment it went live. A page you hid from search engines has no feed.

Show the content on the store

Content only shows where a section calls it. In the site editor (Grow → Online store → Edit site):

  • The Lista do conteúdo section shows a collection's documents as a Grade (grid) or Lista (list). Coleção do conteúdo picks which collection, and Campo do título, Campo da imagem, Campo do resumo and Campo da data say which fields to read (the defaults are title, image, summary and date).
  • The Entrada do conteúdo section shows one open item, reading title, image, body, date and author.
  • Under Pages, a page's settings have CMS content: link the page to a collection (a blog, recipes) and it lists the items, and each item gets its own page.
  • The Carrossel (slideshow) can use Uma coleção do conteúdo and reads the fields asset, poster, viewport and link from the documents.

That is why the collection's field names must match what the section reads. Section names and their settings are shown in Portuguese.

Forms

A form takes contacts, quote requests, sign-ups: whatever you need to ask the people who visit the store.

Create a form

  1. Open Grow → Forms and click New form.
  2. Under Form, fill in Name. The Identifier is optional (empty uses the name) and is the name used in the site code: changing it later breaks code already placed. Taking answers turns the form on and off.
  3. Under Fields, click Add a field (1 to 30). Each field has a Field type, a Label, a Key (a-z, 0-9 and _, up to 40, not starting with _) and Required. Types: Text, Long text, E-mail, Phone, CPF, CNPJ, CPF or CNPJ, CEP, Number, Date, Dropdown, Single choice, Multiple choice (1 to 50 options) and Consent. CPF, CNPJ, phone, CEP and e-mail are validated and stored in their standard format.
  4. Under After sending, set Button text, Thank-you message and, if you want, Go to another page: a store path (/thank-you) or an https:// address.
  5. Click Create form.

A Consent field is a box the visitor ticks (terms, privacy policy), with the Consent text beside it. With The consent allows set to Opt-in to offers by e-mail or Opt-in to offers on WhatsApp, the ticked box becomes a customer consent, with the text as proof. For WhatsApp, the form needs a phone field. See Consent and privacy.

Notices and customers

  • Notify by e-mail: up to 10 addresses get every submission, with all the answers and the page it came from. If the form has a field with the key email, replying goes to that person. The e-mail goes out from the sender set in Settings → Store settings → Store e-mail.
  • Create or update the customer, under Customers: whoever sends an e-mail or phone becomes a store customer, or completes the record that already exists (it never overwrites what was there). The Customer tags are applied on every submission, to segment and automate (Customers).

Put it on the site

Once created, the Where to paste it part shows the form's code:

  • Liquid theme: {% render 'mobiari-form', form: forms.contact %}, for any theme template or section (replace contact with the handle).
  • HTML: <mobiari-form store="your-store" form="contact"></mobiari-form>. On store pages, the platform loads the script itself.
  • Headless (@mobiari/storefront), for a site of your own.

In the site editor, the Formulário section does the same with no code: pick the form by its handle and adjust the title and text.

Receive and handle submissions

In Grow → Forms, open the form: each answer shows with its date, summary and customer, and Edit form opens the fields and options. The filters are New, Read, Archived, Spam and All. Tick several answers to Mark read, Archive or Spam them at once. An open answer has Mark new, Archive (or Unarchive), Spam (or Not spam), Delete and Open customer. Viewing answers needs the customers permission, because they carry personal data.

The form protects itself: it accepts up to 10 submissions every 10 minutes per connection, ignores anyone who fills in the hidden field only bots fill in, and, when the platform turns it on, asks for a Cloudflare Turnstile check.

Deactivate or delete

With Taking answers off, the form disappears from the site and accepts no submissions. Deleting also erases every submission received, and the code already placed on the site stops working.

Store editor

Open Grow → Online store and click Edit site. The preview takes the center, with the Desktop, Tablet and Phone switch. On the left are the Pages, Sections, Styles, Theme and Menus panels.

Draft and publish

Everything you change goes to a draft (Draft saved) and nothing goes live until you publish.

  • Publish puts the draft on the store. Under More publish options: Publish this page only, Publish with a name... and Schedule publish... (the draft as it stands then goes live by itself).
  • Discard returns the draft to the version that is live. Undo and Redo step back and forward.
  • Share draft creates a temporary link so other people can see the draft without signing in to the panel.
  • Version history keeps the whole site on every publish. Restore puts an old version in the draft; review it and publish.

What you can edit

  • Pages: New page, with Start with (Blank, About the brand, Contact, FAQ, Campaign page, Free layout), a Title and an Address (lowercase letters, numbers and hyphens). There are also the store pages: home, product, category, cart and search. Under Search and social you set the title, description and share image, and can tick Hide from search engines. Redirects send an old address to the new one. Pages built by the theme's code can only be edited after Use platform sections.
  • Sections: Add section, drag to reorder, Duplicate, Hide and Remove section. Each section has Content and Style tabs. Make reusable turns a section into one shared by many pages: change it in one place and it changes everywhere. The header and footer are sections too.
  • Styles: Ready-made styles, Colors, Color schemes, Typography, External fonts and Custom CSS.
  • Menus: New menu, with items and sub-items.
  • Site templates: Use template replaces the home page, header, footer, menus and styles of the draft and adds pages such as About and Contact. The store only changes when you publish.

For legal pages, use the same editor with the addresses given in Company details. Domain and custom theme are in Online store.

If something goes wrong

  • The form does not show on the site. Check that Taking answers is on and that the handle in the code is the form's.
  • Submissions do not arrive by e-mail. See Troubleshooting.
  • I changed the store and nothing changed. You still need to Publish.

Next steps

On this page