How can I fix a Liquid code error in my main product section?

Can someone help me fix this please

Liquid error (sections/main-product.liquid line 382): Could not find asset snippets/subscription-subscriber.liquid

Hello @GC21 ,

It’s GemPages support team and glad to support you today.

I would like to give you the recommendation to support you so kindly follow the steps below:

  1. Go to Online Store > Theme > Edit code of your current theme

  1. Open your main-product.liquid theme file

  2. Find subscription-subscriber.liquid inside main-product.liquid and remove it (it offer display such as {% include ‘subscription-subscriber.liquid’ %} or {% render ‘subscription-subscriber.liquid’ %}. Let’s remove all it)

If you require any further information, feel free to contact me.

Best regards,
GemPages Support Team

1 Like

Hi @GC21 !

I hope you are doing good and welcome to the Shopify Community!

This is MS Web Designer (Top Rated Shopify Certified Experts and eCommerce Consultant from India & Singapore).

The “subscription-subscriber.liquid” file is missing from your “snippets” folder, if you have a backup theme you can copy the “snippets” file and add to your theme which you have used.

I hope this helped!