Shopify themes, liquid, logos, and UX
Hello i want to add 1,000 in tag but when i am doing it it uses , to seperate them how can i disaply it.
It does this
I have to see it.send preview link
hariomvish267@gmail.com
I just want to display 1,000
As you see in the screenshot above when i use comma it seperates the tag
Can you tell what page it is on?
I just ran into this while creating tags with the Shopify GraphQL api. Per the tagsAdd api documentation:
A list of tags to add to the resource. Can be an array of strings or a single string composed of a comma-separated list of values. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".
So embedded commas cause the input string to be broken up into separate tags. When you enter tags through the Admin products page, perhaps it's using the same api under the covers.
In any case, I also need to create tags with embedded commas. Is there a a good work around for this when doing so via the tagsAdd api?
I figured out a work around myself.
For now, I'm going to replace commas programatically with a suitable unicode character.
myTagsString.replace(/,/g, '\u201a');
\u201a is the "low single comma quotation mark", which looks just like a comma.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025