|
e0094512d851519ba30669bc360e13fd
|
Product Tagsby Addison - Member - 03:47PM, Sep 12, 2007 |
|
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? |
|
|
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…
|
|
|
you can’t do separate words, but you can use a hyphen: personal-care designer names…how about last name only?
|
|
|
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, it’s actually pretty standard not to have spaces or capital letters in tags. There are very few apps that allow either of those. ---
Jared Burns http://www.sofamade.com
|
|
|
Gotcha. So is there a way to display vendors dynamically instead? That would be easier anyway…
|
|
|
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)
|
|
|
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 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) 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.
|
|
|
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?
|
|
|
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!
|
|
|
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!
|
|
|
you can try this: html: css:
|
|
|
Thanks!
|
jena
Member
04:35AM, Sep 28, 2007