Shopify themes, liquid, logos, and UX
Hi there,
I hope someone can help me out! My print-on-demand provider is Gelato, and I create customizable artworks where I allow my customers to upload their own image to create a personalized product for them.
My concern is that I don't want customers to unintentionally order my example products by confirming the "Add to Cart" button before personalization. I could remove the dynamic checkout button or delete the "Buy Button" section in the theme, but unfortunately, that would also make the Personalized Button disappear. Additionally, I need the Add to Cart button for products that will not be customizable, so I cannot remove the entire button.
Is there a solution for this?
Hello you can use tags for that.
You can add a specific tag in product which you don't want to show add to cart and add a condition in product.liquid file for that
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Hi Kaiyaa,
Thank you for your response, although your answer is a little too vague for me. Since I'm new to Shopify and not a coder, I still don't understand where to add any specific tag to the product description as you are suggesting in order to disable the 'add to cart' button. Additionally, I'm unsure of how and where to add a condition in the product.liquid file as you've suggested. Could you please be a little more specific?
Yes sure @Cecile_M
you can open product and in product on right hand side you have a option for adding tags you can add a specific tag here "hide-add-to-cart"
after that you need to find the code where add to cart is added now you need to add a condition in code
{% unless product.tags contains 'hide-add-to-cart' %}
{% endunless %}
and save it.
If you need more help let me know i can help you to write code in your theme.
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
I am going to continue working on it today! Will let you know if it worked!
Yeah, Sure
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024