Luma themes
Ottla on Luma and blank-based themes
Add a Magento Luma AI chatbot, instant search and recommendation rows to Luma, blank or any theme built on them, with no template edits. The module fits the way Luma loads, bundles and minifies, so your developer doesn’t have to work around it.
- No template edits
- Works with JS bundling
- Minified HTML supported
For your developer
Fits how Luma loads
Luma has its habits: RequireJS, JS bundling, a 62.5% root font size. The module is built around them, and Luma product recommendations use Magento’s own blocks, so they look like the rest of your catalogue.
-
One dropdown, not two
A small mixin quiets Magento’s own mini search form while instant search is on.
-
Bundling left as it is
Ottla’s scripts are excluded from Magento’s JS bundling, so your bundles don’t change.
-
Scripts at the bottom
“Move JS code to the bottom of the page” is fine; the few head scripts stay in the head.
-
Minified HTML
“Minify Html” is also fine. HTML minification is supported, and the module’s own tests run Magento’s HTML minifier against every template.
-
Magento’s own product blocks
Recommendation rows use the standard image, native price box and add to basket form.
-
Sizes that hold
Sizes are set in pixels, so Luma’s 62.5% root font size doesn’t shrink the dropdown or rows.
Autocomplete
Replacing your autocomplete
Most Luma stores already have some kind of search dropdown, and two at once just confuses shoppers. So Ottla’s Luma theme instant search replaces the Magento autocomplete you have, rather than sitting on top of it.
Shoppers get products, categories, pages and articles as they type, their own recent searches when they click into the box, and a link to ask the assistant when they’d rather just describe what they need.
If you want to know more about search on Magento generally, we have a Magento site search guide.
- Amasty Xsearch, Adobe Live Search and Mirasvit Search Autocomplete dropdowns are removed for you
- Magento’s own search form comes back where Amasty Xsearch or Live Search replaced it
- Any other autocomplete: switch it off, or remove its block in one layout file
- Enter with nothing selected still runs Magento’s search
Before you connect
Checklist for a Luma store
Four things to check with your developer before you connect. None of them takes long, and doing them now means you won’t have to redeploy after you connect.
-
01
Step 1: Your header search input
If your quicksearch isn’t in the standard #search field, give the module its selector in search settings.
-
02
Step 2: Your autocomplete
Take a note of which instant search is installed (Magento’s core version, Amasty Xsearch, Live Search or something else) so you know what instant search replaces.
-
03
Step 3: Your catalogue search engine
Nothing to change. Ottla runs its own search and falls back to the Elasticsearch or OpenSearch engine your store already has.
-
04
Step 4: Your cookie notice
And that cookie notice or consent manager plugin you’re using? Make sure it’s telling Ottla what the shopper chose. No signal means the module assumes a shopper isn’t consenting.
Thinking about Hyvä?
Moving to Hyvä later?
If you’ve got a Hyvä rebuild planned for next year, Ottla moves with you. No need to rebuild it when you switch.
On the fence about Hyvä? Hyvä vs Luma covers the pros and cons.
- Same module, same settings
- The theme is detected per store: Hyvä 1.3 and later gets Hyvä markup, a Luma theme gets Luma markup
- One installation can run both while you migrate
Questions
Luma questions
Short answers to what Luma developers ask first.
Does it need jQuery or RequireJS?
No. The storefront scripts are pure JavaScript with zero dependency on jQuery or RequireJS. Ottla requires one small RequireJS mixin on Luma to quiet Magento’s mini search form while instant search runs, and that’s it.
Will it clash with our JS bundling or minification?
It shouldn’t. Ottla’s scripts are excluded from Magento’s JS bundling, and HTML minification is supported: the module’s tests run Magento’s minifier over every one of its templates.
Can we style it to match our Luma child theme?
Yes. By default, it follows your theme’s primary button colour. But developers can configure Ottla’s CSS custom properties for accent colours, text, borders and corner radius, and there are options for the chat window’s colours, fonts and launcher in the console’s widget builder.
What happens to our existing autocomplete?
On Luma, the dropdowns of Amasty Xsearch, Adobe Live Search and Mirasvit Search Autocomplete are removed, and Magento’s own search form is restored where one of them replaced it. For any other autocomplete module, your developer switches it off or removes its block in one layout file.
Try Ottla on your Luma store
14 days free, no card needed. The trial has every Pro feature, with lower limits.
14 days free. No card needed.