Luigi’s Box
Luigi’s Box is an on-site search and product discovery platform. It provides enhanced search and autocomplete functionality using a product catalog feed.
Luigi’s Box integrates with ShopWired by adding a to your website theme and importing product data using a Google Shopping format XML feed.
Account creation
To use Luigi’s Box with ShopWired, create an account on the Luigi’s Box website.
After creating your account, add your website in Luigi’s Box to access your JavaScript snippet and product catalog settings.
Installing Luigi’s Box on your ShopWired website
Luigi’s Box provides a JavaScript snippet that must be added to your website theme.
Once your Luigi’s Box account is set up, copy the script provided for your site, similar to the example shown below:
<script async src="https://scripts.luigisbox.tech/Your_Unique_ID.js"></script>
The script shown above is provided as an example only. You must copy the exact script provided in your own account, as the script and any ID values will be unique to your website.
Add this code to your theme’s master.twig file so it loads on every page of your website:
- Navigate to Website > Themes
- Select the
code editoroption for your live theme - Open the
master.twigfile - Paste the Luigi’s Box script just above the closing
</head>tag - Select
save changes
Adding your product feed to Luigi’s Box
Luigi’s Box accepts an XML feed in Google Shopping’s format. ShopWired recommends using the Product multi-channel feed app to provide this data.
To provide Luigi’s Box with your product data:
- Install the Product multi-channel feed app
- Obtain the URL for your product feed from your ShopWired account
- Navigate to Apps > Product multi-channel feed
- ShopWired recommends using the
Only published productsfeed
- Enter the feed URL into your Luigi’s Box account when prompted to add a product feed
After the script and product feed are added, complete any remaining setup steps within your Luigi’s Box account.
Recommendations
- Ensure the product feed only includes published products.
- Re-generate the product feed after making large product changes.
- Test search functionality on desktop and mobile devices.