Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Memberstack
Pricing
API
Login
Build for free
Blog/How to Create a One-Time Discount Offer in Webflow

How to Create a One-Time Discount Offer in Webflow

This post will teach you how to create a one-time discount offer in Webflow, why offering a limited-time discount can boost conversions, and how to set it up using Webflow’s built-in tools and integrations.

Ovidiu·Contributor
|
November 11, 2024·2 min read

How to create a one-time discount offer in Webflow

Memberscripts needed

https://www.memberstack.com/scripts/show-element-once

Tutorial

Cloneable

Blog image

‍

Why/Use Cases

- Show modals, disclaimers, discount offers and more only on a user’s first visit to a page.

Creating a one-time discount offer on a Webflow site

Whether it’s a disclaimer, an informational pop-up, a discount offer or anything else, some things you might want to only display to users once.

This guide will help you add elements to your page that will disappear on a second visit.

To create a one-time discount offer on your Webflow site, we’re going to use MemberScript #128 – Hide Elements after They’ve Been Seen. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.

Setting it up

Begin by creating and styling the element you want to hide on future visits and add the following attribute to it:

· ms-code-show-once=”WhateverYouWant”

Finally, all you have to do is set it to display:none.

Making it work

Now that you’ve got everything set up in Webflow, all you need to do is add the MemberScript #128 custom code to your page, before the closing body tag.

Keep in mind that the code will make the element you added display as a block when it’s visible.

Conclusion

That’s everything, you can now go ahead and test the disappearing element on your live site.

If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.

Blog image

Our demo can help you add elements to your Webflow site that will disappear on a second visit.

Take me to Cloneable!‍

Written by

Ovidiu

Contributor

Contents

  • Memberscripts needed
  • Tutorial
  • Cloneable
  • Why/Use Cases
  • Creating a one-time discount offer on a Webflow site
  • Setting it up
  • Making it work
  • Conclusion
  • Take me to Cloneable!‍

Share

Explore Memberstack

  • All Features
  • Customer Showcase
  • Templates
  • Find Experts
  • Pricing
  • Help Center

Product

  • Full Feature List
  • User Accounts
  • Gated Content
  • Secure Payments
  • API & Integrations
  • Data Tables
  • Memberstack & Webflow
  • Memberstack & Claude Code
  • Memberstack & WordPress
  • Create a new account
  • 2.0 Log in
  • 1.0 Log in
  • Pricing

Learn about Memberstack

  • Showcase
  • Testimonials
  • Why Memberstack
  • Memberstack vs Outseta
  • Memberstack vs Memberspace
  • Memberstack vs Webflow Memberships

Company

  • About
  • Careers
  • Changelog
  • Partnerships(email)
  • Contact Us(email)
  • X
  • LinkedIn
  • "Do Not Sell My Data" Promise

Resources

  • Vibe Coding
  • Templates
  • Components
  • MemberScripts
  • Data Attributes
  • Find Experts
  • Hiring Guide
  • Webflow Slack Community
  • WordPress Slack Community
  • Support Forum
  • Help Center
  • Blog
  • llms.txt (for AI)
  • llms-full.txt (for AI)
AICPA
SOC

SOC 2 TYPE 1

CERTIFIED

GDPR

COMPLIANT

CCPA

COMPLIANT

Privacy PolicyTerms of ServiceCookie PolicySecurity Policy

© Memberstack Inc. 2018 - 2025. All rights reserved.

Memberstack - The no-code membership platform for any website | Product Hunt