Streaming live at 10am (PST)

Formatting text using the CMS? (Concatenation)


#1

I would like to use the CMS in order to format some of my text. For example, in a Button I have Some text in my design, it says… “CALL TO PURCHASE - ####" and I would like to plug the "####” in from the CMS.

However, in order to do this, it seems like my only option is multiple Text components and a Div block that can be used in-place for everything. So instead of using the Button, I have to construct my own type of Button.

Another use of this would to just have the dollar sign before the amount. Using the CMS number field is a nice way to enter the price, but to show the currency symbol It’s not as simple as ${{price}}.

Am I missing something here, or is this just how we have to do it?