logoSellhub
background
Sellhub Docs
Sellhub Docs
Layout (Global)

This documentation covers the custom code feature for seller store upgrades on our robust e-commerce platform dashboard.

Sellhub uses Liquid for templating and provides various variables for customization across different pages. Liquid is a safe, customer-facing template language for flexible web apps.

We also use tailwindcss for styling, which is a utility-first CSS framework that allows you to build custom designs quickly. However, if you need to add custom CSS, you can do so using the <style> tag in any file.

Layout (Global)

These variables are available across all pages:

  • {{ name }}: Store name
  • {{ image }}: Store logo
  • {{ cartItems.items.length }}: Number of items in the cart
  • {{ cartItems.bundles.length }}: Number of bundles in the cart
  • {{ social.name }}: Social media links (available options: "discord", "telegram", "tiktok", "youtube")

On this page