So I'm guessing the address stopped at kucinski <@...
# general
k
So I'm guessing the address stopped at kucinski @Johan Torres
👍 1
j
That's definitely what is happening. We outsourced this template. I'm not sure the logic behind the keep before "("
k
Try
Copy code
<#assign myShipAddress = record.shipaddress?keep_before("United States") >
The second one is just a lazy answer for not updating your address forms.
Not sure why they went with that approach
m
It would be a good idea to change
keep_before
to
keep_before_last
. Otherwise you could have issues if the company has "United States" in the name.
✔️ 2
k
Frankly I'd fix this by changing my address forms for the united states to not print country.
but if you are going for the quick fix - that would be the place to go.
m
💯
j
I'll be modifying the United States to keep_before_last, thanks michoel!