CM Invitation Code Content Access - Use Case - How to Sell an Invitation Code for Accessing a Specific Content On Your Site


Use Case – How to sell an invitation code for accessing a specific content on your site

Back to User Guides

Note: This guide requires:

Video Use-Case


Introduction

The  Invitation Code Content Access plugin allows you to create and sell a series of personalized temporary access codes. Each code grants limited access to a selected page only.  When creating codes, you assign them to a URL or a file. It will automatically be locked and, when accessing it, visitors will be prompted to input the code.

Use Case Front-End

Use Case Assumptions

In this example we will consider how to set the price for invitation codes and sell them for accessing a specific content on your site. We consider that you have already bought the Invitation Code Content Access, but not installed it. 

It follows:


Installing The plugin

The process is the same for all CM plugins and add-ons.

  • Download the plugin from your customer dashboard
  • Log in to WordPress and navigate to the WordPress Admin  → Plugins settings
  • Click on Add New
  • Activate it and add the license

Learn more: Getting Started - Plugin Overview


Installing Payment Plugin (WooCommerce)

CM Invitation Code Content Access requires WooCommerce for work.

How It Works

  •          Payment requires WooCommerce. EDD is not compatible.
  •          Add a price to an individual code
  •          Add a payment box anywhere on your site so users can pay (done via shortcode)
  •          After payment, users receive the code by email

Head to Admin Dashboard → Plugins → Installed Plugins and click Add New

Search for WooCommerce and install it and activate it.

Configure Payment Plugins

Don't forget to configure the payment plugin! This way you can connect it to payment providers such as PayPal or credit card companies.

Important

Be sure that your payment plugin has the correct Checkout and Cart pages set up. They are used by the plugin.

External Resources

Initial Setup

Before starting, CM Invitation Code Content Access plugin has to be properly set up.

If you still haven't configured:

  • General settings for codes.
  • Notifications - email notifications for admins and users.
  • Labels - configure/translate messages that the user will see in front-end.

Also, we consider that you've already have existing posts that you need to restrict with the codes. If not, learn more How to restrict two separate pages on your site with a different invitation code for each of them.


Setting the Price

First thing you need to do, to sell the invitation code is to set the price for invitation code. Make sure, that you enabled payment feature in setting. For that you need to navigate to Invitation Code Content Access  Settings  General tab.

Find  Enable Payment feature and choose Yes.

When the option is enabled, the Payment section appears in Add Invitation Code. There are two options, how you can set the price - with automatic creation of the WooCommerce product for invitation code or in a manual way. You need to choose it in Invitation Code Content Access → Settings → General tab.

We will consider both options. Let's start with the first one.

Auto creation of the WooCommerce products for invitation codes with price

Create the invitation code or edit the existing one and go to Payment section. 

When you set the price while creating the invitation code a new associated to the code WooCommerce product appears in the list.

Once you publish this code, you can find a special shortcode for this invitation code under the price:

You use this shortcode to show the payment in the Front-end. The shortcode is [cmicca_paybox id=""], including the code invitation code id.

Tip: how to find code ID

You can find id for every invitation code in the list.

This is how the result looks like in front-end.

Use Case Front-End

That is how you can set the price for the invitation code and sell it. Let's consider another option, with a manual way of creating the products.

Manual creation of the WooCommerce products for invitation codes with price

First you need go to Invitation Code Content Access → Settings → General tab and disable Auto create/update WooCommerce products for invitation codes with price.

Next, to set the price for the invitation code you need to manually create the WooCommerce product.

Then you need to get the WooCommerce product's ID. You can find it in WooCommerce → Products → All Products, by hovering to the product - the ID of it would appear under the title:

Now you can start creating or editing the invitation code. Navigate to Add Invitation Code. Put WooCommerce product's ID to the relevant field in Payment section. And again, once you published it you can find a special shortcode for this invitation code under the price. 

Also, can enable Show Quantity input feature that allows customer to enter the number of invitation codes to order.

Let's see the result after using the shortcode for showing the payment in the Front-end.

Use Case Front-End


More information about the CM Invitation Code Content Access WordPress Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us