Define where, when and whom to display the CMS blocks and pages with the Magento 2 Dynamic Blocks and Pages. Use your marketing campaigns with automation.
git clone https://github.com/magefan/magento-2-dynamic-blocks-and-pages.gitThe Magento 2 Dynamic Blocks and Pages skill allows users to define the conditions under which CMS blocks and pages are displayed. This automation skill is particularly useful for marketers looking to enhance their campaigns by targeting specific audiences at the right time and place. By utilizing this skill, users can streamline their marketing efforts, ensuring that relevant content reaches the intended audience without manual intervention. One of the key benefits of this skill is the potential for significant time savings. Although the exact time savings are not quantified, automating the display of CMS content reduces the need for manual updates and adjustments, allowing marketers to focus on strategy rather than execution. With an implementation time of just 30 minutes, users can quickly integrate this skill into their existing workflows, making it a practical choice for busy professionals. This skill is ideal for marketing professionals, product managers, and AI practitioners who are involved in campaign management and content strategy. By automating the display of CMS blocks and pages, teams can ensure that their marketing materials are always relevant and timely, which is crucial in today’s fast-paced digital landscape. For instance, a retailer could use this skill to display promotional banners only to users who have shown interest in specific products, thereby increasing conversion rates. With an intermediate level of complexity, this skill requires some familiarity with Magento 2 but is accessible for those with basic technical knowledge. It fits seamlessly into AI-first workflows by leveraging automation to enhance user engagement and improve marketing outcomes. By adopting the Magento 2 Dynamic Blocks and Pages skill, businesses can not only improve their marketing efficiency but also create a more personalized experience for their customers.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/magefan/magento-2-dynamic-blocks-and-pagesCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a dynamic block for [COMPANY] in the [INDUSTRY] industry. The block should display a promotional message for [PRODUCT] to users who have viewed [PRODUCT] but not yet purchased. The block should appear on the homepage and product pages. Use [DATA] to personalize the message based on the user's browsing history. Set the display period from [START_DATE] to [END_DATE].
# Dynamic Block Configuration ## Block Details - **Block Title**: Summer Sale Reminder - **Block Identifier**: summer-sale-reminder - **Store View**: Default Store View - **Status**: Enabled - **Content Type**: Block ## Display Settings - **Display on**: Homepage, Product Pages - **Customer Groups**: ALL GROUPS - **Start Date**: 2023-06-01 - **End Date**: 2023-06-30 ## Conditions - **If ALL of these conditions are TRUE**: - **Product**: [PRODUCT] is in cart - **Product**: [PRODUCT] is viewed - **Product**: [PRODUCT] is not purchased ## Content ```html <div class="dynamic-block"> <h2>Don't Miss Out on Our Summer Sale!</h2> <p>You've shown interest in [PRODUCT]. Complete your purchase now and enjoy [DISCOUNT]% off!</p> <a href="[PRODUCT_LINK]" class="btn">Shop Now</a> </div> ```
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan