Documentation Home

Return to Broadleaf Commerce

Pages and Static Assets Demo Guide

Concepts

Broadleaf Commerce provides a way to manage static assets (pages, PDFs, videos, product images) for your eCommerce site.

Assets

In this exercise we will use an image to upload, but Broadleaf allows for multiple formats.

Uploading an Image

  • Login to the Broadleaf Commerce Demo Administrator
  • Select Content Management > Assets
    • Press the funnel button to populate the fields.
  • Click Add
  • Choose a file and fill out the name and the url it will have.
  • The asset will now be added to the website with the path that was specified.

Pages

Creating a Page

  • Login to the Broadleaf Commerce Demo Administrator
  • Select Content Management > Page
    • Press the funnel button to populate the fields.
  • Click Add
  • Fill in the information for the page
    • Full URL: /test
    • Template: /basic (basic template)
    • Description: Test page
  • The page will now be added to the website with the path that was specified (broadleafdemo/test) after it is approved.

Adding an image

  • Select Content Management > Page
    • Press the funnel button to populate the fields.
  • On the right pane, you will have the Content area.
    • Type in a message.
    • Click the 'Asset Search' button.
    • Select the image previously uploaded in the Assets section.

  • The page should look like the image below.
    • Click Save.

Preview the page

  • Click "My Sandbox" from the top menu options.
  • There will be an entry that contains the content changes (anytime you make changes refer to your sandbox to preview the changes live). 
  • Click preview and a new tab will open up.
    • This window will contain a copy of the demo site that will allow for verification of the changes implemented.

Go Live

  • From the top half section of the sandbox page, Click Promote. This will send the change to the bottom half of the sandbox page, the "Pending Approval" Section.
  • Once ready, an authorized user will go to "Approver Sandbox".
    • When the content has been approved, it can be promoted and the changes will go live.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.