Hiding Today`s Offers on Select Pages

To hide Today`s Offers on select pages, you need to add "todaysoffers-skippage" class value to the body tag in your code.

There is a single layout file for the website and dynamic values can be added for pages using the platform's template language. For example, in Shopify, this language is called "liquid".

Use the template language to check for the page in the body tag:

<body class="{% if page.handle == 'page-handle-value' %}todaysoffers-skippage{% endif %} template-page">

Replace the 'page-handle-value' with the page handle value of the page you want to disable Today`s Offers.

There will be a separate layout file for each of your pages. You will need to add the class value below to all related body tags.

<body class="todaysoffers-skippage">

Once class values are added, make sure the "Hide App on Select Pages" feature is enabled.

After you add the necessary codes, do not forget the enable "Hide App on Select Pages" feature in your Today`s Offers dashboard.

Image

Was this article helpfull ?

Live Chat

Chat with support

Support Ticket

Submit a ticket