Overview
Making networking updates, taking a major launch, experiencing an internet outage? Here are the instructions for how to close your Aspenware Commerce store through Administration.
Checklist
Prerequiste: Update/Add Store Closed CSS Widget
Define Store Closed Content
Close Store (Single Store Configuration)
Close Store (Multi-Store Configuration)
Update/Add Store Closed CSS Widget
Prerequisite Task
Update/Add Store Closed CSS Widget
Out of the box, the guest-facing message when closing a store isn't guest-friendly. Make sure that your site has the updated Store Closed CSS widget in HTML Widgets
Go to Nop Templates > Plugins > HTML Widgets > Manage HTML Widgets From here search for the widget called "Store Closed CSS"
If you don't have it, add it using the steps below. If you have it, proceed to the next section.
Select Add New HTML Widget in the upper right
Name it ‘Store Closed CSS’
Select Tools> Source Code
Paste the following HTML in the Source Code and click Ok
<style> .page.store-closed-page h1 { font-size: 16px; margin-bottom: 15px; } .page.store-closed-page{ top: 17vh !important; left: 50%; right: 100px; padding: 1rem !important; max-width: 450px; transform: translatex(-50%); min-height: 0 !important; z-index: 10000 !important; width: 90vw; text-align: center; height: 300px; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-content: stretch; align-items: center; margin-bottom: 300px !important; } </style>
Click Save,
Navigate to widget zones and add the widget zone body_start_html_tag_after
Detailed Setup
1. Define Store Closed Content
To define your store closed content. You can set the header and a body copy using Language strings.
Go to Configuration > Languages and select edit next to English
Expand String Resources and search storeclosed in the Resource Name field
Define the following language strings (HTML strings can be added to your language strings values.)
storeclosed = your header content
storeclosed.hint = your body content
2. Close Store (Single Store Configuration)
Follow these steps if you are in a single store configuration and NOT using Golf integration (most resorts are single store).
Go to Configuration > Settings > General Settings and toggle to Advanced in the upper right portion of the page if it's not already.
From here check the box next to Store closed to close your store if you are in a single store configuration
Select Save in the upper right corner.
To open your store, uncheck the box and Save.
NOTE: Admins can still access the store, to see the store closed page use an incognito window or a browser where an admin is not logged in to.
WARNING: If you log out or are logged out automatically based on your store’s logout settings, then you will not be able to get back to admin to open the store. Automtic logout can be extended by updating the setting unitysettings.customersessiontimeout to a longer time, more details can be found on that setting here: https://hub.aspenware.net/main/Store-wide-Settings-(All-settings)-Library.1057654855.html
3. Close Store (Multi-Store Configuration)
Follow these steps if you are in a multi-store configuration
Go to Configuration > Settings > General Settings and toggle to Advanced in the upper right portion of the page if it's not already.
From here select the desired store in the drop-down for multi-store configuration and wait for the page to refresh.
From here check BOTH boxes box next to Store closed to close your store if you are in a multi-store configuration.
Select Save in the upper right. If you want to open/close all stores, select ‘All stores’ in the drop-down.
To open your store, uncheck the box within the all stores view as well and click Save.