How to add own section?

Hello!

I'm trying to create my own section for a storefront. I installed the code locally and added the section vue file and also added the section json file to the config/content directory. And also I added a item in page.json.

However, the sections model does not update, my section does not appear.

Comments

  • Hello @Denis Ostrovsky, This can be achieved with the following steps:

    1. Section JSON should be posted in the admin's dashboard console POST /:content
    2. Add a new section in item_types array for section collection. It is possible to find this collection via admin console via GET /:content/theme.origin.page.
Sign In or Register to comment.