Supportlogo-header

03:47PM, Sep 12, 2007

Addison Member

Product Tags

Is there any way to add a product tag that is more than one word long?

I have tried [personal care] “personal care” personal_care ‘personal care’ (personal care)

Any suggestions?

Addison

04:35AM, Sep 28, 2007

jena Member

Arrgh! Me too!

Anybody? I figured I’d make the names of different designers as tags, so that everything by that designer displays when you click the tag. Didn’t occur to me that this wouldn’t work!

I was dumb enough to submit mockups with this feature…

Help?

I’ve tried underscores, quotes, dashes, etc…

jena

10:15AM, Sep 28, 2007

Christina Miss Manners

you can’t do separate words, but you can use a hyphen:

personal-care

designer names…how about last name only?

operation absurdist feature requests: terminated (http://en.wikipedia.org/wiki/Absurdism)

01:49PM, Sep 28, 2007

jena Member

Hmmm. I’ll ask them if they can live with that.

No capital letters either, huh? That’s kind of a bummer.

But it’s my own fault for assuming more flexibility than there really is.

jena

02:18PM, Sep 28, 2007

Jared Burns Shopify Advisor

Jena, it’s actually pretty standard not to have spaces or capital letters in tags. There are very few apps that allow either of those.

02:39PM, Sep 28, 2007

jena Member

Gotcha. So is there a way to display vendors dynamically instead? That would be easier anyway…

jena

03:47PM, Sep 28, 2007

lorem ipsum Member

Jena

If you wanted capital letters in your tags, you could alter the way they render with CSS:

text-transform: capitalize;

Which would turn

your tag list (three tags) into Your Tag List

personal-care into Personal-care (seeing the hyphenated words as one word)

04:52PM, Sep 28, 2007

Christina Miss Manners

Jena,

if you want to use vendors, these posts are useful to read: (old, but not outdated, to my knowledge.)

http://forums.shopify.com/categories/1/posts/4573
http://forums.shopify.com/categories/2/posts/6645

What I’d do for your designers is make a smart collection for each, with condition “product vendor is equal to name-of-designer”. So your collection name and your vendor name would be the same, i.e. the designer’s name.

Then you can make a linklist called “designers” and you can show each designer’s products. If you do it this way, you could also add a blurb about each designer in the “collection_description” textarea.

It’s a bit of a manual solution though. For each new designer, you have to

1) enter designer’s name as vendor (in products)
2) create smart collection (in collections)
3) add name to linklist (in navigation)

The whole operation shouldn’t take more than a minute for each though, so it’s manageable, and it allows for more flexibility than tags.

operation absurdist feature requests: terminated (http://en.wikipedia.org/wiki/Absurdism)

06:09PM, Sep 28, 2007

jena Member

Great idea!

So since I’m a liquid idiot, maybe you could help me not break my entire store.

What I’d like to do is totally replace the tags navigation with a designers navigation.

Underneath that I’ve got my regular category navigation.

This is what I’ve got:

{% if template == "collection" %} <h3>{{ 'collections.gif' | asset_url | img_tag: 'Collections' }}</h3> <div id="tags">{% if collection.tags.size == 0 %} No tags found.{% else %} <span class="tags">{% for tag in collection.tags %}{% if current_tags contains tag %} {{ tag | highlight_active_tag | link_to_remove_tag: tag }}{% else %} {{ tag | highlight_active_tag | link_to_add_tag: tag }}{% endif %}{% unless forloop.last %}, {% endunless %}{% endfor %}</span>{% endif %} </div> {% endif %}

Can I replace this entire section with this:

<div id="tags"> <h3>{{ 'collections.gif' | asset_url | img_tag: 'Navigation' }}</h3> <ul id="links"> {% for link in linklists.Designers.links %} <li><a href="{{ link.url }}">{{ link.title }}</a></li> {% endfor %} </ul> </div> {% endif %}

Or will that break my whole thing?

Do I have one too many endif?

jena

06:13PM, Sep 28, 2007

jena Member

OK, nevermind. I think I’ve got it. My bullets look a little funny since I decided to get rid of the tags <div> but I think it’s basically ok.

Thanks! You’re all so smart!

jena

07:31PM, Sep 28, 2007

jena Member

One more thing…

I’ve got like 50 designers, so my link list is very long. Does anybody know of some CSS magic to make an unordered list show up like a paragraph, rather than an actual list – I want it to look like tags – with commas between them – but not be tags. See what I mean? I’d really appreciate any help as my layout isn’t looking to happy. Thanks!

jena

08:26PM, Sep 28, 2007

Christina Miss Manners

you can try this:

html:

<ul id="links"> 
  {% for link in linklists.Designers.links %} 
     <li><a href="{{ link.url }}">{{ link.title }}</a>
      {% unless forloop.last %}, {% endunless %}
     </li>
   {% endfor %}
</ul>

css:

ul{list-style-type:none;}
li{display:inline;}

operation absurdist feature requests: terminated (http://en.wikipedia.org/wiki/Absurdism)

03:33PM, Sep 30, 2007

jena Member

Thanks!

jena

login or Sign up for an account to reply.