How to fix unknown element in my website's cart page?

Hello,

PFA the screenshot. There is an unknown line in the cart page. I’m unsure of where the error is. Can somebody please help me fix this issue?
Website : blingfactory.com.au
Theme: Dawn

Thank you so much!

Hi @saachi ,

There seems to be an issue with the template that generates cart page. As i have do not have access to your template files, i cannot debug the actual issue. However, i have come up with a JS workaround that can hide Unknown Element.

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code just above tag

{% if template contains 'cart' %}
      
    {% endif %}

Result:

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

Best Regards,
Makka

Hello @theycallmemakka ,

Thanks for your reply!
I applied the code and it shows as $undefined instead now. Is there a way to fix that up?

Can you replace the original code with this one?


Still shows up the same @theycallmemakka :disappointed_face:

can you keep the code live once. I will review it on my end and let you know what i can do.

It is live now @theycallmemakka :slightly_smiling_face:

looking into it

You can remove the code now. I will try to write some JS

Thank you @theycallmemakka :slightly_smiling_face: