Free. No sign-up.

Free order on Messenger widget for your website

List what you sell, copy the code and paste it into your site. Customers pick what they want and see a total, and the order is written out for them to send you on Messenger or by email. You reply to confirm it and say how to pay. Nothing is charged or stored on your site.

Where orders go

Fill in one or both. Customers send you the order themselves.

What you sell

Up to 20 items. Choices are optional, such as sizes or flavours, separated by commas.

The wording
How it looks

Preview

See the code
<!-- Order on Messenger widget from Solus Five, free to use: solusfive.dev/widgets/order-on-messenger/ -->
<style>
.sf-order:not(#_){
--sf-bg:#ffffff;
--sf-ink:#14201c;
--sf-muted:#55635d;
--sf-line:#dde3e0;
--sf-accent:#0f766e;
--sf-on-accent:#ffffff;
--sf-accent-text:#0f766e;
--sf-font:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
.sf-order:not(#_),.sf-order:not(#_) *,.sf-order:not(#_) *::before,.sf-order:not(#_) *::after{all:revert;box-sizing:border-box}
.sf-order:not(#_) [hidden]{display:none!important}
.sf-order:not(#_){all:initial;display:block;max-width:520px;margin:0 0 16px;padding:18px 20px;background:var(--sf-bg);color:var(--sf-ink);border:1px solid var(--sf-line);border-top:3px solid var(--sf-accent);border-radius:12px;font:400 15px/1.5 var(--sf-font);text-align:left}
.sf-order:not(#_) h2{margin:0 0 8px;font:700 17px/1.3 var(--sf-font);color:var(--sf-ink)}
.sf-order:not(#_) ul{list-style:none;margin:0;padding:0}
.sf-order:not(#_) li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 0;border-top:1px solid var(--sf-line)}
.sf-order:not(#_) .sf-name{flex:1 1 50%;font-weight:600}
.sf-order:not(#_) .sf-price{color:var(--sf-muted);font-size:14px}
.sf-order:not(#_) .sf-pick{display:flex;flex:1 1 100%;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
.sf-order:not(#_) .sf-qty{display:inline-flex;align-items:center;gap:4px}
.sf-order:not(#_) input,.sf-order:not(#_) select,.sf-order:not(#_) button{font:inherit;color:var(--sf-ink)!important;background:var(--sf-bg)!important;border:1px solid var(--sf-line)!important;border-radius:8px;min-height:40px}
.sf-order:not(#_) input,.sf-order:not(#_) select{padding:8px 10px}
.sf-order:not(#_) input{display:block;width:100%}
.sf-order:not(#_) .sf-qty input{width:46px!important;padding:8px 4px;text-align:center}
.sf-order:not(#_) button{min-width:40px;padding:0 10px;cursor:pointer}
.sf-order:not(#_) .sf-total{display:flex;justify-content:space-between;margin:0 0 12px;padding-top:10px;border-top:1px solid var(--sf-line);font-weight:600}
.sf-order:not(#_) label{display:block;margin:0 0 10px;font-size:14px;font-weight:600}
.sf-order:not(#_) label input{margin-top:4px;font-weight:400}
.sf-order:not(#_) .sf-btn{display:block;margin:8px 0 0;padding:11px 14px;border-radius:9px;background:var(--sf-accent);color:var(--sf-on-accent)!important;text-align:center;font-weight:700;text-decoration:none;cursor:pointer}
.sf-order:not(#_) .sf-btn2{background:var(--sf-bg);color:var(--sf-accent-text)!important;border:1px solid var(--sf-line)}
.sf-order:not(#_) .sf-problem{margin:8px 0 0;padding-left:8px;border-left:3px solid #d97706;font-weight:600;font-size:14px}
.sf-order:not(#_) .sf-fallback a{color:var(--sf-accent-text)!important;font-weight:600}
.sf-order:not(#_) [data-result]{margin-top:14px;padding-top:12px;border-top:1px solid var(--sf-line)}
.sf-order:not(#_) [data-result] p{margin:0 0 8px;font-weight:600}
.sf-order:not(#_) pre{margin:0 0 10px;padding:10px 12px;border:1px dashed var(--sf-line);border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.sf-order:not(#_) .sf-pay,.sf-order:not(#_) .sf-credit{margin:10px 0 0;font-size:12px;color:var(--sf-muted)}
.sf-order:not(#_) .sf-credit a{color:inherit!important}
</style>
<section class="sf-order" data-sf-order>
<h2>Order here</h2>
<ul>
<li data-item data-name="Tapsilog" data-price="18500" data-choices="Regular|Large"><span class="sf-name">Tapsilog</span><span class="sf-price">₱185.00</span></li>
<li data-item data-name="Turon" data-price="4500"><span class="sf-name">Turon</span><span class="sf-price">₱45.00</span></li>
<li data-item data-name="Iced coffee" data-price="9000"><span class="sf-name">Iced coffee</span><span class="sf-price">₱90.00</span></li>
</ul>
<p class="sf-fallback" data-fallback><a href="https://m.me/yourpage">Message us on Messenger to order</a></p>
<div data-form hidden>
<p class="sf-total">Total <b data-total></b></p>
<label>Your name <input data-who autocomplete="name"></label>
<label>Delivery address, or say pickup <input data-where autocomplete="street-address"></label>
<p class="sf-problem" data-problem role="alert" hidden></p>
<a class="sf-btn" data-send="messenger" href="https://m.me/yourpage" target="_blank" rel="noopener">Send my order on Messenger</a>
<p class="sf-pay">We reply to confirm your order and how to pay.</p>
</div>
<div data-result hidden>
<p data-via="messenger" hidden>Your order is copied. Paste it into the Messenger chat that just opened and send it.</p>
<p data-via="email" hidden>Your order is written out in a new email. Send it to us.</p>
<pre data-text></pre>
<button type="button" data-copy>Copy the order</button>
</div>
<p class="sf-credit"><a href="https://solusfive.dev/widgets/order-on-messenger/">Free widget from Solus Five</a></p>
</section>
<script>
(() => {
const money = (c) => new Intl.NumberFormat('en-PH', { style: 'currency', currency: 'PHP' }).format(c / 100);
const orderText = (lines, who) => [
`Order from ${who.name}`,
`Deliver to: ${who.address}`,
'',
...lines.map((l) => `${l.qty} x ${l.name}${l.choice ? ` (${l.choice})` : ''}, ${money(l.price * l.qty)}`),
'',
`Total: ${money(lines.reduce((t, l) => t + l.price * l.qty, 0))}`,
].join('\n');
const el = (tag, props, ...kids) => { const e = document.createElement(tag); Object.assign(e, props); e.append(...kids); return e; };
const named = (e, text) => { e.setAttribute('aria-label', text); return e; };
document.querySelectorAll('[data-sf-order]:not([data-sf-ready])').forEach((box) => {
box.setAttribute('data-sf-ready', '');
const $ = (s) => box.querySelector(s);
const total = $('[data-total]'), problem = $('[data-problem]'), result = $('[data-result]'), written = $('[data-text]');
const copy = (text) => {
const area = el('textarea', { value: text, readOnly: true });
area.style.cssText = 'position:fixed;top:0;left:0;opacity:0';
box.append(area);
area.select();
let ok = false;
try { ok = document.execCommand('copy'); } catch (e) {}
area.remove();
if (!ok && navigator.clipboard) navigator.clipboard.writeText(text).catch(() => {});
};
const paint = () => { total.textContent = money(items.reduce((t, i) => t + i.price * +i.qty.value, 0)); };
const items = [...box.querySelectorAll('[data-item]')].map((li) => {
const { name, price, choices } = li.dataset;
const qty = named(el('input', { value: '0', inputMode: 'numeric' }), `How many ${name}`);
const set = (n) => { qty.value = Math.min(99, Math.max(0, parseInt(n, 10) || 0)); paint(); };
qty.addEventListener('change', () => set(qty.value));
const step = (sign, by, text) => named(el('button', { type: 'button', textContent: sign, onclick: () => set(+qty.value + by) }), text);
const pick = choices ? named(el('select', {}, ...choices.split('|').map((c) => el('option', { value: c, textContent: c }))), `Choice for ${name}`) : null;
li.append(el('span', { className: 'sf-pick' }, ...(pick ? [pick] : []),
el('span', { className: 'sf-qty' }, step('−', -1, `Fewer ${name}`), qty, step('+', 1, `More ${name}`))));
return { name, price: +price, qty, pick };
});
box.querySelectorAll('[data-send]').forEach((a) => a.addEventListener('click', (e) => {
const name = $('[data-who]').value.trim(), address = $('[data-where]').value.trim();
const lines = items.filter((i) => +i.qty.value > 0)
.map((i) => ({ name: i.name, price: i.price, qty: +i.qty.value, choice: i.pick ? i.pick.value : '' }));
const bad = !lines.length ? 'Pick at least one item first.' : !name || !address ? 'Add your name and your address first.' : '';
problem.textContent = bad;
problem.hidden = !bad;
if (bad) { e.preventDefault(); return; }
const text = orderText(lines, { name, address });
written.textContent = text;
const via = a.dataset.send;
box.querySelectorAll('[data-via]').forEach((p) => { p.hidden = p.dataset.via !== via; });
if (via === 'email') a.href = `mailto:${a.dataset.to}?subject=${encodeURIComponent(`Order from ${name}`)}&body=${encodeURIComponent(text)}`;
else copy(text);
result.hidden = false;
}));
$('[data-copy]').addEventListener('click', () => copy(written.textContent));
$('[data-fallback]').hidden = true;
$('[data-form]').hidden = false;
paint();
});
})();
</script>

Where to paste it

Press Copy code above, then follow the steps for your site. Paste the whole code in one go, and paste it again the same way if you change your details here. Steps checked October 2026.

Google SitesFree. The widget runs in its own frame, so it cannot clash with your site.
  1. On a computer, open your site in Google Sites.
  2. Click Insert, then Embed, then Embed code.
  3. Paste the code, click Next, then Insert.
  4. Drag the edges of the frame until the whole widget shows: at least 760 pixels, more if you list many items.

Google Sites's own help page, if a button has moved.

WixThe widget runs in its own frame, so it cannot clash with your site.
  1. In the Wix Editor, click Add Elements, then Embed Code, then Popular Embeds, then Embed HTML.
  2. Click the new box on your page, then Enter Code.
  3. Paste the code under Add your code here, then click Apply.
  4. Drag the box until the whole widget shows: at least 760 pixels, more if you list many items.
  5. Switch to the mobile view and size the box there too. It does not resize by itself.

Wix's own help page, if a button has moved.

WordPressSelf-hosted sites, and WordPress.com plans that allow plugins.
  1. Edit the page or post, and add a Custom HTML block where you want the widget.
  2. Paste the code into the block.
  3. Preview the page, then publish.

On WordPress.com, scripts only run on a plan that allows plugins, with hosting features activated (its help page). On any other plan the script is removed. Customers see your list and a link to message you, but cannot build an order.

WordPress's own help page, if a button has moved.

SquarespaceCore, Plus and Advanced plans.
  1. Edit the page, hover where you want the widget, and click Add block or +, then Code.
  2. Click the pencil icon on the block and paste the code.
  3. Save, then check the page in a private window. Squarespace can hide code from you while you are logged in, even though visitors see it.

Scripts in a Code block need a Core, Plus or Advanced plan. On any other plan: Customers see your list and a link to message you, but cannot build an order.

Squarespace's own help page, if a button has moved.

ShopifyDepends on your theme. Many include a Custom Liquid section.
  1. In your Shopify admin, go to Online Store, find your theme and click Edit theme.
  2. Click Add section and choose Custom Liquid.
  3. Paste the code into its box, then save.

If your theme has no Custom Liquid section, its documentation will say where custom code can go.

Shopify's own help page, if a button has moved.

A Solus Five templateOr any site you edit as plain files.
  1. Open the page in a plain text editor.
  2. Paste the code where you want the widget, somewhere inside the main section.
  3. Save, then open the page in your browser to check.

Facebook Pages, Shopee and Lazada do not accept code at all. On Facebook, your Page already has Messenger. On Shopee and Lazada, customers order through your listings.

Make it match your website

The form covers the basics. For your exact colours and font, describe your site here and copy a ready-made request for ChatGPT, Claude or Gemini. It sends your widget's code and asks for the look to change and nothing else.

Worth reading

Starting a whole site?

Our templates are complete sites you can make your own the same way: Counter, store and Kiosk, food. See them all.

No website yet? A free AI prompt has ChatGPT, Claude or Gemini make you a one-page site.

Free to use on any site, yours or a client's. Please do not resell it or offer it as part of your own collection of widgets. The small "Free widget from Solus Five" line at the bottom is there so other people can find us, and deleting it is fine.