https://github.com/appbaseio/reactivesearch-shopify-plugin
Shopify Plugin for ReactiveSearch
https://github.com/appbaseio/reactivesearch-shopify-plugin
Last synced: 10 months ago
JSON representation
Shopify Plugin for ReactiveSearch
- Host: GitHub
- URL: https://github.com/appbaseio/reactivesearch-shopify-plugin
- Owner: appbaseio
- Created: 2018-08-28T12:22:06.000Z (almost 8 years ago)
- Default Branch: main-old
- Last Pushed: 2023-01-27T08:42:11.000Z (over 3 years ago)
- Last Synced: 2025-10-04T16:33:58.334Z (10 months ago)
- Language: JavaScript
- Homepage: reactivesearch-shopify-plugin.vercel.app
- Size: 14.1 MB
- Stars: 0
- Watchers: 4
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReactiveSearch Shopify Plugin
This is the based code for the search and recommendations UI builder plugins that are part of [UI Builder](https://appbase.io/product/ui-builder/). It uses [ReactiveSearch](https://github.com/appbaseio/reactivesearch) under the hood.
### Setup
After cloning this repo, You can run it locally by adding the following script in `index.html`. It defines the `APPBASE_SEARCH_PREFERENCES` that configures the search.
```jsx
var APPBASE_SEARCH_PREFERENCES="{\"themeSettings\":{\"type\":\"classic\",\"customCss\":\"\",\"rsConfig\":{\"colors\":{\"primaryColor\":\"#0B6AFF\",\"primaryTextColor\":\"#fff\",\"textColor\":\"#424242\",\"titleColor\":\"#424242\"},\"typography\":{\"fontFamily\":\"default\"}}},\"globalSettings\":{\"currency\":\"USD\",\"showSelectedFilters\":true},\"exportSettings\":{\"exportAs\":\"embed\",\"credentials\":\"b4fdbea71722:46ea953d-79b0-43ec-a1a7-21465f67bff3\",\"openAsPage\":false,\"type\":\"shopify\"},\"resultSettings\":{\"fields\":{\"title\":\"title\",\"description\":\"body_html\",\"price\":\"variants.price\",\"image\":\"image.src\",\"handle\":\"handle\"},\"customMessages\":{\"resultStats\":\"[count] products found in [time] ms\",\"noResults\":\"No Results Found!\"},\"rsConfig\":{\"pagination\":false,\"infiniteScroll\":true}},\"searchSettings\":{\"customMessages\":{\"noResults\":\"No suggestions found for <mark>[term]</mark>\"},\"searchButton\":{\"icon\":\"\",\"text\":\"Click here to search\"},\"fields\":{\"title\":\"title\",\"description\":\"body_html\",\"price\":\"variants.price\",\"image\":\"image.src\",\"handle\":\"handle\"},\"rsConfig\":{\"enablePopularSuggestions\":true}},\"facetSettings\":{\"staticFacets\":[],\"dynamicFacets\":[]},\"syncSettings\":{\"product_sync\":true,\"smartcollection_sync\":true,\"customcollection_sync\":true,\"collect_sync\":false,\"metafield_sync\":false,\"namedtags_sync\":false},\"appbaseSettings\":{\"index\":\"kul-shopify-ecomm\",\"credentials\":\"b4fdbea71722:46ea953d-79b0-43ec-a1a7-21465f67bff3\",\"url\":\"https://appbase-demo-ansible-abxiydt-arc.searchbase.io\"}}";
```