Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
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;}
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
User | RANK |
---|---|
205 | |
106 | |
88 | |
56 | |
45 |