Get Reactify Search installed onto your Shopify theme.
1. Prepare your theme
First you will need to add support to your theme code to include a build step to be able to use the React packages we provide. Most custom themes will already have this in place and generally use webpack or esbuild to compile the TypeScript files into a bundle suitable for use in the theme.
Once you have this structure in place then you are ready to start the implementation.
2. Add script and data tags
The script tags provide liquid rendered data in JSON format which can be used within child components.
The mount points are used to load in the React application to specific areas like instant search within the header and the collection and search templates.
Instant Search
<divid="reactify-mount-instant-search"></div>
Collection
<divid="reactify-mount-collection"></div>
Search
<divid="reactify-mount-search"></div>
4. Implement scripts for the different areas
The following are separate React applications that load Reactify within the mount points.