Zid Docs
Merchant APIApp APIThemes
Merchant APIApp APIThemes
Help Center
Slack
  1. Code Snippets
  • 🚨 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
    • Store Social Media
    • 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. Code Snippets

Store Social Media

Allow merchants to showcase their store’s social media profiles such as Facebook, Instagram, Twitter, Snapchat, TikTok, website, email, and phone number directly on the storefront. This enhances brand visibility and encourages customers to connect through preferred channels.

Activation Steps for Merchants#

There are no activation steps required. Merchants simply need to add their social media accounts from their Store Settings Page.
Once added, the data is available inside the store.social_media.items object.
The added accounts will appear as shown below:
image.png

Code Snippet Integration for Theme Partners#

To properly render social media icons in your theme, use the Twig conditions shown below. Add this block to any part of the theme (e.g., footer, header, or sidebar) where social media icons should be shown.

1. Social Media URL Construction Rule#

Partners must follow this rule when constructing URLs for social accounts:
PlatformURL Format
TikTokhttps://www.tiktok.com/@{{ store.social_media.items.tiktok }}
Other Socialhttps://www.facebook.com/{{ store.social_media.items.facebook }} (same for Instagram, Twitter, Snapchat, etc.)
⚠️ Only TikTok requires an @ in the URL.
Do not use @ for Facebook, Instagram, Twitter, or Snapchat.

2. Code Snippet (Full Twig Example)#

Result#

Only the platforms added by the merchant will appear. Each icon links to the corresponding profile or contact method and can be styled freely using CSS.
Example icon behavior:
Facebook → facebook.com/zidappcom
TikTok → tiktok.com/@njmzjt

Optional: Styling the Icons#

Example CSS to improve layout or alignment:

Modified at 2025-05-15 20:41:34
Previous
Customer Wishlist
Next
Products Badges
Built with