Shophub DocsContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
    • Introduction
      • AnnouncementBanner
      • ButtonBlock
      • CustomBlock
      • FunnelBlock
      • GridWrapper
      • ImageBlock
      • ProductPreviewBlock
      • SmallFunnelWrapper
      • StatementRowBanner
      • TextBlock
      • UpsellBlock
      • VideoBlock
        • Alignment
        • Crossorigin
        • Fetch-Priority
        • FontTypeClassification
        • ItemTypename
        • OrderOption
        • PageType
        • Size
        • SortOption
        • TwAspectRatio
        • TwFontSize
        • TwFontWeight
        • Button Type
        • Referrer Policy
        • Timezones
      • Button
      • Display Link
      • Image
      • Background Image
      • Product
      • Text
        • NavTextContainer
      • Header
      • Footer
    • Relationships
    • Webpage Builder
    • Third party scripts
    • Cart
    • Product inventory tracking
    • Tax collections
    • Getting started
    • Constants
    • Shopify database sync
    • Database banner seeding
    • Connecting with Shopify
    • Bundled products
    • Shopify webhooks
    • Git hooks
    • Add a new banner
    • Make a banner nestable

On This Page

  • Code
  • Arguments
Question? Give us feedback → (opens in a new tab)Edit this page
CMS
Objects
Button

Button

A button element is a simple button, where the url and text that is shown on the button, can be configured.

Code

ButtonDto
{
   "text":"button text",
   "url":"www.shophub.com"
}

Arguments

text●
string
required

The text that is displayed on the button.

url●
string
required

The url the button links to. This can be an internal or external url.

TimezonesDisplay Link

© 2024 | Shophub | Berlin