Important

You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Available in OroCommerce

Content Block Management Concept Guide

Content blocks are fractions of your web page or a piece of content that you create to be displayed on your website. When creating a landing page, you can enrich it with a variety of information, adding different types of content as individual content blocks (e.g., text, buttons, widgets, videos, images, or links). Each content block is an independent component that you can insert into one or several pages.

In Oro applications, content blocks are usually used when you need to reuse the same content fragment on multiple pages of your website, for instance, a company address.

With a powerful WYSIWYG editor, integrated into all content blocks, you can apply different formatting and styles to customize and personalize your content.

A sample of the content block page

You can also specify the visibility restrictions for each content block or content variant by setting the target localization, website, customer, or customer group. This way, the content block will be displayed in the storefront only if the configuration is met.

For instance, one content block, named Company Address, can have the following multiple variants:

  1. Your US company address that is restricted to the US website.

  2. Your affiliate address in Germany, translated to German and restricted to the German website.

  3. A request to register an account for all guest customers who visit your store, regardless of their localization.

A sample of the content block page

Depending on the restrictions that you configure for each content block variant, the related content is shown.

One of the benefits of using content blocks is the easy way to allocate them within the landing page once they are created. You just drag and drop the block into the required place, moving it with the cursor, if needed. If you are not satisfied with it, delete it and take a new one.

A sample of the Terms and Conditions landing page

Hint

Check out the Manage Content Blocks in the Back-Office guide for more details on how to create content blocks, add variants, and translate them to the required language.