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

HELP - Using AI to generate blocks in product information

HELP - Using AI to generate blocks in product information

thomasb1998
Tourist
20 0 5

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

 

Screenshot 2025-07-02 at 12.36.12.png

Replies 6 (6)

PaulNewton
Shopify Partner
8031 687 1647

@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


thomasb1998
Tourist
20 0 5

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

tim
Shopify Partner
4812 598 1733

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.

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

BiDeal-Discount
Shopify Partner
819 109 182

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

 

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp

Ahsan_ANC
Shopify Partner
1420 255 329

Hi @thomasb1998 please share the updated code of main-product.liquid in a text file

Contact for any custom design? Skype : ahsananc
>Was your question answered? Mark it as an Accepted Solution!
Feel Free to Contact Me at my Email: anc2277@gmail.com


To enhance and customize Shopify search and filter, I use Boost Product Filter & Search

devcoders
Shopify Partner
1654 190 520

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?

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!