All things Shopify and commerce
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
Hi @Opsia,
try these
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.
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.
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.
Ensure that the schema and settings are correctly defined in the section file. A small mistake in the JSON structure can cause issues.
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.
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. ☕❤️
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
Hello! See below
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
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024