Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I have a Flow that pulls orders' data to a Google Sheet.
When a customer uses a comma in their name or their street address, the Flow app considers it a separator and puts it in the next column on the sheet.
Example:
Instead of putting Address 1 in one column and leaving the next column blank (because Address 2 is blank), the Flow app puts "5 Patrick Road" in the first column, and "Blackpool" in the column next to it; then leaves the third column blank.
Solved! Go to the solution
This is an accepted solution.
Don't replace any variables but put that replace filter part on those variables. something like:
{{ order.customer.displayName | replace: ",", " " }}
Technically Flow doesn't do that. Flow just renders the comma provided in the data. Sheets treats any comma as a separator.
If the data potentially has a comma, you can find and replace it using liquid, like:
{{ order.note | replace: ",", " " }}
Thanks Paul,
Where to put code exactly?
And the commas are generally in the customer's name and address. What should I put instead of "order.note"?
This is an accepted solution.
Don't replace any variables but put that replace filter part on those variables. something like:
{{ order.customer.displayName | replace: ",", " " }}
Solved. Thanks a lot!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024