Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Latest commit

 

History

History
10 lines (10 loc) · 372 Bytes

2022-03-15-add-custom-fields-to-landingpage.md

File metadata and controls

10 lines (10 loc) · 372 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Add custom fields to landing page on front-end 
issue: NEXT-17040
author: Melvin Achterhuis
author_email: [email protected]
author_github: @MelvinAchterhuis
---

Storefront

  • Added EntityCustomFieldsTrait to src/Storefront/Page/LandingPage/LandingPage.php.
  • Added setCustomFields to src/Storefront/Page/LandingPage/LandingPageLoader.php