Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have added a personalization text box by using coding on a product, but the box is showing up on all products. How do I make this for just 1 product?
You can check for specific collection, type or category and then show text box only for those products.
Hey there @Melmiz843 👋 This is Alexis from Akohub's Marketing team!
To make your personalization text box appear on only one specific product in Shopify, you’ll need to adjust the code to target that product specifically. Here’s a quick guide:
Identify the Product ID:
Edit the Code:
Wrap the Code in a Conditional Statement:
Here’s an example of how your code might look:
{% if product.id == 1234567890 %}
<!-- Your personalization text box code goes here -->
<input type="text" name="custom-text" placeholder="Enter your personalization">
{% endif %}
Replace 1234567890 with your actual Product ID.
This way, the text box will only appear on the product with the specified Product ID. Let me know if you need more help! 😊
You can use the Easify Product Options app (free plan available) to create a text field and assign it to specific products. This setup requires no coding and can be completed in just a few minutes 🤗.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025