How to remove "_atclid" code from mini cart

stbozk
Tourist
23 0 2

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 == '_' %}

Screen Shot 2021-09-26 at 8.44.33 am.png 

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

Replies 33 (33)
KetanKumar
Shopify Partner
32501 3268 10837

@stbozk 

sorry but i can't se any issue

KetanKumar_0-1632633785756.png

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Aemkay
Tourist
4 0 3

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

KetanKumar
Shopify Partner
32501 3268 10837

@Aemkay 

can you please share store url so i will check and let you know

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Aemkay
Tourist
4 0 3

@KetanKumar 

this is the url:

thingo24-e3.myshopify.com 
thingo24.de
 
 
Thx.
KetanKumar
Shopify Partner
32501 3268 10837

@Aemkay 

thanks for it 

but how can i check which product add to cart?

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Aemkay
Tourist
4 0 3

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.

Bildschirmfoto 2021-11-13 um 10.55.51.png

KetanKumar
Shopify Partner
32501 3268 10837

@Aemkay 

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;}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Aemkay
Tourist
4 0 3

Thank you so much! Its gone! 

 

KetanKumar
Shopify Partner
32501 3268 10837

@Aemkay 

its my pleasure to help us 

can you accept this solution so someone else use this code 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Melli
Excursionist
14 0 7

Hey what if i don't have that Asset in my store theme??

 

Melli
Excursionist
14 0 7

And it only shows it in my MiniCart Sections

 

 

KetanKumar
Shopify Partner
32501 3268 10837

@Melli 

can you please send store url

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Melli
Excursionist
14 0 7

yes i can.  loveyoursjewelry.com.        it happens only in the minicart i think

KetanKumar
Shopify Partner
32501 3268 10837

@Melli 

please share code

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Melli
Excursionist
14 0 7
Melli
Excursionist
14 0 7

its all of it. the "_atclid:"  and the part under it too. all of the random letters and numbers

KetanKumar
Shopify Partner
32501 3268 10837

@Melli 

yes, i need this part code 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Melli
Excursionist
14 0 7

It looks like the last 6 numbers change each time a product gets added to minicart.

 

Here is one set of code:

_atclid: xUtWF4Fs00XEbWsDhHDq02sKIoi8BUPj4d

Melli
Excursionist
14 0 7

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