Skip to content

Config Schema ​

Full reference of all theme.json fields shipped by DmfGuppyTheme, grouped by area. Admin access: Content → Themes → Guppy Theme → Configure.

Layout & container ​

Container widths ​

FieldTypeDefaultDescription
guppy-container-width-defaulttext1400pxDefault container
guppy-container-width-fluidtext100%Fluid container
guppy-container-width-smtext1230pxSmall container

Container padding ​

BreakpointFieldDefault
XXLguppy-container-default-padding-x-xxl48px
XLguppy-container-default-padding-x-xl48px
LGguppy-container-default-padding-x-lg48px
MDguppy-container-default-padding-x-md48px
SMguppy-container-default-padding-x-sm24px
Mobileguppy-container-default-padding-x-mobile10px

CMS section padding ​

Adds extra padding controls to Shopping Experience sections, directly in the section settings modal:

FieldTypeDefaultDescription
guppy-cms-section-padding-xtext48pxHorizontal padding
guppy-cms-section-padding-ytext48pxDefault vertical padding
guppy-cms-section-padding-y-2xtext96pxExtra vertical padding (2x)

Section options in the editor:

OptionEffect
Horizontal paddingToggle
Padding top & bottomDefault Y padding
Extra Large (2x)Double Y padding
Padding topTop only (with No spacing option)
Padding bottomBottom only (with No spacing option)

Customise in a child theme:

scss
$guppy-cms-section-padding-x:    32px;
$guppy-cms-section-padding-y:    64px;
$guppy-cms-section-padding-y-2x: 128px;

Header variant ​

FieldTypeOptionsDefault
guppy-headerselectdefault, compact, extended, simpleextended
VariantDescription
defaultShopware default header
compactGuppy default, compact
extendedWith top bar
simpleMinimalist

Header options ​

FieldTypeDefaultEffect
guppy-header-max-heighttext22pxMax logo height
guppy-topbar-background-colorcolor#EEEEEETop bar background colour
guppy-header-skip-to-main-contentboolfalseSkip link to main content
guppy-header-skip-to-main-navboolfalseSkip link to navigation
guppy-header-skip-to-searchboolfalseSkip link to search
FieldTypeOptionsDefault
guppy-footerselectdefault, guppy-defaultguppy-default
FieldTypeDefaultEffect
guppy-footer-border-top-colortextdefault-borderTop border color
guppy-footer-show-payment-methodsboolfalseShow payment methods
guppy-footer-show-shipping-methodsboolfalseShow shipping methods

Custom fields for shipping / payment methods ​

DmfGuppyTheme registers the custom field set guppy_footer_options:

FieldTypeEffect
guppy_hide_in_footerboolIf active: don't render the method in the footer
guppy_alternative_labeltextOverrides the tooltip name on hover

As of 2.7.12 no longer theme configuration, but the custom field set guppy_social_media_links on the sales_channel entity, which makes the links per sales channel and per language. Every field is of type text and expects the full URL.

FieldPlatform
guppy_social_media_instagram_threadsInstagram Threads
guppy_social_media_instagramInstagram
guppy_social_media_linkedinLinkedIn
guppy_social_media_youtubeYouTube
guppy_social_media_xX (Twitter)
guppy_social_media_facebookFacebook
guppy_social_media_tiktokTikTok
guppy_social_media_xingXing

The former guppy-footer-social-media-* theme configurations are still in theme.json, but they are disabled and no longer read. For the move and its migration see Footer → Social media links.

Custom section images (1–4) ​

FieldType
guppy-footer-custom-section-image-1media
guppy-footer-custom-section-image-1-linktext
guppy-footer-custom-section-image-2media
guppy-footer-custom-section-image-2-linktext
(up to image 4)…

USP banner ​

As of Guppy 2.8.0 the USP banner no longer lives in the theme configuration but in the DmfUspBanner plugin. The guppy-usp-* settings are gone, and a migration clears their values from the theme configuration.

The banner is maintained in the administration under Content → USP banner, per sales channel and per language. The top bar background colour stays in the theme and is now called guppy-topbar-background-color.

Product cards ​

FieldTypeOptionsDefault
guppy-productcard-configselectdefault, guppy-defaultguppy-default
guppy-productcard-protective-framebool–true
guppy-productcard-image-object-fitselectcontain, covercontain

Product detail ​

Buybox ​

FieldTypeDefaultEffect
guppy-detail-buybox-stylingselectdefaultdefault, border, background
guppy-detail-headline-buyboxbooltrueProduct name in buybox
guppy-detail-buybox-contactboolfalseShow contact info
guppy-detail-buybox-contact-hotlineboolfalseShow hotline
guppy-detail-buybox-hide-quantity-buttonsboolfalseHide quantity buttons
guppy-detail-mobile-title-above-galleryboolfalseProduct title above gallery on mobile
FieldTypeDefaultEffect
guppy-detail-gallery-scrollboolfalseGallery scrolls with content
guppy-detail-display-properties-as-tabboolfalseProperties as a separate tab

Checkout & login ​

FieldTypeOptionsDefault
guppy-checkoutselectdefault, compactcompact
guppy-login-registerselectdefault, compactdefault

Badges ​

Basics ​

FieldTypeDefault
guppy-badges-show-outlineboolfalse

New badge ​

FieldTypeDefault
guppy-badges-new-background-colorcolor#22C087
guppy-badges-new-colorcolor#FFFFFF
guppy-badges-new-outline-colorcolor#FFFFFF

Top-seller badge ​

FieldTypeDefault
guppy-badges-top-seller-background-colorcolor#F89C00
guppy-badges-top-seller-colorcolor#FFFFFF
guppy-badges-top-seller-outline-colorcolor#FFFFFF

Discount badge ​

FieldTypeDefault
guppy-badges-discount-background-colorcolor#E10036
guppy-badges-discount-colorcolor#FFFFFF
guppy-badges-discount-outline-colorcolor#FFFFFF

Out-of-stock badge ​

FieldTypeDefault
guppy-badges-show-out-of-stockboolfalse
guppy-badges-out-of-stock-background-colorcolor#EEEEEE
guppy-badges-out-of-stock-colorcolor#303030
guppy-badges-out-of-stock-outline-colorcolor#303030

A product counts as out of stock when its "Closeout" option is enabled and its stock has dropped below the minimum purchase quantity.

When the out-of-stock badge is shown on a product card (because the product is out of stock), it replaces the other badges (new, top-seller, discount) on that card. Products that are not out of stock are unaffected.

Alerts ​

Colors ​

FieldTypeDefaultEffect
guppy-alert-color-successcolor#D3F2E7Success background
guppy-alert-color-success-textselectdarkSuccess text color
guppy-alert-color-infocolor#CEEDFEInfo background
guppy-alert-color-info-textselectdarkInfo text color
guppy-alert-color-warningcolor#FFEFD4Warning background
guppy-alert-color-warning-textselectdarkWarning text color
guppy-alert-color-dangercolor#FDE2E7Danger background
guppy-alert-color-danger-textselectdarkDanger text color

Options ​

FieldTypeDefaultEffect
guppy-alert-alert-outline-activeboolfalseOutline border on alerts

Color system ​

Brand ​

FieldTypeDefaultUse
sw-color-brand-primarycolor#215AFFPrimary
sw-color-brand-secondarycolor#0B1845Secondary

Greyscales ​

FieldDefault
sw-color-gray-100#F9F9F9
sw-color-gray-200#EEEEEE
sw-color-gray-300#BCC1C7
sw-color-gray-400#CED4DA
sw-color-gray-500#ADB5BD
sw-color-gray-600#798490
sw-color-gray-700#495057
sw-color-gray-800#4A545B
sw-color-gray-900#212529

Typography ​

Font sizes ​

FieldTypeDefault
sw-font-size-basetext1rem
sw-h1-font-sizetext32px
sw-h2-font-sizetext24px
sw-h3-font-sizetext20px
sw-h4-font-sizetext18px
sw-h5-font-sizetext16px
sw-h6-font-sizetext15px

Line heights ​

FieldDefault
sw-h1-line-height44px
sw-h2-line-height36px
sw-h3-line-height32px

Buttons & inputs ​

FieldTypeDefaultEffect
sw-input-btn-font-sizetext16pxButton font size
sw-input-btn-border-radiustext4pxButton corner radius
sw-input-btn-font-weightselectnormalButton font weight

Usage in code ​

In Twig ​

twig
{% if theme_config('guppy-header') == 'extended' %}
    {# Extended header logic #}
{% endif %}

In SCSS ​

Theme values are exposed as CSS custom properties:

scss
.custom-component {
    background-color: var(--sw-color-brand-primary);
    font-size: var(--sw-font-size-base);
}