Shopify themes, liquid, logos, and UX
Can anyone help me that how we can add the badge of new arrivals in the products with the help of codes
Thanks for post
add this code to your product cart grid, a product grid item product item depend on your theme "new" add this tag to your prodcut
{%- assign productTags = product.tags | join: ',' -%}
{%- if product.tags contains "new" -%}
<div class="tab-new">
New
</div>
{%- endfor -%}
{%- endif -%}
when i added this code an error has been occured. and in minimal theme their is no product card.grid
can you please help me what should i do?
i have update code can you please check
Thanks
can you please clearly define that where should i have to paste the code because their is no product.card.grid file in my theme. I am adding this code in product.grid.item
can you please tell me either this code is add at the bottom or top of the product.grid.item file. I am using minimal theme
I need your store login details. Yes, I know your login details are confidential. For this second option, I have added your store to my Shopify partner account so I will check your code easily and manage what you think about it?
i mean store admin
yes please check it from your side because i have added codes so many times but the problem is still there
If you want your products to be automatically tagged with any tag defining a "new arrival" try using the New Arrivals app. It can automatically tag and untag products based on creation or publishing date. You can set up a concrete period of time the products should be considered to be "new". Although you would still need to make a front-end theme adjustment to show the badge, the app will help you avoid manually keeping track of those products i.e. it will automatically remove the tag after a specified period of time. It might be helpful to those merchants who have huge products rotation.
Hi @Wasif3 ,
Please refer the below video to achieve the same.
Hope this will help
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024