How can I resolve a liquid error in my product section?

Solved

How can I resolve a liquid error in my product section?

kelvn
Visitor
2 0 0

right under my products name there is this code that says 

Liquid error (sections/featured-product line 169): Could not find asset snippets/opinew_review_stars_lists.liquid

can someone help me to get rid of it? It would help alot.

Accepted Solutions (2)

fadi_yousif
Shopify Partner
344 43 66

This is an accepted solution.

I'm guessing you installed the Opinew app and then uninstalled it. That's why you're getting the error. You need to remove the code that was added by the app.

Freelance Shopify Developer


Did I help? Leave a tip!

View solution in original post

Lee-Strong-SEO
Shopify Partner
127 19 26

This is an accepted solution.

  1. From your Shopify admin, go to the "Online Store" section and then into "Themes."

  2. Find your current theme and click on "..." then select "Edit code."

  3. Look for the featured-product.liquid file within the "Sections" folder. The error message is indicating that this is where the problem lies.

  4. Open the file and scroll down to line 169, where you're likely to find the erroneous code that references the 'opinew_review_stars_lists' snippet.

  5. Delete the entire line that includes {% include 'opinew_review_stars_lists' %}.

  6. After deleting the line, save your changes.

Once you've saved the changes, the liquid error should no longer appear under your product name. Remember to check your live store to ensure that everything is displaying correctly.

 

If you have any hesitations about modifying the theme code, consider reaching out to a Shopify Expert or the support team for assistance.

Strong SEO

This simple trick can boost your store to the top of Google - Try it Now

View solution in original post

Replies 3 (3)

fadi_yousif
Shopify Partner
344 43 66

This is an accepted solution.

I'm guessing you installed the Opinew app and then uninstalled it. That's why you're getting the error. You need to remove the code that was added by the app.

Freelance Shopify Developer


Did I help? Leave a tip!

Lee-Strong-SEO
Shopify Partner
127 19 26

This is an accepted solution.

  1. From your Shopify admin, go to the "Online Store" section and then into "Themes."

  2. Find your current theme and click on "..." then select "Edit code."

  3. Look for the featured-product.liquid file within the "Sections" folder. The error message is indicating that this is where the problem lies.

  4. Open the file and scroll down to line 169, where you're likely to find the erroneous code that references the 'opinew_review_stars_lists' snippet.

  5. Delete the entire line that includes {% include 'opinew_review_stars_lists' %}.

  6. After deleting the line, save your changes.

Once you've saved the changes, the liquid error should no longer appear under your product name. Remember to check your live store to ensure that everything is displaying correctly.

 

If you have any hesitations about modifying the theme code, consider reaching out to a Shopify Expert or the support team for assistance.

Strong SEO

This simple trick can boost your store to the top of Google - Try it Now
kelvn
Visitor
2 0 0

Thank you sir