Store preview
You can use store preview to ensure that changes that are made in Management Center show up in your store as expected. You can use store preview in production, authoring, and staging environments.You can use store preview within the authoring instances for any of your environments. Do not use store preview within the live instance of your HCL Commerce environments.
For example, your marketing team decides to promote a line of leather coats. You create an e-Marketing Spot for the new coats in the Management Center. By using store preview, you can ensure that the e-Marketing Spot shows the ad in your store as you expect.
What you can do with store preview
Here is a summary of key tasks you can complete in a store preview:
Task | JSP Store | React Store | For more information |
---|---|---|---|
Ensure that product and category information is accurate and correctly formatted on store pages. | Yes | Yes | Previewing a store |
Test whether marketing information is
displayed as expected in e-Marketing Spots. You can view the name of each e-Marketing Spot in store preview, and review processing information about web activities that are scheduled for the e-Marketing Spot. |
Yes | Yes | Previewing a store |
Test that time-sensitive content, such as a
promotion, web activity, contract, or a price change, is
displayed only when expected. For example:
|
Yes | Yes | Previewing a store Select the option View your store at a virtual date and time. |
Test marketing campaigns that are targeted at
specific customers. Within preview, you can create a new registered user by following your store's registration process. This user will exist in your database after you close the preview. For more information, see How operational and transactional data is handled. You can also test prices under different contracts by logging in as two customers that belong to different contracts or accounts. |
Yes | Yes | Previewing a store In the storefront, click Sign In/Register to create a user with the characteristics that you want to test. |
Ensure that shipping charges are correctly displayed on store pages. | Yes | Yes | Previewing a store In the storefront, click Sign In/Register to create a user with the characteristics that you want to test. |
Test inventory filters. A store developer can enable a web activity inventory filter. As a result, catalog entry recommendations in e-Marketing Spots display only if the inventory level for the catalog entry is above a configured amount. For example, if a developer sets the inventory level to 100, only catalog entries with at least 100 units in stock are displayed to customers. This filter is off by default. |
Yes | Yes | Previewing a store In the preview options, leave the Product recommendations option set to Use the inventory level as in the database (default). |
Test web activities, promotions, and search
rules that target a specific customer segment. Preview the store from the perspective of customer who belongs to that customer segment. This way, you can see how the store looks and operates for those specific customers. |
Yes | Yes | Previewing a store as a customer in a customer segment |
Test the effect of search rules on search results. | Yes | Yes | Managing search rules |
Verify that search terms and synonyms produce the results you expect. | Yes | Yes | Improve storefront search results by using search term associations |
Verify that search engine optimization metadata is added to store pages as expected. | Yes | Yes | Changing the SEO properties for categories and catalog entries |
Verify that the default catalog is
displayed. If the store has multiple store catalogs, you can set a default catalog. Customers in your store see content from the default catalog. |
Yes | Yes | Setting the default catalog |
Share store preview URLs with people who might not have access to Management Center, and preview your store on different browsers and devices. | Yes | Yes | Generating and sharing store preview URLs |
Change the customer segments applied to the store preview context within the open store preview session. | No | Yes | Previewing the store In the store preview when you click Preview Settings, you can update the applicable customer segments. When you click Apply Changes, the updated preview is displayed in the same preview tab. This allows business users to easily preview the site in the context of different customer segments. |
Change the store URL, date and time, and time elapse setting applied to the store preview context within the open store preview session. | No | Yes | Previewing the store In the store preview when you click Preview Settings, you change the store URL, data and time, and elapse settings. When you click Apply Changes, the updated preview is displayed in the same preview tab. This allows business users to easily preview the site and update the preview settings, while preserving the current shopping session. For example, if the business user is previewing the store as a registered guest, or has an active shopping cart, this context is preserved after the preview settings are updated. |
Create and edit catalog entries, categories, e-Marketing Spots, web activities, marketing content, and search rules directly from store preview. | Yes | No | Click-to-edit function in JSP Store preview |
For pages managed in the Commerce Composer tool, create and edit layouts, and edit pages and widgets. | Yes | No | |
For pages managed in the Commerce Composer
tool, open pop-up windows that provide the following details
about the current page:
|
Yes | No | Viewing information about pages and layouts in store preview |
In-context preview
When you are working on certain business objects in Management Center, store preview opens directly to the associated store page, rather than to the home page. For example, if you are editing a bicycle product and you launch store preview, the store opens directly to the product details page for the bicycle. In-context preview saves you time because you do not need to browse to a specific store page from the home page to preview your changes.In-context preview is available for the following Management Center tools and business objects:
- Catalogs tool:
- Categories
- Catalog entries (products, SKUs, bundles, and kits)
- Commerce Composer tool (not supported for React Stores):
- Pages (category, catalog entry, and content pages)
- Layouts
- For a catalog entry, category, or page, store preview opens directly to the page. The date inside store preview is the current date.
- For a layout, store preview opens directly to the page to which the layout is assigned. The date
inside store preview is the start date for the layout. Note: If the layout is assigned to multiple pages, the Store Preview Options window is displayed. From this window, you can choose which page to view. In this case, if the layout start date is in the future, you must set the date inside store preview to the future date.
Previewing at different resolutions
At the top of the preview window, you can select a resolution at which to view your page. Each resolution simulates how the page is rendered for a specific screen width. If you have pages that use a responsive web design pattern, you can check multiple resolutions for the same page. Store preview also has a Rotate button so that you can switch between portrait and landscape orientation for a specific resolution.Preview delays during reindexing
When you preview your changes to the catalog in store preview, there might be a delay before you see your changes. The delay is required so that your changes can be reindexed by HCL Commerce search. The delay can be anywhere from a few seconds to a few hours, depending on how many changes you made and how busy the system is.To check whether the reindexing is complete, the store preview header shows its status. You can refresh the status at any time by clicking Refresh Details.
How operational and transactional data is handled
While you are previewing your store, you can perform actions that modify operational and transactional data, for example, registering new users, placing orders, and redeeming coupons. When operational and transactional data is modified, the information is recorded in the database, just as when a real user performs these actions. For example, new users will still exist in the database after you exit from preview. You can log in as these users in the store inside or outside of a preview session. Another example is if you redeem coupons within preview, the redemption counts toward any defined redemption limit. If you collect analytical information from this data, your actions during preview might affect your analytics.- When you preview your store on an authoring environment, operational and transactional data on the authoring environment is treated differently, depending on the context of the preview.
- When you preview your store from the production-ready data, operational and transactional data is treated the same as described previously. The store preview reflects the state of the store in the production-ready data. You cannot see changes that are made to managed assets in workspaces.
- When you preview your store from a workspace, the store preview reflects changes that are made
to managed assets only in the selected workspace. For order activities, the
store preview reflects only order activities in the workspace. Any order
activities in the production-ready data are not visible the store preview.
Activities in the store preview that are related to member data occur directly
in the production-ready data because member data is not a managed asset.
Examples are the creation of new users and organizations.Note: If you are using Elasticsearch and you make changes to your store from a workspace, these changes are not reflected in the store preview.
To prevent operational and transactional data from being changed, you can restrict certain commands from running within a store preview.
Restricting commands in preview
Restrict commands in preview to prevent them from affecting your production server data. An order that is completed in preview affects the production data. The order might also affect inventory levels and cause fulfillment centers to be notified of a transaction. Coupons might be redeemed and even payment authentication might be started on a production environment.
Restrict commands in preview to prevent them from affecting your production environment data. An order that is completed in preview affects the production data. The order might also affect inventory levels and cause fulfillment centers to be notified of a transaction. Coupons might be redeemed and even payment authentication might be started on a production environment server.
Preview limitations when you are previewing from a workspace
- Previewing store changes that are made in workspaces is supported by default.
- If you try to process an order when you are previewing a store from within a workspace, it might cause errors that prevent you from completing the order.
- If the current workspace context is changed, any open store preview tab is closed because the content shown in the preview window is no longer valid. You can start a new store preview session in the new workspace context. For example, if a business user starts working on a workspace task or selects the Working on approved content option, the store preview tab closes.
- If you are using Elasticsearch and you make changes to your store from a workspace, these changes are not reflected in the store preview.