Available in MemberMouse 2.2.4+

This tag outputs data associated with the product ID passed.


Attributes


id - The ID associated with the product to retrieve data for.


name - Indicates what type of data to output for the product. Below is a list of acceptable values:


Value Description
id Outputs the ID.
name Outputs the name.
description Outputs the product description.
billingDescription Outputs a detailed description of the billing associated with the product. For example, 14 day free trial, $10.00/month, $197.00, 2 payments of $19.95, $99/year, etc.
price Outputs the product price.

doFormat (optional) - By default, the price will be formatted. If you want the number to be returned unformatted set this attribute to false.

hasTrial Designed to be used via the PHP interface this will return a Boolean value true or false depending on if the product has a trial or not.
trialPrice Outputs the product trial price.

doFormat (optional) - By default, the price will be formatted. If you want the number to be returned unformatted set this attribute to false.

trialDuration Outputs the duration of the trial.
trialFrequency Outputs the trial frequency. Possible output values are days, weeks, months, or years.
isSubscription Designed to be used via the PHP interface this will return a Boolean value true or false depending on if the product is recurring or not.
rebillDuration Outputs the duration of the rebill cycle.
rebillFrequency Outputs the rebill frequency of the subscription. Possible output values are days, weeks, months, or years.
hasShipping Designed to be used via the PHP interface this will return a Boolean value true or false depending on if the product requires shipping or not.
sku Outputs the product SKU.


Usage



Name: [MM_Product_Data id='14' name='name']

Description: [MM_Product_Data id='14' name='description']

Billing Description: [MM_Product_Data id='14' name='billingDescription']

Unformatted Price: [MM_Product_Data id='14' name='price' doFormat='false']