-
Quick one, how do you Concatenate in Statamic?
How do you join a page's metadata (product_id) together with custom strings "example words to add in"? Cause ensure_left doesn't work.. and adding periods like PHP doesn't work too.. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can't combine the modifiers w/ the Break it up w/ |
Beta Was this translation helpful? Give feedback.
-
Ya I'd use a partial here: |
Beta Was this translation helpful? Give feedback.
Ya I'd use a partial here:
{{ partial:concat id="{ product_id ?? parent:id }" }}
then in there useensure_left