All Collections
Calender Widget Customization
Event Calendar Widget
How to create separate page for Event Widget in your store?
How to create separate page for Event Widget in your store?
Support avatar
Written by Support
Updated over a week ago

Servv provides a storefront widget where your customers can view all the upcoming events and book them directly from the widget. This widget has filtering capabilities and can be displayed as a 'pop-up button' or could be displayed 'in-page' in the homepage.

However, you can also display the storefront widget in a separate page where the store customers can go and view the upcoming events. To add widget to the separate page you need to perform four main actions:

1. Create new template which will contain widget code.

2. Create new page and add newly created template to it.

3. Add new page to your store's navigation.

4. Show widget from the Servv's app settings.

Please follow the steps below to perform the four main actions:

Create new template

1. Login to your Shopify partners account. Select the option "Online Store" from the left navigation panel.


2. Next, click the "Actions" button from the right and select the option "Edit code" from the dropdown list.


3. The list of files will open up. Select the option "Add a new template" from the templates section.


4. Create a new template for a page with a desirable name.


5. New template will be created. Now remove the existing code from the page and insert the widget code in the template.

Code for the widget is: {% include 'servv_calendar' %}


6. After inserting the widget code to the new template, save the changes. New template with the widget will be created.


Create new page

1. Select the option "pages" from the left navigation panel and "add new page" to your store.


2. Give title to your page and add content if needed. On the right side of a window select the option "Template suffix" and you will see list of templates available for the page.

Select the template that you created with widget code. Save the changes.


Add new page to your store's navigation

1. Now add this newly created page to your store's navigation. Select the "Navigation" option from the left navigation panel and click on "Main Menu" option.


2. Now add menu item to the list.


3. Give name to the menu item and select the link. For link, select the option "Pages" from the list and then select the newly created page. Click on "Add" button and the "Save" the option. New page will be added to your store.


Show widget from the Servv's app settings

1. Now go to "Apps" and select the Servv app from the list. In the app, go to Settings page > Widget > General >Event Widget. Turn on the option "Activate widget" and then select the "In-Page view" option. Select the other desirable options and "Save" the changes.


2. Go to your Online Store. There you will see new page has been added to your store's navigation. Once you go to the newly added page, you will see the widget showing up in the page.

Other articles to refer to for widget setup:

Did this answer your question?