Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi all,
Hoping someone knows how to resolve this issue.
I'm working within Dawn and I'm using AI to generate sections within the body of my website which works just fine. However, when I try and generate a block for the 'product information' area, it seems to get stuck and just keeps making sections - infact there is no generate option for blocks... I'm not sure if there's a work around for this but it would be great to be able to generate blocks to sit under the product price and such areas.
Hope that makes sense! Please let me know if you need more info.
Thank you,
Tom
@thomasb1998 don't spam duplicate posts, avoid crying "HELP" it's not smart or clever in trying to game the system.
Everyone needs help it's rude to scream it and only makes people AVOID helping you.
READ: https://community.shopify.com/c/blog/how-to-get-support-from-the-community/ba-p/2254458
https://community.shopify.com/c/announcements/community-guidelines/m-p/2811328
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Thanks for the advice Paul. I was simply trying to reword my previous post as I feared I wasn't overly clear with what I was asking, this is my second try so I wouldn't exactly class that as spam. I wasn't trying to be 'smart', 'clever' or 'game the system' as you condescendingly claim.
The intention wasn't to 'scream' either, as I'm sure your intention isn't to screm 'READ' in your response, as that would only make people not want to read...
Thanks,
Tom
AI indeed generates blocks, but not every section would accept them.
That's why it would rather create an empty section and put a block in it.
One would need to modify the section code for it to accept generated blocks so that the schema has this:
"blocks": [
{
"type": "@theme"
},
...
And then liquid code must have https://shopify.dev/docs/api/liquid/tags/content_for
{% content_for 'blocks' %}
to be able to accept blocks generated by AI.
Hi @thomasb1998
I've created a post to guide how to create an AI-generated block in any theme. Please check it out here https://bify.app/blog/how-to-create-ai-generated-theme-blocks-with-shopify-magic
Hi @thomasb1998 please share the updated code of main-product.liquid in a text file
Hello @thomasb1998
Okay dear, I can help you. Can you please send me the store access so that I can check and give you a proper update?