Issue I had for a couple of days - missing sections inTheme Editor

Issue I had for a couple of days - missing sections inTheme Editor

Opsia
Visitor
2 0 0

Hello to the shopify community! 

I'm having some issues with a backend code I've worked on. Although the code appears correctly in the theme editor (when added as a section), it does not display on the live page. The rest of my theme settings and sections are functioning as expected, and I’ve verified both the code and schema multiple times. I’ve also cleared the cache, disabled browser extensions, and tried accessing the page with different browsers, but the problem persists.

 

For context, in the theme editor, I'm only able to see the header, all of my sections except the one I've last coded. The storefront itself seems to be working fine otherwise.

Any help would be appreciated! 
Thanks

 

Opsia

Replies 3 (3)

shahrozbabar5
Trailblazer
202 20 25

Hi @Opsia,
try these 

1. Verify Section Placement

Ensure that the section is correctly placed in the template file. For example, if you are adding the section to the homepage, ensure it is referenced in the index.liquid file.


2. Check Visibility Conditions

Ensure there are no conditions in your code that might prevent the section from being displayed. For example, check if the section has any {% if %} conditions that are not being met.

 

3. Debugging Logs

Add some debugging logs or text in the section to check if any part of it is rendering. This can help pinpoint where the issue might be.

 

 

4. Schema and Settings

Ensure that the schema and settings are correctly defined in the section file. A small mistake in the JSON structure can cause issues.

5. Liquid Errors

Check for any Liquid errors in your section code. Liquid errors can sometimes prevent the section from rendering. You can check the console for any error messages.

6. Theme Update

If your theme has been recently updated, there might be compatibility issues. Revert to a previous version of your theme or check the theme documentation for any recent changes that might affect custom sections.

 

if none of the above works, DM

Need a Shopify Expert and Specialist? Let's chat on WhatsApp and bring your vision to life!


Custom Shopify Store Design | Premium Themes | Variant Apps Expert


Your Coffee Tip and my code, a seamless synergy. ❤️

Mehran_Ali
Shopify Partner
89 11 11

Hi @Opsia 

Can you attach the link and video or reference image 
or you can share the link 

If this solution helps you, kindly like this reply and mark it as a solution.

If you need an expert Shopify developer for customization and development, feel free to contact me via email or WhatsApp.

Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

Opsia
Visitor
2 0 0

Hello! See below

Opsia_0-1722783575687.png

Here a link for the video of my editor: https://we.tl/t-PXmk7ZDk7f
I can't do a video capture of the code as of now though