Re: Getting NaN/-Infinity in Products Page After Import

Solved

Getting NaN/-Infinity in Products Page After Import

tarekyoussef
New Member
6 0 0

Hi,

 

I hope someone can help! I am not an expert in coding. I was importing one product, and after that, I started seeing Nan/-Infinity on every product page that has multiple images.

 

Store name: http://sensaim.com

 

I would appreciate any help!

 

Thanks

Tarek

Accepted Solution (1)

Natasha-Saed
Shopify Partner
421 46 77

This is an accepted solution.

Hi,

 

What are you seeing is the slider buttons, something is wrong with the code that is why they are displayed like this.

 

You can hide this at all by following these steps:

1) Go to online stores

2) Edit Code

3) Open your base.css file

4) Paste the following  Code at the bottom of your file

#shopify-section-template--21990297403696__main .slider-buttons {display: none !important;}

5) Save

 

Let me know if it worked by accepting this as a solution.   If not let me know if you like to give me collaborator access to check the issue for you.

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint

View solution in original post

Replies 10 (10)

EwaFromEcomNoon
Shopify Partner
18 1 1

Hello 👋
This isn't likely anything to do with your import. You might have noticed it at the same time. The text you are seeing comes from the image gallery slider. Have you changed any code on the product page?

Need professional help? Contact me on ecomnoon.com
tarekyoussef
New Member
6 0 0

Thanks for your reply. I am not a coding expert. I had a few (2-3) code changes to hide buttons, but that was last week, and everything was working fine. Only today, I am seeing this text, and it is showing on desktop, not mobile.

EwaFromEcomNoon
Shopify Partner
18 1 1

Did you back up your theme before making changes? You can keep breaking one thing after the other if you approach it the wrong way. Do you know what code was changed exactly? You should fix your slider buttons, not hide them as per the other suggestion.

Need professional help? Contact me on ecomnoon.com
tarekyoussef
New Member
6 0 0

Yes, I know I can break things and I keep track of the changes I make. The last change was to change the add to cart button to black and everything was working after that. I would like to fix the slider buttons not hide them. Thanks for your help.

Natasha-Saed
Shopify Partner
421 46 77

This is an accepted solution.

Hi,

 

What are you seeing is the slider buttons, something is wrong with the code that is why they are displayed like this.

 

You can hide this at all by following these steps:

1) Go to online stores

2) Edit Code

3) Open your base.css file

4) Paste the following  Code at the bottom of your file

#shopify-section-template--21990297403696__main .slider-buttons {display: none !important;}

5) Save

 

Let me know if it worked by accepting this as a solution.   If not let me know if you like to give me collaborator access to check the issue for you.

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
tarekyoussef
New Member
6 0 0

Thanks for your reply. Yes, happy to give you collaborator access.

Natasha-Saed
Shopify Partner
421 46 77

Hi,

 

I need a code to be able to send the request can you send it me please.

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
tarekyoussef
New Member
6 0 0

5004. Thank you.

 

Natasha-Saed
Shopify Partner
421 46 77

Hi,

 

The problem is here :

NatashaSaed_0-1705250805080.png

When you choose stack there are no slider so this is why they appear , if you change it to carousel with thumbnails it works just fine.

 

If you want to keep them stacked you need to add the code I sent you, I guess you added something to theme that make them appear which is wrong on stack template

 

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
tarekyoussef
New Member
6 0 0

Thank you so much for your help. Appreciate it!