Download Sample Code 

With the MM_Order_Decision SmartTag you can show or hide content on your checkout form based on a number of parameters. You can display different messaging based on if the visitor is a member or not, if they're signing up for a free membership, if they're purchasing a particular product and if the product they're purchasing requires shipping. This allows you to have a single checkout form that can intelligently modify itself based on different scenarios.


One of the most powerful ways the MM_Order_Decision SmartTag can be utilized is in creating a checkout form that upsells customers in a targeted way based on what they're purchasing. This is the scenario we'll demonstrate in this example.


  1. First we'll add a decision block that will only show up if a customer is signing up for a free membership. To do this you'll just add the following:


    [MM_Order_Decision isFree="true"]
    <!-- place marketing copy here -->
    [/MM_Order_Decision]

    In this example, the isFree attribute is set to true indicating that the content contained in the decision block should only be displayed when the customer is signing up for a free membership.

  2. Assume that your basic paid membership is associated with product ID 2 in MemberMouse. What you could do inside the decision block is something like this:


    We notice you're signing up for the free membership. 
    Here's why you should consider signing up for a paid membership.
    <a href="[MM_Purchase_Link productId='2']">Yes, sign me up for a paid membership</a>

    Now when a customer signs up for a free membership you'll have an opportunity to promote your paid membership and make them a special offer. When they click the purchase link the page will change to reflect them purchasing the basic paid membership.

  3. When a customer is purchasing a basic paid membership you could display some marketing copy that attempts to get them to upgrade to the premium membership. To do this you'll just add the following:


    [MM_Order_Decision productId="2"]
    <!-- place marketing copy here -->
    [/MM_Order_Decision]

    Following from the previous step, assume that your MemberMouse site is configured such that product ID 2 is associated with your basic paid membership. In this example, the productId attribute is set to 2 indicating that the decision content should only be displayed when the customer is purchasing the product with ID 2.

  4. Now assume that your premium paid membership is associated with product ID 4 in MemberMouse. What you could do inside the decision block is something like this:


    We notice you're signing up for the basic membership. 
    Here's why you should consider signing up for our premium membership.
    <a href="[MM_Purchase_Link productId='4']">Yes, I want to upgrade</a>

    Now when a customer signs up for a basic paid membership you'll have an opportunity to promote your premium membership and make a special offer. When they click the purchase link the page will change to reflect them purchasing the premium paid membership.


This example demonstrates a specific scenario in which you could use the MM_Order_Decision SmartTag. There are a number of other powerful uses of the MM_Order_Decision SmartTag and a number of other attributes you can utilize to dynamically display messaging. See the MM_Order_Decision SmartTag documentation for more information.

What this specific scenario will output when the customer is signing up for a free membership:


Note: This message will change according to the specific scenario that has been triggered using the MM SmartTags 


Checkout Page Examples Overview