Jump to content

How to add new content blocks to the page template?


Recommended Posts

Hi everyone, I'm new to PrestaShop and starting out by creating a child theme from the base theme and making some minor changes.

I'm trying to see if it's possible to add additional editable content blocks on a page.  I can see the following code in the page.tpl file:   

    {block name='page_content_container'}
      <section id="content" class="page-content card card-block">
        {block name='page_content_top'}{/block}
        {block name='page_content'}
          <!-- Page content -->
        {/block}
      </section>
    {/block}

How does Prestashop know this is where the page content will go and is it possible to add another block so that there are two editable sections on the page?

Thanks in advance for any assistance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...