The above example uses the following code:
Example JSON for pricing group helptext / info text – held in pricing group order field on product
[{
“displayText”: “Players”,
“Id”: “”,
“subText”:”2-3 = £28 / 4-6 = £22″,
“helpText”:”Players can be of any age group.”
}, {
“displayText”: “Students”,
“Id”: “a0j3G000001X7p3QAC”,
“subText”:”20% off Mon-Thu”,
“helpText”:”Students get 10% off. Monday-Thursday only. Must Present valid id.”
}, {
“displayText”: “Over 60s”,
“Id”: “{ ID OF PRICING GROUP}”,
“subText”:”15% off Mon-Thu”,
“helpText”:”Over 60’s get 10% off. Monday-Thursday only. Must Present valid id.”
}]
You do not need to have three pricing groups. You can have one, two, three or more. Simply make the right amount of sections relevant to the pricing groups you have for that product.
To add the information you need to add the JSON string to the Pricing Group Order field in your Product page in Salesforce