StoreSpan
Injectables

Publish and status

Publish an injectable, pause it, check that it is showing, see how soon a change reaches your store, and go back to an earlier version.

A new injectable is a draft. Shoppers see it only after you publish it.

Publish an injectable

  1. Open Storefront › Injectables.
  2. On the row of the injectable, press Activate.

The status changes to Active. See How soon a change reaches your store.

The buttons that change the status are in the Actions column of the list. The page of an injectable has none.

What each status means

StatusWhat it meansShoppers see it
DraftSaved, not published. Every new injectable starts here.No
Preview onlyShows through a preview link only. See Preview.No
ActivePublished.Yes, when its rules and its schedule allow
ScheduledPublished, and its schedule has not started.Not yet
ExpiredPublished, and its schedule has ended.No
PausedSwitched off, and kept as it is.No
ArchivedPut away.No

You do not choose Scheduled and Expired. They come from the dates in the Schedule card.

Change the status

The status isYou can press
DraftActivate or Move to preview
Preview onlyPublish or Back to draft
ActivePause
PausedResume
ArchivedRestore to draft

Every injectable that is not archived also has Archive. Every injectable has Duplicate, which creates a copy and opens it.

Publish content that needs a second look

Some injectables can do harm if they are wrong. When you publish one, the dialog Publish an injectable that needs a second look opens.

The dialog that asks you to type PUBLISH before an injectable with a script is published

This happens for an injectable that:

  • has a script as its content, in a version of an A/B test, or in a block it uses,
  • has a Custom script condition in its rules,
  • has a warning about its delivery.
  1. Read what the dialog lists.
  2. Type PUBLISH to confirm.

When a script runs in a region that is on every page, including the checkout, the word is PUBLISH SITEWIDE.

Some problems stop the publishing. The dialog lists them, and you cannot confirm until you have fixed them.

Check that it is showing

Open the injectable. The line at the top of the Edit tab tells you where it stands:

The line saysWhat it means
ServingThe injectable is published and shows on your storefront.
Not servingThe injectable is a draft, or its rules have a mistake. The line says which.
ScheduledThe schedule has not started.
ExpiredThe schedule has ended.
Paused, Archived or Preview onlyThe status keeps it from shoppers.

Serving means that StoreSpan offers the injectable. To find out whether it appears on real pages, see Check that it shows.

Widget, server-rendered and static page delivery

With these deliveries, StoreSpan changes your store on BigCommerce. Two switches under Store › Settings › Writing to BigCommerce allow that:

SwitchWhat it allows
Storefront contentStoreSpan puts your menus, banners and kits on your storefront.
All writing to BigCommerceEvery change that StoreSpan makes on BigCommerce.

While one of them is stopped, StoreSpan does not put these injectables on your store, and does not update them. See Writing to BigCommerce.

The page of the injectable has a panel for each of these deliveries:

PanelWhat it shows
BigCommerce widget statusOne row for each place the widget is in: the template file, the region, the status, the version on your store and when StoreSpan last checked.
BigCommerce Static Page delivery statusThe status of the page, its address and when StoreSpan last updated it.

A static page has one of these statuses:

StatusWhat it means
PublishingStoreSpan is creating or updating the page.
PublishedThe page is on your store.
Publish failedBigCommerce did not accept the page.
Missing permissionStoreSpan is not allowed to change pages on your store.
Sync errorStoreSpan could not reach BigCommerce.
RemovingStoreSpan is taking the page off your store.
RemovedThe page is no longer on your store.

How soon a change reaches your store

DeliveryTime
Loader scriptUsually within half a minute.
BigCommerce widget, Server-renderedWithin about five minutes.
Static PageShortly after you save.

This holds for every change: publishing, pausing and saving new content.

With the loader script, a change can take longer in one rare case. If StoreSpan cannot refresh its stored copy of your content right after the change, the next shopper can still get the earlier version, even up to an hour later. After that, shoppers get the change.

Pausing is not instant

After you pause an injectable, shoppers can still see it for as long as the table says. A shopper who keeps a page open sees it until they load a page again.

Version history

StoreSpan keeps a version every time you save. The Version history panel on the page of the injectable lists them.

ButtonWhat it does
ViewShows the version. You cannot change it.
RestoreCreates a new version with the content of this one.

Go back to an earlier version

  1. Press Restore on the version.
  2. Read what the dialog says will happen, such as the number of the new version and its status.
  3. Confirm.

Nothing is lost. The versions in between stay in the list.

StoreSpan asks for more in two cases:

CaseWhat StoreSpan asks
The version has a script, and would be liveTick the box that says you have reviewed the code.
Your theme no longer has the region that the version usesPress Restore anyway in the dialog Region not provided by the current theme.

For an A/B test, a restore can start the test again or end it. The dialog tells you. See A/B tests.

On this page