Impulse Theme: Show shopping cart quantity and hide certain parts.

I know this problem may be a bit tricky, but I really need some help

Thank you very much

  1. About “Text columns with images” and “FAQ” section.

They are connected through metafiled and display content. I hope to hide this section when there is no image or text in metafiled.

  1. How to make the “Cart dot” in “Header” display the quantity? I hope the color of the number is white.

Please check: https://3x8deqtw3ye279qg-63493177544.shopifypreview.com

Hello @Joy8 ,

Both possible but in both you need to customize the code

  1. Write a script which will check is there content available in these section or not f not hide them else leave them as it is.

  2. Check the ajax call which work after click of atc button and display color over the cart icon. Here you will find the object break it and get the number as you need.

Regards
Guleria

Hey @Joy8 ,

Both of these requests require custom coding, and we’d love to make that happen for you!

You can send your collaborator code to hello@untechnickle.com, and we’ll send you a store access request. Once that’s done, we’ll create a copy of your theme and implement the changes there. Once you’re satisfied, you can publish the updated theme.

Best,
Shubham | Untechnickle

Hi @Joy8 ,

This is possible.

1: Can you send me its code? I will help you add conditions to it.

2: It will need to check the code in detail, can I send you a collaborator invitation? it will help me check and change this.

I hope it helps!

6385

Hi @Joy8 ,

I have sent it, after access, I will check and notify soon

Thank you very much

Hi @Joy8 ,

I changed it, please check and let me know

Which theme did you edit?
I checked, but it doesn’t seem to work.

Please tell me what you edited.
Thanks

Hi @Joy8 ,

it is the themee you shared preview link: Vinlighting of Impulse

Thank you very much for your support

Can you share this edited code with me?

Because, I may apply it to another Impulse theme.

Please tell me how to modify it.

Thanks again

Hi @Joy8 ,

Please follow these steps:

  • Step 1: Go to header-icons.liquid file and change all code.

  • Step 2: Go to theme.js file, find ‘cart-link__bubble–visible’ and add code here:

Thank you very much

1 Like

Hi @Joy8 ,

You’re welcome and happy to help you :blush: