fbpx
  1. Home
  2. Knowledge Base
  3. SmartTags™
  4. Product SmartTags™
  5. Product Data SmartTag™ (MM_Product_Data)

Product Data SmartTag™ (MM_Product_Data)

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:

ValueDescription
idOutputs the ID.
nameOutputs the name.
descriptionOutputs the product description.
billingDescriptionOutputs a detailed description of the billing associated with the product.

For example, 14 day free trial, $10.00/month$197.002 payments of $19.95$99/year, etc.
priceOutputs 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'.
hasTrialDesigned 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.
trialPriceOutputs 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'.
trialDurationOutputs the duration of the trial.
trialFrequencyOutputs the trial frequency.

Possible output values are ‘days', ‘weeks', ‘months', or ‘years'.
isSubscriptionDesigned 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.
rebillDurationOutputs the duration of the rebill cycle.
rebillFrequencyOutputs the rebill frequency of the subscription.

Possible output values are ‘days', ‘weeks', ‘months', or ‘years'.
hasShippingDesigned 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.
skuOutputs 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']
Was this article helpful?

Contents

Can’t find the answer you’re looking for?

Reach out to our Customer Success Team
Contact us!