Zid System: Landing Page Development Guide for DevelopersDeveloping a custom landing page in the Zid system is similar to theme development, enabling developers to design and upload tailored landing pages for products. Below is a comprehensive guide to help you get started:
1️⃣ Download the Starter Repository Get the sample project from Custom Landing Page Sample Repository. Use this as your starting point.2️⃣ Follow the Sample Folder Structure Ensure your project adheres to the following structure:
assets: Include all template assets (e.g., JavaScript, CSS, images, icons).
locals:
ar: Arabic localization.
en: English localization.
modules: Each module represents a section or component on the page (e.g., slider, banner, product info, product features).
templates:
landing_page.twig (required): The main template file.
3️⃣ Data Injection Zid will inject the following data into your template, which you can style to fit your design:
Using the schema settings, you can define input fields that merchants can customize through the dashboard. Zid will save these inputs and display the merchant’s changes for each module based on the settings you configure.
The landing_page.twig file is mandatory for your template.
Ensure all fields and modules are properly localized for both Arabic and English users.
Use the schema settings effectively to enhance customization options for merchants.
With these steps, you’ll be able to create compelling, customized landing pages that merchants can use to drive conversions and enhance their marketing efforts.