Metafield for vendor on each product with old Minimal theme

Solved

Metafield for vendor on each product with old Minimal theme

simonski
Shopify Partner
152 11 57

Hey folks,

I'm using an outdated Minimal theme, so no 2.0 and dynamic metafields as I understood. Still hope someone can help me.

I want to create a text field, which should show up on each product page with the same vendor.

For example, I want to create a vendor description. I have 500 products of this vendor. Now I found a typing error in this description. I want to change one text, not enter each product and correct 500 times.

Any ideas?

Accepted Solution (1)

PaulNewton
Shopify Partner
7536 666 1592

This is an accepted solution.

@simonski you can still use a metafield for that it just requires an advanced theme customization to intert it in the code where you want it and style it.

And or make it dynamic if variants have a different vendor/message for some reason.

It could also be done as a liquid snippet, or pull the rich text content from a page  for that vendor name etc.


If you need this customization then contact me for services paull.newton+shopifyforums@gmail.com.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


View solution in original post

Replies 2 (2)

PaulNewton
Shopify Partner
7536 666 1592

This is an accepted solution.

@simonski you can still use a metafield for that it just requires an advanced theme customization to intert it in the code where you want it and style it.

And or make it dynamic if variants have a different vendor/message for some reason.

It could also be done as a liquid snippet, or pull the rich text content from a page  for that vendor name etc.


If you need this customization then contact me for services paull.newton+shopifyforums@gmail.com.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


simonski
Shopify Partner
152 11 57

Thank you @PaulNewton for bringing up some ideas! I'm ok with coding and implementation, just needed some ideas 🙂

I added one liquid snippet for each vendor, and made an if case in the product-template:

{% if product.vendor contains "vendorA" %}
{% render 'vendor-description-vendorA' %}
{% elsif product.vendor contains "vendorB" %}

{% endif %}