> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ecomwize.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Unpublishing Pages

> Learn how to unpublish a page from Shopify and what happens to the published assets.

Unpublishing removes your page from Shopify and reverts it to draft status in EcomWize. This is useful when you want to take a page offline temporarily, archive a campaign page, or clean up published pages you no longer need.

## How to Unpublish

<Steps>
  <Step title="Open the Publish modal">
    In the builder, click the **Publish** button in the top toolbar. For a published page, the modal will show the current published status and a link to the live page.
  </Step>

  <Step title="Click Unpublish">
    Click the **Unpublish** button in the Publish modal. You will be asked to confirm the action.
  </Step>

  <Step title="Confirm">
    Confirm that you want to unpublish the page. The unpublish process will begin.
  </Step>

  <Step title="Done">
    Once complete, the page status changes back to "draft" and the Shopify assets are removed.
  </Step>
</Steps>

## What Happens When You Unpublish

When you unpublish a page, the following changes occur:

### On Shopify

* **Page template:** The Shopify page and its associated sections are deleted from the theme
* **Product template:** The custom product template is removed, and the product reverts to the default theme template
* **Homepage:** If the page was published as the homepage, the original homepage is restored from backup

### In EcomWize

* The page status changes from **"published"** to **"draft"**
* The publish timestamp is removed

<Note>
  Your page content in EcomWize is not affected by unpublishing. All sections, configurations, and brand styles remain intact. Only the Shopify-side assets are removed.
</Note>

## Re-Publishing After Unpublishing

You can re-publish a previously unpublished page at any time. Re-publishing after unpublishing creates a fresh publish rather than updating existing assets.

<Steps>
  <Step title="Make any updates">
    Optionally, make changes to your page in the builder before re-publishing.
  </Step>

  <Step title="Open the Publish modal">
    Click the **Publish** button. The modal will show "Publish" (not "Update") since the page is now in draft status.
  </Step>

  <Step title="Select your store">
    Choose the Shopify store to publish to. You can publish to the same store as before or a different one.
  </Step>

  <Step title="Publish">
    Click **Publish** to create new Shopify assets and make the page live again.
  </Step>
</Steps>

<Tip>
  Re-publishing after unpublishing is a clean publish -- it creates entirely new Shopify assets. This can be useful if you experienced issues with a previous publish and want a fresh start.
</Tip>

## Important Considerations

<Warning>
  Unpublishing is immediate. Once confirmed, the page is taken offline on Shopify right away. Visitors to the old URL will see a 404 error or be redirected depending on your Shopify theme's error handling.
</Warning>

<AccordionGroup>
  <Accordion title="Does unpublishing affect my published page count?">
    Yes. Unpublishing a page reduces your published page count by one, freeing up a slot within your plan's limit. If you are on the Starter plan with 10 published pages, unpublishing one gives you room to publish another.
  </Accordion>

  <Accordion title="Can I unpublish and keep the Shopify page?">
    No. Unpublishing removes the Shopify page and theme sections. If you want to keep the page live on Shopify but stop managing it through EcomWize, simply leave it published and do not make further changes.
  </Accordion>

  <Accordion title="What if the Shopify unpublish fails?">
    If EcomWize cannot remove the page from Shopify (e.g., due to a network error), you may need to manually remove it from Shopify's theme editor.
  </Accordion>

  <Accordion title="Can I unpublish from a different store than where it was published?">
    No. The unpublish operation targets the store where the page was originally published.
  </Accordion>
</AccordionGroup>
