-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render section with blocks use Section Rendering API. #1496
Comments
Hi, when using the section rendering API are you sure that you are using the section ID (retrieved using section.id) and NOT a fixed name? We are using section rendering with blocks and it definitely works as long as you make sure to use the id :) |
@bakura10 Can you please show an example of how are you calling the main product info from the product page? The code i'm using
but as @notrealdev pointed out above, it is not loading the blocks as we are statically calling the section. So the issue is how can we get the section ID dynamically? |
This won't work. You can retrieve the section ID in Liquid: |
Thank you, @bakura10, but the issue is that I need to get the |
This won't be possible in Shopify @alvinkonda . The only solution to goes around that is to render the full product page (so without any section) and extract from the page the party ou are interested it. There is no other way ;) |
Hi
I use the Section Rendering API to render the content of a section but the problem is that it cannot render the blocks that the section owns.
Example:
Normally, it will display the following content.
But when using Section Rendering API, the content is only:
Section Rendering API does not support rendering blocks?
Or did I miss a document or tutorial?
Can someone explain it to me, thanks!
The text was updated successfully, but these errors were encountered: