# Overview of open page options

This method allows you to open a specific page on the storefront. The function accepts page slugs and additional parameters in its arguments.

For example, you can use these redirects in different promo activities:

* Create a popup with a sale product and redirect customers to this product on click.
* Offer customers to log in to receive some bonus.
* Redirect customers to the search page with pre-configured terms showing promo products.

Code examples:

{% tabs %}
{% tab title="Redirect customers to the cart page" %}
Create a custom cart icon and assign redirect to the cart page with a single line of code executed on the click:

```javascript
Ecwid.openPage('cart')
```

{% endtab %}

{% tab title="Open search page with shoes of one brand" %}
Promote a specific product type and brand with a pre-configured search:

```javascript
Ecwid.openPage(
    'search', 
    {
        'keyword': 'shoes', 
        'attribute_Brand': 'Nike',
        'inventory': 'instock'
    }
);
```

{% endtab %}
{% endtabs %}

### Full list of available pages

* `'product'` - Product page. Additional params allow you to pre-select options or even variations.&#x20;
* `'category'` - Page of a specific category.
* `'search'` - Search products page. Additional params allow you to make preconfigured search links.
* `'cart'` - Checkout step 1. Customers enter their email and apply discount coupons.
* `'checkout/address'` - Checkout step 2. Customers enter their address.
* `'checkout/shipping'` - Checkout step 3. Customers choose shipping/pickup method.
* `'checkout/payment'` - Checkout step 4. Customers choose a payment method and go to the payment page.
* `'checkout/order-confirmation'`- "Thank you for purchase" page customers see after placing an order.
* `'account'` - Customer's account page.
* `'account/address-book'` - Customer's account page (saved shipping addresses).
* `'account/favorites'` - Customer's account page (products added to favorites).
* `'account/subscription'` - Customer subscriptions' page (active and ended subscription products purchased by the customer).
* `'pages/about'` - Legal page (about the store).
* `'pages/shipping-payment'` - Legal page (shipping/payment policies).
* `'pages/returns'` - Legal page (return policy).
* `'pages/terms'` - Legal page (Terms of use).
* `'pages/privacy-policy'` - Legal page (Cookie/Privacy policies).

Learn more about pages that can be opened with additional params:

{% content-ref url="/pages/TLzlFzCdPMFvT6KZSQDe" %}
[Open product pages with params](/storefronts/open-page-on-the-storefront/open-product-pages-with-params.md)
{% endcontent-ref %}

{% content-ref url="/pages/uqQnIrfkFat62yjpIEJ3" %}
[Open category pages with params](/storefronts/open-page-on-the-storefront/open-category-pages-with-params.md)
{% endcontent-ref %}

{% content-ref url="/pages/3d7VAq9OIChOyoj19RUi" %}
[Open search page with params](/storefronts/open-page-on-the-storefront/open-search-page-with-params.md)
{% endcontent-ref %}

{% content-ref url="/pages/sRpBlZ4uUsVYwlhs5PSR" %}
[Open account pages with params](/storefronts/open-page-on-the-storefront/open-account-pages-with-params.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecwid.com/storefronts/open-page-on-the-storefront/overview-of-open-page-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
