Sales Notifications (FOMO) Add On

This plugin shows one of your most recent sales, choosing randomly from the last 10 sales.

Upload the plugin zip file under Plugins => Add New, and activate.

First create a new Holler Box. The content doesn't really matter since it will be replaced by the sale information, but you can put a default such as "Scott bought the Pro version." This will only appear if there are no sales to display.

Next, choose the FOMO type. 

Choose your integration, such as WooCommerce, Easy Digital Downloads, GiveWP, MemberPress, or Paid Memberships Pro. You must have the plugin active to see the setting.

Choose whether to display the customer gravatar, or product featured image.

Next, choose when/where the popup should display.

Recommended settings: 

  • "When should we show it?" - a delay of 3-5 seconds
  • "After it displays, when should it disappear?" - 7 - 10 seconds (so your visitor has just enough time to see social proof that other people are buying your products)
  • "How often should we show it to each visitor?" - Show then hide for 1 day (so it only shows once per day for each visitor)

Customization

To customize the box, you can use the built in color pickers.

If you'd like to go further, here are some available CSS classes:

.holler-box.fomo // wrapper
.holler-box.fomo .holler-inside // inside wrapper
.fomo-text // text wrapper
.fomo-name // customer name
.fomo-product-title // product title

Example usage in custom CSS:

.holler-box.fomo { border-left: 3px solid green; border-radius: 0; }

Filters

You can also use a filter if you'd like to change what is displayed in the box.

apply_filters( 'hwp_fomo_content', $content, $product_id, $box_id );

Example usage:

add_filter( 'hwp_fomo_content', function( $content, $product_id, $box_id ) {

 if( $box_id != 123 )
  return $content;

 return 'Here is my custom content';
}

Other filters:

apply_filters( 'pmprohwp_member_avatar', $avatar, $last_pmpro_order[0]->user_id );