Say hello to WriteText.ai 3.5. Full automation, templates, and smarter product research. Discover what's new.
Say hello to WriteText.ai 3.5. Full automation, templates, and smarter product research. Discover what's new.
If you already use a page builder to design your product or category pages, you’ve likely invested time perfecting and testing your layout—where the product images go, how the features are displayed, how FAQs are presented, etc. With WriteText.ai, you can keep that layout exactly as it is while automatically populating each section with fresh, AI-generated, SEO-optimized content.
This guide explains how to connect WriteText.ai generated content to your page builder, style them, and ensure they display correctly on your WooCommerce or Shopify store. We also cover how to use the same approach if you’re integrating via the WriteText.ai API.
WriteText.ai does not support the Magento page builders due to its limitations. Customization of Magento is possible using CSS classes, please read more about that on Templates CSS styling.
.wtai-*
classes to apply consistent design.
Flexible mapping — connect sections to custom fields/keys or API endpoints.
e.g., .wtai-features-section
(used for styling but can also be used for both positioning and styling if you are not using a page builder)
e.g., wtai_product_description_features
(used for mapping content with page builder sections)
In WooCommerce and Shopify:
In WooCommerce with Elementor, each block in your product page layout can be connected to a WriteText.ai section by using the Custom Key.
Include the sections you want to display (e.g., Introduction, Features, FAQs). Make sure the template is linked to your WooCommerce store.
Navigate to the single product page layout.
Use the Text Editor widget, switch its content to Dynamic Tags to pull in the content.
In the widget settings, enter the Block ID for the desired section (e.g., wtai_product_description_features
).
Apply your theme’s styles or add custom CSS targeting the section’s CSS class.
Map each WriteText.ai section to the correct location in your layout.
If your layout already has sections, replace the current field value with the WriteText.ai Block ID. The next time you generate or update content in WriteText.ai, the mapped section will be updated automatically.
Before generating large amounts of category or product text, review one or two products or categories to ensure all text sections are properly aligned. You may need to adjust the page builder layout or modify the text length in the template if a section is too long or too short. While reviewing, test the page on various devices, such as a laptop, tablet, and mobile phone, to confirm everything displays correctly.
In Shopify’s editor, you can add Custom Liquid blocks to product templates to output WriteText.ai content.
Make sure your desired sections are included in the template and that the template is linked to your Shopify store.
Navigate to the relevant product template under Online Store → Themes → Customize.
Position it where you want the section to appear.
Use Liquid syntax to output the meta field:
The section will have its corresponding CSS class, allowing you to style it consistently. Depending on the complexity of your styling you may need a frontend developer to complete this step.
Add more Custom Liquid blocks for each section you want to display.
If your layout already has sections, replace the current field value with the WriteText.ai Block ID. The next time you generate or update content in WriteText.ai, the mapped section will be updated automatically.
Before generating large amounts of category or product text, review one or two products or categories to ensure all text sections are properly aligned. You may need to adjust the page builder layout or modify the text length in the template if a section is too long or too short. While reviewing, test the page on various devices, such as a laptop, tablet, and mobile phone, to confirm everything displays correctly.
WriteText.ai has a complete API enabling integrations with ecommerce systems not supported by WriteText.ai store, ERP system, PIM system, inventory system etc. or systems with special requirements not supported by page builders.
To learn more about the WriteText.ai API please go to the API section.
Tested with Elementor: mapping is done by adding a dynamic text block and setting its Custom Field / Meta Key to the WTAI Block ID. Works similarly in Divi, Oxygen, and other builders that support custom fields.
In Online Store 2.0, you can display WTAI content by adding a Custom Liquid block in the theme editor and pulling the data from the metafield that matches the WriteText.ai Block ID.
The API returns HTML output with section classes, which you can place anywhere in your template or saved to other systems.
Styling is handled via CSS; Block IDs are not used in API integrations.
If you remove a section in your WriteText.ai Template, the mapped block remains in your builder. Use your builder’s “Hide when empty” / conditional visibility so empty blocks don’t leave gaps in your layout. Different page builders use varying names for these features.
Each column behaves independently. An empty block in Column B won’t be auto-filled by content from Column A. Use conditional display or remove the block from that column.
We have tested this integration in Elementor for WooCommerce and in Shopify’s Custom Liquid blocks.