Shopify themes, liquid, logos, and UX
Hi everyone,
I recently installed a third party tracking app. As a result, every time someone adds an item to cart, the minicart pops up with a long "_atclid: xxx..." code below the product name (see image below). I've managed to fix this on the cart page by adding the following code in cart-template:
{% assign first_character_in_key = p.first | truncate: 1, '' %}
{% unless p.last == blank or first_character_in_key == '_' %}
However, I need this to work for the minicart, but I have no idea where to place the code.
You can see this error by adding an item to cart on my product page: www.truepawpal.com/try
Any help or guidance on how to hide this code from the mini cart will be hugely appreciated 🙂
Thanks everyone!
Stefan
sorry but i can't se any issue
Hey,
I have the same Problem. I also integrate a third-party App for tracking.
Please, can you explain where I have to copy the code? must I copy it in the top of the header section in my shopify theme code?
Thanks and Greatings,
MK
can you please share store url so i will check and let you know
thanks for it
but how can i check which product add to cart?
It is shown on every product in my store. If you put a product in to the shopping cart.
it is always displayed. You have to check it in the cart view.
yes please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.product-details__item--variant-option:not(.hide)+.product-details__item--property {display: none;}
Thank you so much! Its gone!
its my pleasure to help us
can you accept this solution so someone else use this code
Hey what if i don't have that Asset in my store theme??
And it only shows it in my MiniCart Sections
can you please send store url
yes i can. loveyoursjewelry.com. it happens only in the minicart i think
please share code
its all of it. the "_atclid:" and the part under it too. all of the random letters and numbers
yes, i need this part code
It looks like the last 6 numbers change each time a product gets added to minicart.
Here is one set of code:
_atclid: xUtWF4Fs00XEbWsDhHDq02sKIoi8BUPj4d
I also made it possible for you to copy and paste the code now. Before i had a AntiTheft app on that didnt let you
i need mini cart code
what do you mean??? I sent the code that was popping up where it shouldn't
please confirm this look so i will give you code
yesss it looks good!
great Thanks for confirm, yes please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/styles.scss.liquid->paste below code at the bottom of the file.
.top_bar .mini-cart__item__title a .line-item {
display: none;
}
it is still showing it :c it didn't work
oh sorry but i can see its working find
did you try adding another product? its still showing for me idk why
yes i have also try do you have issue please share product url
hey im still having the same issues. Add any item to cart you will still see it in the MINI Cart section. which is where i want the code gone. www.LoveYoursJewelry.com
can you try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/styles.scss->paste below code at the bottom of the file.
.mini-cart__item__title .item_title + .line-item {
display: none;
}
It seems to have worked for Most of my products!!! Only the ones where a customer needs to add customization such as upload a photo or add something a name using two 3rd party apps I downloaded seem to still be affected.
an Example is the Custom Name Necklace
can you show me this images?
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024