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
36839 3635 11972

@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
36839 3635 11972

@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
36839 3635 11972

@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
36839 3635 11972

@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
36839 3635 11972

@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
15 0 7

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

 

Melli
Excursionist
15 0 7

And it only shows it in my MiniCart Sections

 

 

KetanKumar
Shopify Partner
36839 3635 11972

@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
15 0 7

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

KetanKumar
Shopify Partner
36839 3635 11972

@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
15 0 7

Screen Shot 2022-04-21 at 1.17.47 AM.png

 

Melli
Excursionist
15 0 7

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

KetanKumar
Shopify Partner
36839 3635 11972

@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
15 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
15 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

KetanKumar
Shopify Partner
36839 3635 11972

@Melli 

i need mini cart 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
15 0 7

what do you mean???  I sent the code that was popping up where it shouldn't

KetanKumar
Shopify Partner
36839 3635 11972

@Melli 

please confirm this look so i will give you code

KetanKumar_0-1650605890044.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
Melli
Excursionist
15 0 7

yesss it looks good!

 

KetanKumar
Shopify Partner
36839 3635 11972

@Melli 

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

 

 

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
15 0 7

it is still showing it :c it didn't work

KetanKumar
Shopify Partner
36839 3635 11972

@Melli 

oh sorry but i can see its working find 

KetanKumar_0-1650611703123.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
Melli
Excursionist
15 0 7

did you try adding another product? its still showing for me idk why

KetanKumar
Shopify Partner
36839 3635 11972

@Melli 

yes i have also try do you have issue please share product 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
15 0 7

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 

KetanKumar
Shopify Partner
36839 3635 11972

@Melli 

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

 

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
15 0 7

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.

Melli
Excursionist
15 0 7

an Example is the Custom Name Necklace

KetanKumar
Shopify Partner
36839 3635 11972

can you show me this images?

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