You can add the following commands in your HAPI whether to display a number or to use for conditional purposes.
The notation is:
{@customer.totalXXX@}
It can be used in a conditional statement like:
data-pv-conditional="{@customer.totalSpend@} > 0"
You can use any of these:
{@customer.totalContestEntries@}
{@customer.totalContestPrizes@}
{@customer.totalPassesGenerated@}
{@customer.totalPassesPocket@}
{@customer.totalPassesRedeemed@}
{@customer.totalSurveysAnswered@}
{@customer.totalPaymentMethods@}
{@customer.totalMembershipCards@}
{@customer.totalMembershipCardsActive@}
{@customer.totalSubscriptions@}
{@customer.totalSubscriptionsActive@}
{@customer.totalVotes@}
{@customer.totalNotes@}
{@customer.totalMembershipActivity@}
{@customer.totalAssociations@}
{@customer.totalTransactions@}
{@customer.totalSpend@}
{@customer.totalLoyaltyActivites@}
{@customer.totalPointsEarned@}
{@customer.totalPointsAvailable@}
{@customer.totalSocialTrackingPosts@}
{@customer.totalCredits@}
{@customer.totalCreditsIssued@}
{@customer.totalNewslettersClicked@}
{@customer.totalNewslettersOpened@}
{@customer.totalNewslettersReceived@}
{@customer.totalSMSNewslettersClicked@}
{@customer.totalSMSNewslettersReceived@}
{@customer.totalApplications@}
{@customer.totalApplicationsApproved@}
{@customer.totalSMSReceivedFrom@}
{@customer.totalSMSSentTo@}
{@customer.totalEmailReceivedFrom@}
{@customer.totalEmailSentTo@}
{@customer.totalTicketsPurchased@}
{@customer.totalTicketsPurchasedUpcoming@}
{@customer.totalOrders@}
{@customer.totalAppointments@}
{@customer.totalMedia@}
{@customer.totalCampaignQueue@}
{@customer.totalKeywordHits@}
{@customer.totalReviews@}
{@customer.totalBusinesses@}
{@customer.totalAffiliates@}
{@customer.totalGiftCards@}
{@customer.totalFavorites@}
{@customer.totalFundraisers@}
{@customer.totalInvoices@}
Remember, these can be added to both content and to your layout for the ultimate in control! Enjoy.