Zid Docs
Merchant APIApp APIThemes
Merchant APIApp APIThemes
Help Center
Slack
  1. Themes
  • 🚨 Important Update: Zid Themes
  • Landing Page Development
  • Getting Started with Zid Themes
    • Introduction to Theme Development
    • Manage your Themes
    • Building Themes in Zid
    • Theme File Structure
    • Twig Syntax and Features
    • Zid Theme Packager
  • Templates
    • Layout
    • Home Page
    • Products
    • Cart
    • Store Language and Currency
  • Settings Schema
    • Text
    • Number
    • Text-Area
    • Select
    • Radio Buttons
    • Checkbox
    • Range
    • Color
    • Image
    • Product
    • Category
    • List
    • Fieldset
  • Code Snippets
    • Apple Pay Quick Checkout
    • Custom CSS Injection
    • Displaying the Store's Business Center Logo
    • Customizing Copyright Text
    • Store's Main Navigation Menu
    • Customer Wishlist
    • Products
      • Products Badges
      • Product Ratings
      • Remaining Product Stock
      • Sold Items Count
      • Product Filtration by Attributes
      • Grouped Products
      • Product Questions & Answers
      • Product Restock Notfication
    • SEO
      • Images alt text
      • Themes SEO Marketing Tags
    • Marketing
      • Metafields
      • Gift Feature
      • Loyalty Program
  • Zid Themes Library: API Integration
    • Products
    • Product Categories
    • Cart
    • Blog
    • Customer
    • Store Settings
  • Data Reference
    • Locals
    • Store
    • Cart
    • Product
    • Products List
    • Category
    • Categories List
    • Session
    • FAQs
    • Customer
    • Blogs
    • Page
    • Main Menu
    • Main Navigation Menu
    • Request
    • Orders
    • Addresses
    • Store Payment Methods
    • Store Shipping Methods
    • Store Banks
    • Asset URL
    • Header Meta Tags
    • Loyalty pogram Wallet
  • Themes CLI
    • CLI Authentication
    • Theme Create
    • Theme Package
    • Theme Update
    • Themes List
    • Theme Preview
  1. Themes

Data Reference

Locals
From keys and values added in locals/ar.json and locals/en.json, you can access locals with a key to print the value. locals/ar.json { "ho...
Store
"store": { "id": 1011, "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", "name": "Mystore...
Cart
"cart": { "id": 57784, "session_id": "XXXXXXXXXXXXXXXXXXXXXX", "phase": "address&qu...
Product
"product": { "id": "99631cc2-3a25-43e9-bc28-55a555c4f8c0", "sku": "Z.1.16006938458861678", ...
Products List
List of available filters and sorting for products list. Filters This is the available filters for product list: search (filter products search in p...
Category
"category": { "id": 453, "name": "الورد البلدى", "slug": "الورد-البلدى", &...
Categories List
{ "categories": [ { "id": xxxx, "name": "رجال", "slug": "mens", ...
Session
You can change app language and shipping country, by making a POST Call to '/customer/lang-shipping-country'`using below Params: redirect_to ...
FAQs
"faqs":[{ "id": 3, "question": "هل ممكن أجرب كل أنواع العسل؟", "answer": "<div cla...
Customer
Use auth/login?redirect_to= to redirect to the customer's page when login is successful. { "id": 6, "name": "تجربة ب...
Blogs
The data on this page is a reference for those who want to create Blog/s. Example 1: "blogs":[{ "id": 111XXX, "title&quo...
Page
"page":{ "title": "test", "content": "<p>test pagetest pagetest pagetest page. test pagetest pa...
Main Menu
Deprecated use the main_menu_navigation that will support menus of types: categories, products, blogs and custom urls "main_menu":{ &q...
Main Navigation Menu
"main_navigation_menu":{ "items": [ //max 40 items { "id": XXXXX, "name": "name", ...
Request
"request":{ "path":"/products" "query":"page=1&page_size=24" }
Orders
"orders": [ { "id": 4005734, "code": "XXXXXXX", "store_id": 3, "order_url&quo...
Addresses
"addresses": [ { "id": 3164XX, "name": "محمد", "address_street": "test", ...
Store Payment Methods
"store_payment_methods": [ { "id": 14028, "enabled": 1, "code": "zid_bank_transfer&...
Store Shipping Methods
"store_shipping_methods": [ { "id": 72710, "name": "زدشب سريع", "service_enabled&qu...
Store Banks
"store_banks": [ { "id": 1, "account_number": "1234526789290287262", "iban": &...
Asset URL
All the asset files uploaded in the asset folder can be accessed through the asset_url variable. For more information, Check Theme File Structure. E...
Header Meta Tags
use header_meta_tags to render meta data for: Title description keywords icon google data structure twitter card facebook open graph <head> ...
Loyalty pogram Wallet
{ "wallet": { "points_balance": 5485, "pending_points_balance": 20340, "available_poitns": 5485,...
Previous
Store Settings
Next
Locals
Built with