Skip to main content

Configure a Page Designer Page

Learning Objectives

After completing this unit, you’ll be able to:
  • Explain the difference between the Page Structure and Components views.
  • List three important Page Designer configuration settings.
  • Note two ways you can control how you display or hide a component.

Explore the Visual Editor

Brandon is eager to scope out Page Designer’s Visual Editor, which is in Business Manager, the Salesforce B2C Commerce configuration and management tool.

In this module, we assume you are a B2C Commerce merchandiser with the proper permissions to perform these tasks. If you’re not a B2C Commerce merchandiser, that’s OK. Read along to learn how your merchandiser would take these steps in a staging instance. Don’t try to follow our steps in your Trailhead Playground because B2C Commerce isn’t available in the Trailhead Playground.

If you have a staging instance of B2C Commerce, you can try out these steps in your instance. If you don’t have a staging instance, ask your manager if there is one that you can use.

Brandon uses the page and component types that come with the Storefront Reference Architecture (SFRA) to create a page with two components: a banner and a carousel.

Create a Page

Here’s how he creates and configures his page.

  1. Open Business Manager.
  2. Select your site, or if you are reviewing what comes in the reference code, select RefArch.
  3. Click Merchant Tools > Content > Page DesignerIn Business Manager, the Page Designer main page. You see the Page Designer landing page with a list of the pages created.
  4. Click NewIn Page Designer, select a page type.
  5. Select a page type: Product Detail Page
    If your developer created customized page and component types, you see other page types.
  6. Click Next.
  7. Assign one or more categories to the page and click Next.
  8. Assign one or more products to the page and click Next.
  9. Select the page language: default (already selected).
  10. Enter a name: Cloud Kicks Homepage. Page Designer creates the ID as you type the name.
  11. Enter an optional description: Cloud Kicks Homepage
  12. Click Next.Make sure the page is configured the way that you want.
  13. Click Save & Create.

Configure General Settings

Now that Brandon created his page, he can configure the general settings.

  1. Click the Page Settings icon. Page Settings icon.
  2. The Page settings dialog opens.
    Page Designer, Page settings dialog.
  3. Click the Localization tab and select that the page is visible for this locale. The locale is default. You can use this setting to test new locales. We get into more details about locales soon.
    In Page Designer, select the local and visibility for that locale.
  4. Click the Targeting tab.
    In Page Designer, select the customer groups and schedule.
    • Assign a campaign or promotion and see the assigned qualifiers.Page Designer, assign a campaign or promotion on the Targeting tab.
    • Click Assign or Cancel.
    • Select a Customer Group: Big Spenders
    • Select the Display to and from dates. The times correspond to the shopper’s browser time, and not the storefront’s instance time.
  5. Click the SEO tab. This is how you can make sure external search engines find your awesome new pages. Configure pages for search engine optimization (SEO) by specifying the Page Address (URL), page title, page description, and up to 10 metadata keywords.
    In Page Designer, select the SEO settings.
  6. Click the Assignments tab to edit and view category and product assignments.
    View your category and product assignments.
  7. Click Save.

Add a Component

Brandon adds a component to his new page. As you follow along with him in Business Manager, some of the component types you see can be similar to those that your developer created. Brandon uses the SFRA sample component types for now.

Here are the steps he takes.

  1. Open Business Manager and Page Designer.
  2. Select the Home Page Cloud Kicks page.
  3. Click the Components Components icon. icon.
  4. Select the component Main Banner, and drag it into a region on the page.
  5. In the right pane, configure the attributes.
  6. Click the folder icon and add an Image.
    For the Main Banner component, add a graphic.
  7. Scroll down and add the overlay text.
    You can format the text using Heading1, Heading2, Heading3, Heading4, and Paragraph tags. When the browser displays the page in the storefront, it formats the text specified by the styles in the CSS files.
  8. Add a category.
    • Click the plus sign beside the Category Link field to select a category.
    • Drill down to find the category.
    • Click the plus sign beside the one you want. The check mark indicates success.
  9. Click Save. The new page displays in the center pane. This is what appears on the storefront.
    Page Designer’s dual panes, showing Brandon’s picture.

You can see how excited Brandon is to use this capability.

Notice the little circle on the graphic in the right pane. You can move the circle to change the focus.

What About Locales?

Cloud Kicks is expanding internationally, and that means reaching shoppers in their own language. B2C Commerce is designed for localization, and Page Designer uses this capability. Brandon starts by defining a fallback hierarchy in Business Manager. For example, he configures this hierarchy.

fr_CA (French Canadian) > fr (French) > default

It’s a best practice to create text in your base language, and name it default. Then, when you create a page, B2C Commerce adds a variant of the page to its database for each locale in the fallback hierarchy as configured in Business Manager. You can use these page variants to localize components for each locale.

Brandon creates his content in his base language, which is English, and leaves localization to the experts. When he creates a Page Designer page in the default locale, B2C Commerce also creates page variants for fr_CA and fr. He can localize content for each page variant at the component level, or show the content for a component according to the fallback hierarchy.

Until he receives the localized French Canadian text and images for a component on the French Canadian (fr_CA) page from his translator, B2C Commerce displays French (fr) content on that page. If he doesn’t have the French (fr) content, B2C Commerce automatically shows the default content.

Brandon finds it easy to check what's happening with his locales in Page Designer as he takes the next steps.

  1. Open Business Manager and Page Designer.
  2. Select the Home Page Cloud Kicks page.
  3. Select the fr-CA locale.
  4. Select the Page Structure component and the Product Detail Layout that you just created.
    In Page Designer, the Main Banner Component.
  5. Click in the right pane to access the text overlay.
  6. Move your mouse over each component on the page. 
    • A pink box encloses components with no localized content, and labels them Fallback, which means that the content displays according to the fallback hierarchy.
    • A blue box indicates localized components.
  7. Select the component that you want to localize.
    • In the right pane, change the text or images.
    • Click Save. A blue box encloses the localized component

Next Steps

In this unit you followed along with Brandon as he created a new Page Designer page with the first of two components. You also learned how to specify customer groups and a schedule for the component to control when and to whom it’s visible. Next, Brandon adds another component with a different set of attributes to his page. He also learns how to upload content assets from his local machine.
Comparta sus comentarios de Trailhead en la Ayuda de Salesforce.

Nos encantaría saber más sobre su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios en cualquier momento en el sitio de Ayuda de Salesforce.

Más información Continuar a Compartir comentarios