Many merchants want to test Rebuy features internally before allowing customers to interact with them and there are 2 ways to achieve this.
The first method is to install Rebuy on a duplicate theme so that you can test the Rebuy products there first and once you're satisfied, implement the same features on your live theme.
The second method is what we will discuss in this article, using Rebuy preview mode.
What is preview mode?
When a Rebuy product is in preview mode it is invisible to customers and can only be seen or interacted with when viewing the store in preview mode.
How do I enable preview mode?
There several ways to enable preview mode.
Widget preview mode
Automatic: From the Rebuy Admin > Dashboard tab, click "ONLINE STORE". This will open your stores live theme in a new tab and automatically place you in preview mode (if Rebuy is installed on your live theme).
Manual: Open your store browser, for a theme that has Rebuy installed and add
/?preview=true
to the end the URL.Example: if your base URL is
https://try.rebuyengine.com
then it should look like this to be in preview modehttps://try.rebuyengine.com/?preview=true
Confirmation: Done correctly your browser should now be in preview mode. At the bottom of your browser you should see the Rebuy preview bar for Widgets displaying. Similar to when you preview a different theme and the Shopify preview mode bar displays.
Smart Cart preview mode
From the Rebuy Admin > Smart Cart tab, scroll down to view your available Smart Carts. Only 1 can be live at a time, but you can have up to 9 created. To preview a Smart Cart that is not live, simply click the "PREVIEW" button. This will open your stores live theme in a new tab and place you in Smart Cart preview mode.
Confirmation: Done correctly your browser should now be in preview mode. At the bottom of your browser you should see the Rebuy preview bar for Smart Cart displaying. Similar to when you preview a different theme and the Shopify preview mode bar displays.
Your URL will also show you as being in preview mode for that specific Smart Cart.
Smart Cart and Widget preview mode
Preview mode for widgets is separate from the Smart Cart preview mode. But you can combine the two in order to test a Smart Cart and a widget at the same time
First, follow step 2 above to place yourself in Smart Cart preview mode.
Now that you're in Smart Cart preview mode, follow step 1 above to combine the 2. Adding
/?preview=true
to the end the URL will combine the 2 preview modes.The URL will look like this for Smart Cart preview
https://try.rebuyengine.com/?preview_smart_cart=8839
and you'll add/?preview=true
to the end so the new link will look like this.https://try.rebuyengine.com/?preview_smart_cart=8839/?preview=true
Confirmation: Done correctly your browser should now be in preview mode. At the bottom of your browser you should see the Rebuy preview bar for Widgets & Smart Cart displaying. Similar to when you preview a different theme and the Shopify preview mode bar displays.
Placing widgets and Smart Cart into preview mode
Widgets
Smart Cart
Using the Toggle Highlight feature of Rebuy Preview mode
If you're unfamiliar with a store it can be difficult to quickly identify which features are Rebuy and which are native to the theme, or from a different app. To solve for this you can use the Toggle Highlight, this will display a colored border around any Rebuy products on the page.
Open your store browser, for a theme that has Rebuy installed and add /?preview=true
to the end the URL.
Example: If your base URL is https://try.rebuyengine.com
then it should look like this to be in preview mode https://try.rebuyengine.com/?preview=true
Example image:
Navigate to Rebuy Admin > Settings > Themes and scroll down to "Rebuy Element Highlight". From here you can select the color and the thickness of the Toggle Highlight border.
Demo here:
Example Image:
Limitations and Requirements
The widget must be installed in your Theme in order to use the Preview feature
NOTE: Toggling off live mode on a widget will hide it from customers without uninstalling the widget.
The widget preview tool is not available for select widget types:
Checkout Extensions (use Checkout Editor preview tool)
Post Purchase Offers (preview tools coming soon)
Smart Cart is global. If you have Rebuy installed on multiple themes and you set Smart Cart to live mode, it will be live on all themes. This is why we leverage preview mode.