Shopify themes, liquid, logos, and UX
I need to incorporate two metafields into the product page layout:
ISBN-Number Metafield: This metafield will remain constant for all product variations and should be displayed using the following liquid code: { product.metafields.Neato.ISBN13 }.
Book-Condition Metafield: Unlike the ISBN, this metafield will vary across different variations of the product. It should be displayed using the liquid code: { product.metafields.Neato.Condition }.
Additionally, we require a feature that enables users to switch between different conditions or redirect to other pages based on the variations of the product. These conditions include "New," "Like New," "Very Good," "Good," and "Acceptable."
We aim to generate URLs based on the ISBN and condition metafields.
This functionality is crucial for enhancing the user experience and ensuring seamless navigation across product variations.
Your expertise would be greatly appreciated in implementing these requirements.
Hi @Jackson-pollock ,
If you want the metafield "Book-Condition Metafield" to change as per variant, you should create a meta field on the variant.
And the requirement is to create "New", "Like New", "Very Good" button which on clicked, the respective product will be loaded?
Hi @Amandalman,
This is Theodore from PageFly - Shopify Page Builder App.
Here's how to achieve your goals:
1. Displaying Metafields:
2. Switching Between Variations:
<a href="{{ product.url | append: '?variant={{ variant.id }}' }}">{{ variant.option1 }}</a>
3. Generating URLs with Metafields:
Complexity Breakdown:
Remember to test your implementation thoroughly.
Best regards,
Theodore | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025