Random code text showing next to subtotal in checkout

Highlighted
Excursionist
18 0 0

I am a complete rookie when it comes to coding. So can someone please help me out? It is probbably a easy fix. 

Everytime when you add something to your cart and go at the page which shows your cart, there will be random text next to 'Subtotal'. It will say something like this: " class="ufe-cart-total-price">. This will scare customers away. If someone knows how to fix this pls tell me how. Thanks

0 Likes
Highlighted
Explorer
78 2 7

Hi @klaasvk ,

 

could you please share your url? That is the only way we can help.

 

Best whishes

Ilja

0 Likes
Highlighted
Excursionist
18 0 0

Ok soo, I kinda fixed it. I removed the text and the number thing in the cart theme code file and its gone now. There is a bit of a gap between subtotal and the price at the cart page now but I don't know if that already was there.

0 Likes
Highlighted
Explorer
78 2 7

You can fix borders and padding in the file theme.scss.liquid.

1 Like
Excursionist
18 0 0

Oh, how stupid. I had forgotten about that. Here is my URL anyways: https://newtechfeedshop.myshopify.com/ 

I have fixed the issue but now there is a weird gap between subtotal and the price on the cart page if you have something in your cart. 

 

0 Likes
Highlighted
Explorer
78 2 7

Could you share a screenshot? I cannot see what you mean.

1 Like
Highlighted
Excursionist
18 0 0

123.PNG

That is how it looks on mobile now. 'Subtotal' is not correct aligned.

0 Likes
Highlighted
Explorer
78 2 7

1. Go to theme.scss.liquid

2. Search within the file for "cart__subtotal"

3. Set "padding-left: 27.5px;" as a comment beginngin with /* and ending with */ so it looks like this:  /*padding-left: 27.5px;*/

4. Save

0 Likes
Highlighted
Excursionist
18 0 0

Ehm my theme.scss.liquid looks like this Capture.PNG

0 Likes
Highlighted
Explorer
78 2 7

Comment "padding-left: $gutter-size / 2;" out with "/* ... */.

 

So it looks like this:

 

/*  padding-left: $gutter-size / 2; */

0 Likes