Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

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

  1. Go to Nop Templates > Plugins > HTML Widgets > Manage HTML Widgets From here search for the widget called "Store Closed CSS"

  2. If you don't have it, add it using the steps below. If you have it, proceed to the next section. 

    1. Select Add New HTML Widget in the upper right 

    2. Name it ‘Store Closed CSS’

    3. Select Tools> Source Code 

    4. Paste the following HTML in the Source Code and click Ok

      Code Block
      <style><!-- <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: 0px0 !important;
          z-index: 10000 !important;
          width: 90vw;
          text-align: center;
          height: 300px;
          display: flex;
       }   .html-store-closed-page primary-header, .html-store-closed-page primary-footer { opacity: 0.5; } --><flex-direction: column;
          flex-wrap: nowrap;
          justify-content: center;
          align-content: stretch;
          align-items: center;
          margin-bottom: 300px !important;
      }
      </style>
  3. Click Save,

  4. Navigate to widget zones and add the widget zone body_start_html_tag_after 

...

To define your store closed content. You can set the header and a body copy using Language strings. 

  1. Go to Configuration > Languages and select edit next to English

  2. Expand String Resources and search storeclosed in the Resource Name field

  3. Define the following language strings (HTML strings can be added to your language strings values.)

    1. storeclosed = your header content

    2. storeclosed.hint = your body content

...

Follow these steps if you are in a single store configuration and NOT using Golf integration (most resorts are single store). 

  1. Go to Configuration > Settings > General Settings and toggle to Advanced in the upper right portion of the page if it's not already. 

  2. From here check the box next to Store closed to close your store if you are in a single store configuration

  3. Select Save in the upper right corner.

  4. To open your store, uncheck the box and Save.

Info

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.

Note

WARNINGIMPORTANT: 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. Automatic 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 

  1. Go to Configuration > Settings > General Settings and toggle to Advanced in the upper right portion of the page if it's not already. 

  2. From here select the desired store in the drop-down for multi-store configuration and wait for the page to refresh. 

  3. From here check BOTH boxes box next to Store closed to close your store if you are in a multi-store configuration.

  4. Select Save in the upper right. If you want to open/close all stores, select ‘All stores’ in the drop-down. 

  5. To open your store, uncheck the box within the all stores view as well and click Save.